
More Freedom
NavigationCurrent Weather |
Clear Group Policy on Windows workstation.
if exist "C:\Documents and Settings\%1\ntuser.dat" ( echo ** Attempting to load the user settings from %1 into the registry ** echo ** Registry hive has been loaded. ** reg delete "HKU\Temp\Software\Microsoft\Windows\CurrentVersion\Group Policy\History" /f echo ** Keys have been cleared. Now unloading registry hive. ** reg unload HKU\Temp echo ** Registry hive has been unloaded. ** gpupdate /force /boot echo ** Rebooting Computer ** shutdown -r -c "Shutting down PC to re-initialize group policy." ) ELSE (
|
Ideal
respond this topic
Thanks for the good
thank you very much for this
Thanks for sharing nice