Link to home
Start Free TrialLog in
Avatar of mchaney69
mchaney69

asked on

Import registry to XP workstation from 2000 server

I have Windows 2000 Server and 25 XP workstations

Trying to remove all "My Network Places" Icons from START and Explorer.

I have a .Reg file that works great (that is, when I logon as administrator).

But if I logon as a user with limited rights I get an error
"not all data was sucessfully written to the registry. Some keys are open by the system or other processes."

I have tried a batch file that calls my .reg file and used regini.exe but still only work if I'm administrator.

What I want to do is have a user (with limited rights) logon and at startup import these keys in the registry?
Avatar of gidds99
gidds99
Flag of United Kingdom of Great Britain and Northern Ireland image

You can use gpedit.msc on the workstations to make these changes - click start>run>gpedit.msc

Hope this helps.
From your reg file, you know what keys to edit..
Therefore you need to grant the users logging on full control of the specific registry key

1. Open Registry Editor.
 
2. Click the key to which you want to grant full control.
 
3. On the Edit menu, click Permissions.
 
4. Under Group or user names, click the user to whom you want to grant full control of your registry key.
 
5. Under Permissions for name, where name represents the name of the user to whom you are granting full control of the key, select the Allow check box for Full Control.

------------------------------------------------------

You could also make the changes via a GPO, [since you are aware of the registry keys] which apply to the users configuration of the GPO, and results in the spefic key modifications as needed.

This would be my preferred method, since its the easiest to configure and deploy.

 
Avatar of mchaney69
mchaney69

ASKER

I want to change the reg keys of the WS without having to manually go to every pc and log on and change the registry permissions as admin

if that was the case, i'd just log on as admin and ad run the reg file...



Try a using a Startup script..

Any changes to HKLM can be done in a Startup script, using Group Policy.

Startup scripts run with System privileges on the local machine, so you can modify just about anything.
You could use the "runas" command to execute the .reg file or script with administrator credentials:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx

Or you can use a .vbs script so the admin password is not required / and or visible to the user.

Hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of Rich Rumble
Rich Rumble
Flag of United States of America 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