I hope the question title matches the problem accurately enough. Here's the problem:
I need to map user favorites in domain with a login script that changes the location of the favourites for each and every user from the default (documents and settings\user\etc) to a network location.
To do this I need to change a registry value with the login script (using .reg-file). The problem is, that when a user logs in and the login script runs the grop policy has the regedit disabled (which is the way it needs to be) so the reg-value cannot be changed.
Any suggestions how do I enable regedit, so that the value can be changed, and disable it again (I assume it should be done in the same login-script)? Or is there another way to do it?