General discussion

Locked

help - batch files

By mayuresh.annegiri ·
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!!!

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by HAL 9000 Moderator In reply to help - batch files

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

The average End User with Limited Rights will not make an ounce of difference as this Can Not 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

Collapse -

by suniltvpm In reply to help - batch files

You can do by running the batch file in min mode. Microsoft URL http://support.microsoft.com/?kbid=176197 describes how to do this.

Regards,
Sunil

Collapse -

by lowlands In reply to help - batch files

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>"

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums