|
本帖最后由 c2y 于 2024-5-31 20:20 编辑
试一下这个软件 UWF简易智能配置器_v2.0.0.6.exe 能不能关闭?
如果还是不行,只有进入PE,离线修改注册表。
保存以下脚本文件为cmd或者bat文件,放在uwf系统盘上运行一下。
set p=%~d0
set ofs=%p%\Windows\System32\config\SYSTEM
if not exist "%ofs%" (
echo.
echo 当前驱动器不是系统盘!!!
echo.
echo.
pause
goto eof
)
echo 虚拟磁盘 %p%
echo.
echo 初始化 UWF 参数...
echo.
reg query "HKLM\sssver" 2>nul&® UNLOAD HKLM\sssver
REG LOAD HKLM\sssver %ofs% >nul
reg delete "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters" /f 2>nul
reg delete "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters.Default" /f 2>nul
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Dynamic" /f /v "HormEnabled" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Dynamic" /f /v "OverlayCriticalThreshold" /t REG_DWORD /d 3900
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Dynamic" /f /v "OverlayWarningThreshold" /t REG_DWORD /d 3800
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static" /f /v "CurrentSettings" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static" /f /v "UpdatedSettings" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "DomainSecretKeyPersisted" /t REG_DWORD /d 1
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "OverlayFlags" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "OverlayMaximumSize" /t REG_DWORD /d 4096
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "OverlayPreAllocated" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "OverlayType" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "RegistryExceptionsUserDefined" /t REG_MULTI_SZ /d ""
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "RegistryExceptionsUWFSpecific" /t REG_MULTI_SZ /d "HKLM\SYSTEM\ControlSet001\Services\UwfServicingSvc\Servicing\0HKLM\Software\Microsoft\MSLicensing\0HKLM\SECURITY\Policy\Secrets\$MACHINE.ACC"
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "ResetPersistentStateSavedMode" /t REG_DWORD /d 1
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "ServicingModeEnabled" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "TSCALPersisted" /t REG_DWORD /d 1
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0" /f /v "UwfEnabled" /t REG_DWORD /d 0
reg add "HKLM\sssver\ControlSet001\Services\uwfvol\Parameters\Static\Copy0\Volumes" /f /v "NumVolumes" /t REG_DWORD /d 0
REG UNLOAD HKLM\sssver >nul
echo.
echo 初始化完成!!!
echo.
|
|