Teach you telnet default root path change stunt

  

Telnet as one of the most commonly used remote management tools for system administrators, run services.msc under Windows to open the service management, start the service to use. So, how to modify the default root path of windows telnet? This is the focus of this tutorial to explain to everyone.

It is understood that the ssh service is installed on the host, we can manage the 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, change the key value to %SystemDrive%\\Documents and Settings\\Administrator

Restart the server.

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 one we need to modify?

First, let's start: 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 are at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT \\CurrentVersion\\ProfileList\\ Find the key value of the primary key ProfileImagePath of type REG_EXPAND_SZ under all ids

%SystemDrive%\\Documents and Settings\\anywolfs.com

Modify this to % SystemDrive%\\Documents and Settings\\Administrator, get it

Although Telnet is not very secure, it is a very convenient tool. For this, everyone The seriously study how to modify the default root path telnet windows of this tutorial content.

Copyright © Windows knowledge All Rights Reserved