Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Tim Williams on April 15, 2003, 05:27:59 PM

Title: cant regedit using netlogon.bat
Post by: Tim Williams on April 15, 2003, 05:27:59 PM
I am trying to add registry keys to win2k machines using the samba netlogon.bat when admin logs on there are no errors and the key is entered, when any other user logs in I get an "error accessing the registry" message.
It seems to be some permissions/ security conflict - but I have no idea what it is, I am trying to add keys to define windows user policys in the HKEY_Current_User key if this makes any difference
Title: Re: cant regedit using netlogon.bat
Post by: Steve Bush on April 15, 2003, 07:05:28 PM
Is the user in the administrators group on the local machine?
Title: Re: cant regedit using netlogon.bat
Post by: Steve Brock on April 15, 2003, 07:06:21 PM
The user logging into the machine needs to have adminitrator privs to the machine to be able to make registry modifications.
If you're not concerned with security, you can add them to the local administrators group... else, you are out of luck.
Title: Re: cant regedit using netlogon.bat
Post by: Henrik on April 17, 2003, 01:05:40 AM
As posted in the other reply's - You need to be an local admin on the pc. BUT as I see it you are trying to add to the "current user" part and then its a whole other situation. Normal security settings for "current user" is "Full control" and thos normal users should have access to change the registry in that part.

run regedt32 on the pc and check permissions.

/Henrik