找回密码
 加入
搜索
查看: 1541|回复: 1

[系统综合] 如何不重启刷新注册表马上生效

[复制链接]
发表于 2017-9-8 18:32:45 | 显示全部楼层 |阅读模式
如何不重启刷新注册表马上生效?

Do
ProcessClose("explorer.exe")
Until Not ProcessExists("explorer.exe")
Run("gpupdate /force","",@SW_HIDE)
发表于 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
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-26 11:33 , Processed in 0.072577 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表