ClearFoundation

Documentation Howtos Login Scripts In Windows Networking

Login Scripts In Windows Networking

Overview

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

Enable logon script

Validate your file server has logon scripts enabled in Server » Windows Settings » Logon Script. 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


Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Video demonstrations - Copyright © 2010 ClearCenter Corporation