Link to home
Start Free TrialLog in
Avatar of Z1ggy
Z1ggy

asked on

Script to export reg settings per user

Hi,

I need to export some user side reg setting for each user in an enviroment before we move to a new system. I'm using a windows 2003 TS server.

I created a quick batch file that creates a folder in a share for each user and then exports the required reg values from there HKEY_Current_USER\Software\xxx

this all works file for an admin who has rights over the registry however users who dont cant use the export reg command. Is there anyway i can script this so users can have admin right but still export from there own reg hive and then be lowered back to normal users.

or is there a better way of doing it all together ?

cheers
SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please post your batch file so we can evaluate it.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Z1ggy
Z1ggy

ASKER

Thanks for your replys i managed to get this to work by using a vb script to raise the user to admin and run the batch file then it lowers them again at login.

thanks for the input