content:en_us:kb_howtos_login_scripts_in_windows_networking

Login Scripts in Windows Networking

This howto illustrates how to manage windows logon scripts in ClearOS.

Enable logon script

Validate your file server has logon scripts enabled in <navigation>Server » Windows Settings » Logon Script</navigation>. By default it is called logon.cmd.

Now log into a workstation that is part of the domain using the winadmin user account.

In windows, click on Start » Run and type:

\\servername\netlogon 

Replace servername with the netbios name of your server. NOTE: you cannot browse to this folder because it is hidden.

Make sure the option 'Hide extensions for known file types' is disabled. Create a net text file and rename it to logon.cmd. Confirm the change of the file extention.

Right-click on the file and click edit.

Here is sample logon script code:

@echo off
net use m: \\servername\share /persistent:yes

search?q=clearos%2C%20clearos%20content%2C%20kb%2C%20categoryserver%2C%20clearos5%2C%20clearos6%2C%20clearos7%2C%20app-samba%2C%20howtos%2C%20maintainer_dloper&amp;btnI=lucky

content/en_us/kb_howtos_login_scripts_in_windows_networking.txt · Last modified: 2015/02/11 17:21 (external edit)

Page Tools