The ssh service is installed on the host. When we manage it, we can use ssh connection through secureCRT. Due to the requirements of the application, we require ssh to connect to the server and must be in C:\\Documents and Settings\\Administrator>, and when we run on the server --cmd enters the default path is C:\\Documents and Settings\\Administrator> .
But I don't know why. Some machines don't have such standards. For example, my machine path is C:\\Documents and Settings\\anywolfs.com>, which makes me very depressed. I have to modify it to a standard path. Today I found a very simple method, but it is manual. :
Found: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\S-1-5-21-1790271045-1411784089-857767003-500\\
Under:ProfileImagePath, Modify the key value to restart the server for %SystemDrive%\\Documents and Settings\\Administrator
.
Of course there is a long list of SIDs such as: S-1-5-21-1790271045-1411784089-857767003-500, this id is different for each machine, and at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT There are many such IDs under \\CurrentVersion\\ProfileList\\. How do we distinguish which ones we need to modify?
First of all: start--run--cmd, this time open the command line window, the default root directory inside (such as my C:\\Documents and Settings\\anywolfs.com>) actually \\Documents And Settings\\anywolfs.com is a key-value part in the registry. We can find the key value of the primary key ProfileImagePath of type REG_EXPAND_SZ under all the ids of HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\. Br>
%SystemDrive%\\Documents and Settings\\anywolfs.com
Modify this as %SystemDrive%\\Documents and Settings\\Administrator, get it
The server is one of the more important devices in the LAN. If it accidentally fails, many access ac
In 2006, the most popular Chinese domain name on the Internet except the World Cup
Open the parent path is the beginning of this concept in Windows 2003, the previous windows xp, wind
Remote connection to Linux cloud server - command line mode 1. Remote connection
Server Dictionary: Hot Standby FAQ
Seven major issues to be aware of server stability
407 Proxy Authentication Required Error Solution
Ten ways to protect DNS servers
Three Ways of Dialysis Server Testing
ISA has a "routing (chain) failure" problem prompt solution
What should be paid attention to in the management of enterprise leased servers?
In-depth analysis of IIS 6.0 (three)
Server MYSQL CPU usage is too high solution
How to increase the maximum number of Apache connections? Details of
Do it yourself, get enough food, win8 manually open the administrator account tips
Windowsxp Review Guide: Recycle Bin
Where is the storage location of Miyou 3?
Windows 8.1 system version number view method
Three ways to quickly restore your Windows
Win10 auto install game app disable tutorial
Win7 resource manager stops working how to fix
Toshiba presents the design concept of the new Windows 8 device