Win2K, XP default sharing, boot automatic deletion setting method

xiaoxiao2021-03-06  68

Due to the operating system of Windows 2000 or later, it will automatically set C disk, D disk, etc. in the default, this invisibly provides a "channel" to hackers; if we handle C disk, D disk If the default shared state is canceled, these default shares will be created automatically after restarting the system. In order to ensure that the system can automatically remove the default sharing, we can implement it as follows:

First open the notepad program and enter the following command code in the Edit interface:

@echo off

NET Share C $ / DEL

NET Share D $ / DEL

NET Share IPC $ / DEL

Net Share Admin $ / DEL

Then, save the above code file into a batch file named "bat", assume that the batch file is named "autodel.bat" here.

Then click the "Start" / "Run" command in turn, and execute the "gpedit.msc" command in the pop-up run dialog box, open the group policy editing interface, then expand "User Configuration", "Windows Settings", "script (Login / Logout) "folder; use the mouse to double-click the" Login "option in the" Script "folder, in the setup interface that will be popped up, click the Add button to generate" delete.bat " "Batch file import (as shown in Figure 2), finally click on the" OK "button, end the above setting, then restart the computer system, we will find that the default sharing is automatically deleted.

转载请注明原文地址:https://www.9cbs.com/read-90457.html

New Post(0)