Virtual Drives created using "subst" command not available in Windows Explorer

by Xavier Dilip Kumar 11. March 2014 14:04

Workaround:

Execute the "subst" command with no administrator privileges.

subst Z: "C:\Folder 1"

Now you should see the virtual drive in the windows explorer

Tags:

General

Installing Visual Studio 2012 and then installing Visual Studio 2010 causes unreliable results for Office Integration add-ins

by Xavier Dilip Kumar 1. July 2013 11:10

Explanation

If you install Visual Studio 2012 and then install Visual Studio 2010, and then you open Office to use an Office Integration add-in, Office displays two Team ribbons. Both ribbons are unreliable and may cause worksheets to become corrupted.

Workaround

Disable the Visual Studio 2010 version of the add-in, as follows:

  1. On the menu bar in Office, choose File, Options.
  2. In the Options dialog box, select Add-Ins.
  3. In the Manage box, select COM Add-ins and then choose the Go button.
  4. In the list of add-ins, clear the check box for the Visual Studio 2010 version of the add-in and then choose the OK button. (To determine the version of an add-in, select it and then read its location at the bottom of the Options dialog box. The location for a Visual Studio 2010 add-in is "Microsoft Visual Studio 10.0".)

Tags:

General

How to find System Boot Time?

by Xavier Dilip Kumar 21. June 2013 09:35

Command: systeminfo.exe

Displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards.

Syntax
systeminfo[.exe] [/s Computer [/u Domain\User [/p Password]]] [/fo {TABLE|LIST|CSV}] [/nh]

Parameters
/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
/p Password : Specifies the password of the user account that is specified in the /u parameter.
/fo {TABLE|LIST|CSV} : Specifies the format to use for the output. Valid values are TABLE, LIST, and CSV. The default format for output is LIST.
/nh : Suppresses column headers in the output. Valid when the /fo parameter is set to TABLE or CSV.
/?: Displays help at the command prompt.

Sample output

systeminfo.exe

Host Name:                 XAVIER
OS Name:                   Microsoft Windows Server 2008 R2 Standard
OS Version:                6.1.7601 Service Pack 1 Build 7601
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:          Infrastructure Server
Registered Organization:   Halliburton
Product ID:                00477-001-0000421-84103
Original Install Date:     12/20/2012, 10:09:54 AM
System Boot Time:          6/20/2013, 10:02:31 PM
System Manufacturer:       VMware, Inc.
System Model:              VMware Virtual Platform
System Type:               x64-based PC
Processor(s):              4 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [02]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [03]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
                           [04]: Intel64 Family 6 Model 44 Stepping 2 GenuineIntel ~3465 Mhz
BIOS Version:              Technologies LTD 6.00, 4/15/2011
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-06:00) Central Time (US & Canada)
Total Physical Memory:     16,384 MB
Available Physical Memory: 14,725 MB
Virtual Memory: Max Size:  22,526 MB
Virtual Memory: Available: 20,750 MB
Virtual Memory: In Use:    1,776 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    Xavier.com
Logon Server:              \\Xavier
Hotfix(s):                 2 Hotfix(s) Installed.
                           [01]: KB981391
                           [02]: KB981392
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) PRO/1000 MT Network Connection
                                 Connection Name: Public
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 00.00.000.000

Tags:

General

Error Message: you cannot perform this operation on workspace. domain/id are not the owner of the workspace

by Xavier Dilip Kumar 23. June 2012 13:05

Explanation

VS cache the login credentials for workspace. When we try login with current credentials still it take old credentials from cache

Solution

clear the cache and reload it. Follow below steps to do that:
Step 1: Open VS command prompt.
Step 2: Run below command to clear the local cache.

tf workspaces /remove:*

Step 3: Run below command to set the Owner for respective TFS server

tf workspaces /s:TFS_ServerName

For Windows XP, delete all the contents under:
 C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\Team Foundation\
For Windows 7, delete all content under:
 C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\

Tags: , ,

General | TFS

About the author

My name is Xavier Dilip Kumar Jayaraj and I am a Software Configuration Management Engineer with a background in application development, Build & packaging using Install Shield.

Profile in LinkedIn

  

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

Month List