putting a reg key on a users PC as admin

Soldato
Joined
27 Jan 2005
Posts
3,137
Location
Versailles
Hi, silly question,

Got a pc i need to put a trusted site onto, but im in one building and they are in another. What i need is a program or way of putting a new regkey into the curent user tree for them, without giving them any passwords to use.

I know all the passwords for the network/localpc - but not sure how this bit is done.

Any ideas?

ta.
 
Psexec and REG?

Something like

psexec \\computerName -u domain\administrator -p password REG ADD etc
 
Last edited:
burnsy2023 said:
How about making a .reg file and then scripting it to run silently on logon?

Burnsy

Can i do that without being at the users PC though?

what i mean is how do i get the reg file onto the users desktop when they have no admin rights to do this. Last thing i want is to have the account anme and password in the file which could be read, if youknow what i mean.
 
Last edited:
mr.bond said:
Yes, that's the idea of it running silently, and at logon.

And thae fact that it's going into the current user tree means there shouldn't be any permissions issues, so you won't need to specify credentials.

Burnsy
 
burnsy2023 said:
How about making a .reg file and then scripting it to run silently on logon?

Burnsy

Thats the best way of doing it. There shouldn't be any security issues with it because logon scripts run with elevated privileges anyway :)
 
Back
Top Bottom