Welcome to the network technology community forum and interact with 2 million technical staff to cope with endless network faults. It is the daily homework of network administrators. Solving Network faults efficiently and quickly is the dream of every network manager. In order to do a good job in this "homework", the network management staff started their brains and summed up a lot of Network Fault solving skills. Lower
Welcome to the network technology community forum and interact with 2 million technicians> it is the daily homework of network administrators to deal with endless network faults. Solving Network faults efficiently and quickly is the dream of every network manager. In order to do a good job in this "homework", the network management staff started their brains and summed up a lot of Network Fault solving skills. Lower
Welcome to the network technology community forum and interact with 2 million technical staff> enter
Dealing with endless network faults is the daily work of network administrators. Solving Network faults efficiently and quickly is the dream of every network manager. In order to do a good job in this "homework", the network management staff started their brains and summed up a lot of Network Fault solving skills. Here are only two examples for readers.
With RunAs, the common user identity can also manage the server href = "http://server.it168.com/" target = _ blank> Server
To ensure that LAN servers can run securely href = "http://safe.it168.com/" target = _ blank>, I believe that many operators do not usually use privileged accounts to log on to the system and maintain the server, however, when the server is actually maintained, many applications can only run with the system administrator privilege.
In this situation, many friends may use privileged accounts to log on to the server system again to run these special applications. However, in the privileged running status, the running security of the server is also greatly threatened. To ensure the security of the server and run some special applications normally, We Can skillfully use the RunAs Command provided by the server system, to allow the server to perform maintenance and management operations on the server under the normal account permission status. The following describes how to implement this method:
First, log on to the server system as a normal user so that the server runs under the normal account permission status, click Start or run commands on the system desktop one by one, enter the cmd string command in the pop-up system run box, and click Enter, switch the server system interface to the MS-DOS window.
Then, enter the string command "runas/user: cmd" at the command prompt in the window. "domain" indicates the domain of the server. If there is no domain in the LAN environment, "domain" is the host name of the local server, and "account" is the system privileged account name. When we click the Enter key, the system will ask us to enter the logon password of the privileged account.
Once the password is entered correctly, click the Enter key. In the pop-up command window, you can use the relevant network commands to maintain the server privileges; after the privileged maintenance operation is complete, we still need to remember to close the privileged command window in time so that the server security can be well guaranteed.
Use SC command to solve service window failure
To prevent illegal users from attacking the local system or spying on important local privacy information through hidden sharing enabled by the local workstation system by default, we often open the Service List window of the local system, go to the Server service attribute settings page and manually stop the Server service, so as to disable local system sharing.
However, in some cases, no matter how we operate, we cannot enter the Server service attribute setting interface, so we cannot disable the system to hide sharing by disabling the Server service, in this case, when the service window cannot be opened, can we disable the hidden sharing in the local workstation?
The answer is no! We can use the built-in SC command of Windows workstation to cleverly stop the Server service in the workstation system, so as to disable all the hidden shares of the system at one time, the specific implementation steps of this method are as follows:
Log on to the local workstation system as a system administrator, and click the start and run menu options on the system desktop to open the system run box of the local workstation, enter the string command "cmd" and click the Enter key to enter the MS-DOS work window.
At the command line prompt in the MS-DOS window, execute the "SC config lanmanserver start = disabled" string command when the system prompts a success prompt as shown in. So we can easily stop the System Service Server from running without entering the Server service attribute setting interface. When we view the hidden shared resources of the system, all the hidden shared resources are deleted at one time, so that illegal users cannot perform security attacks on the local workstation by hiding the shared resources.