关闭待机、防火墙,自动获取IP地址,更换壁纸

写成批处理发送到客户端

c:\art_desb.jpg为壁纸所在绝对路径

@ powercfg -hibernate off
@ powercfg -change -monitor-timeout-ac 10000
@ netsh advfirewall set allprofiles state off
@ netsh interface ip set address name="本地连接" source=dhcp
@ netsh interface ip delete dns "本地连接" all
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /d c:\art_desb.jpg /f
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
exit

上一篇
下一篇