Koozali.org: home of the SME Server

Little info needed about netlogon.bat

ninoreyes200

Little info needed about netlogon.bat
« 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Little info needed about netlogon.bat
« Reply #1 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

ninoreyes200

Little info needed about netlogon.bat
« Reply #2 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