dengpeiyou 发表于 2017-9-8 18:32:45

如何不重启刷新注册表马上生效

如何不重启刷新注册表马上生效?

Do
ProcessClose("explorer.exe")
Until Not ProcessExists("explorer.exe")
Run("gpupdate /force","",@SW_HIDE)

fybhwsx 发表于 2017-9-10 07:56:04

本帖最后由 fybhwsx 于 2017-9-10 07:57 编辑

屏幕调成纯色,win10测试无效。RegWrite('HKEY_CURRENT_USER\Control Panel\Colors','Background','REG_SZ',"0 0 0");屏幕纯黑色背景
;RegWrite('HKEY_CURRENT_USER\Control Panel\Colors','Background','REG_SZ',"255 255 255");屏幕纯白色背景

Do
ProcessClose("explorer.exe")
Until Not ProcessExists("explorer.exe")
RunWait("gpupdate /force","",@SW_HIDE)
Exit
页: [1]
查看完整版本: 如何不重启刷新注册表马上生效