Koozali.org: home of the SME Server

general question about netlogon.bat

ninoreyes200

general question about netlogon.bat
« on: August 12, 2006, 02:24:27 AM »
I just have one question about the netlogon.bat file, i have my server in gateway/server mode and all the computers on my network is going to my SME domain. All i need to do is create a file called netlogon.bat and place it in the share folder netlogon and all the computer should automatically run whatever command in the bat file once they are loggin into the domain right? or am i missing something ?

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
general question about netlogon.bat
« Reply #1 on: August 12, 2006, 02:40:22 AM »
netlogon is already there. If you run \\yourserver\netlogon from your windows box, you will see netlogon.bat. then all you have to do is edit it.
If you think you know whats going on, you obviously have no idea whats going on!

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
general question about netlogon.bat
« Reply #2 on: August 12, 2006, 03:50:16 PM »
Bob, could you please explain how to edit the file, I do not understand :
REM To map a home directory to drive h:
REM net use h: /home
Many thanks.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
general question about netlogon.bat
« Reply #3 on: August 12, 2006, 04:35:13 PM »
You need to do a little searching on the web for the "net use" command, But I will give you an example.

Say your server name is server and you have a shared folder(ibay) called stuff, and you want to map it as drive g


The line in your logon.bat file would be

net use g: \\server\stuff

This is a very basic example, but I hope it gets you going


Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
general question about netlogon.bat
« Reply #4 on: August 12, 2006, 06:01:49 PM »
Thanks mate, I got it.  There is so much to learn, so much to do, and so little time...  Your assistance is really appreciated. All the best. chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.