0
votes
1answer
20 views

Batch script to only run command for 1 machine

I have a Windows GPO that runs a batch file startup script to disable NetBIOS. It normally looks like this: wmic nicconfig where (TcpipNetbiosOptions!=null and TcpipNetbiosOptions!=2) call ...
0
votes
0answers
33 views

Windows Login Script ignore UAC

I have a GPO that will launch a Startup Script for a .exe(Install Shield) silent unattended setup. However the user is currently being prompted to allow program due to UAC. I want a true unattended ...
0
votes
2answers
61 views

How to display “Please Wait” while GPO startup script is running?

I have a GPO that calls a batch file as a startup script (Computer Configuration -> Policies -> Windows Settings -> Scripts -> Startup) which takes a moment to finish what it's supposed to ...
1
vote
1answer
400 views

Deny running batch files

How can I deny users of my network to run any batch files in their user level? I want it to return them an access denied message OR delete the script entirely. Any ideas?
2
votes
1answer
321 views

Editing GPO Programmatically

I have a batch file that I'm using to update a large group of computers. This batch file works, for the most part. Where it fails is when the computer has been set up to "Disable Active Desktop" under ...
1
vote
0answers
42 views

Force shutdown from a remote system [duplicate]

Possible Duplicate: Shutdown whole network computers What I want to do is to allow EVERYONE Force shutdown from a remote system control. But, I don't want to do this manually because ...
1
vote
0answers
512 views

Bat file to change group policy

Based on the answer to this question: Windows XP: is it possible to log startup and shutdown times in the system event log? I want to be able to add it to a batch file, but have no idea how to go ...
1
vote
1answer
1k views

offscrub07.vbs cannot access registry when ran as part of a startup script

I am creating a script to automate a deployment of Office 2010. Office 07 was not installed in a way that provides a clean upgrade path, and in an attempt to do things the right way I am clearing it ...
1
vote
1answer
7k views

batch script comparing strings inside variables

The What I'm writing a short script to push out a new line to everyone in my domains hosts file in a GPO - don't ask why we're not doing this via DNS, the reasons are both fun and extensive :) For ...
2
votes
1answer
47 views

Modify Audit object acces policy

I'm trying to automate this step on a local network that's not included in a domain. I've tried using auto-it but had little luck with that. Is there any way of doing this using a batch script or ...