IT CAMPER
asked on
Script or batch to turn off or tweak windows settings
I need a script or batch that I can run on Windows 7/8/2003/2008 that will do the following...
Turn off and disable Windows firewall
Adjust 'balanced' power options to turn off display after 30 mins and put the computer to sleep 'never', when plugged in.
Turn off and disable Windows firewall
Adjust 'balanced' power options to turn off display after 30 mins and put the computer to sleep 'never', when plugged in.
They all sound like things that you'd do through Group Policy - are these devices not on a AD domain?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This will be used on standalone systems, so local GPO would work okay, but I am looking to automate these steps.
Lee, the batch tweaks the power options ok, but the firewall is not changing its state to disabled and the service is not stopping. Do I need to insert something into your batch?
Lee, the batch tweaks the power options ok, but the firewall is not changing its state to disabled and the service is not stopping. Do I need to insert something into your batch?
Run the netsh command separately and check for errors. Review the event logs. I just tested that command and its working fine.
ASKER
You were correct. Thanks!