Note: I'm just using it on 2000sp4, and other systems have not tested it
1 Force refresh the group policy (also refreshes the registry):
secedit /refreshpolicy machine_policy /enforce
I searched for 4 or 5 hours before I found it
(The function is to refresh the registry without logging out or ending)
2. Quiet import: regedit /s *.reg The following is the registry file to be imported
3 Synchronous time:
net time \\ip /set /y \\ipFor your shared server IP or computer name
(Tip: If freezing point is installed, it may prompt that there is no privilege to modify the time, and the time can be changed without protection)
A brief introduction to the example of applying these 3 commands:
Quick implementation of network management maintenance lifting restrictions:
Most of the Internet cafe restrictions are done through Group Policy and Vientiane. In the final analysis, we can extract the registry files before and after the restrictions.
Here we can use the registry monitoring comparison tool to do this work, such as: RegSnap (already uploaded, at the bottom)
Assume that the deregistration file is
Then we batch:
@echo off
regedit /s c:\
secedit /refreshpolicy machine_policy /enforce
Save as batch processing encirclement and annihilation. This will quickly unblock restrictions
If you restore restrictions, one thing is right