Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ninoreyes200 on October 13, 2006, 12:28:28 AM

Title: Little info needed about netlogon.bat
Post by: ninoreyes200 on October 13, 2006, 12:28:28 AM
Ok i am running sme 7rc2 as server gateway mode. It is also my domain controller with roaming profiles enable. I wanted to do some registry changess in all the client computers  (winXP SP2) connected to it. One of my changes is simply to enable log file in a program called radmin on all the computers(on installation this feature of the program is disabled). i had placed this line in the netlogon.bat file to see if it would automatically enable the log for me but sadly it doesn't:

reg ADD "HKLM\SYSTEM\RAdmin\v2.0\Server\Parameters" /v EnableLogFile /t REG_BINARY /d 01000000 /f

Can someone please help me and tell me what in doing wrong. Im pretty sure i got the path, value,value type and data correct because i had placed it in a test batch file i created to see if it would work and it does change the value when i run the test batch file.

Thanks
Title: Re: Little info needed about netlogon.bat
Post by: cactus on October 13, 2006, 09:03:22 AM
Quote from: "ninoreyes200"
Ok i am running sme 7rc2 as server gateway mode. It is also my domain controller with roaming profiles enable.
First of all I advice you to upgrade to the latest stabkle version of SME Server.
Quote from: "ninoreyes200"
I wanted to do some registry changess in all the client computers  (winXP SP2) connected to it. One of my changes is simply to enable log file in a program called radmin on all the computers(on installation this feature of the program is disabled). i had placed this line in the netlogon.bat file to see if it would automatically enable the log for me but sadly it doesn't:

reg ADD "HKLM\SYSTEM\RAdmin\v2.0\Server\Parameters" /v EnableLogFile /t REG_BINARY /d 01000000 /f

Can someone please help me and tell me what in doing wrong. Im pretty sure i got the path, value,value type and data correct because i had placed it in a test batch file i created to see if it would work and it does change the value when i run the test batch file.

Thanks
Did you perhaps with your admin account or a special user accopunt? Are your users are local administrators (or perhaps power users) as I am not sure if normal domain users will have registry access.

Perhaps you can test it using a normal user and add a pause command at the next line to see what the result of your command is (perhaps there might be a error messgae which you will not see as netlogon.bat runs pretty quickly normally.
Title: Little info needed about netlogon.bat
Post by: ninoreyes200 on October 14, 2006, 02:37:38 AM
You are soo right, upon closer inspection of my netlogon.bat file, it was getting access denied on everything i was trying to do. I have to make the roaming pofile a local administrator then everything worked like a charm.

Thanks