Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runas

Status
Not open for further replies.

jfp23

Technical User
Mar 2, 2004
287
US
Can the runas command be used to install a .reg file?
 
not sure what you mean by 'install a .reg file'? They 'install' by double clicking them - or you can use regedit as a command line app.
 
If a user that does not have access to the registry double clicks on a .reg it errors out.

So I would like to be able to configure a script to do runas and have the registry settings import as a result of that script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top