Discussion Locked

help - batch files

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have exported a registry file. When i double click that it prompts for YES & NO. If i click YES it make changes certain entries in registry & if I say NO then obviously it doesn?t do anything.
I am intending to push this in start-up of every user thru group policy by using a batch file. But i don?t want to give any notification to user. It should automatically accept the answer as YES.

Can someone help???

Thanx!!!

3 replies

by hal 9000

Unless everyone is running with Admin Privileges this can not be done.

The average [b]End User[/b] with Limited Rights will not make an ounce of difference as this [b]Can Not[/b] be executed in anything but Admin Mode.

So no amount of Scripting will allow this to happen on a network with Restricted rights for End Users

Col

by lowlands

HAL is partly correct. First of all you'll have to make sure the user has permissions to write to the section of the registry you plan to modify with your script.

When/if you have confirmed the user has permissions to write to that part of the registry you can run:
"regedit /s <.reg-file>"

This discussion is closed to new replies.