Group Polocy - Logon Scripts

W

Why Me.

I am attempting to use Group Polocies to set several logon
scripts in various OU's. I even tried the basic login
script. Nothing works.... It did in the old domain. What
am I doing wrong?? I am using the default location for
each logon script as selected in the Group Polocy dialog.

Sample Script 1....

@echo off
rem - Clear Current Drive Mappings
net use /persistent:no
net use * /delete /y
net use w:\\myserv\common
net use m:\\myserv\Drafting
net use s:\\myserv\NCF


The file extension is .txt but should that matter?

Thanks
 
T

Torgeir Bakken (MVP)

Why Me. said:
I am attempting to use Group Polocies to set several logon
scripts in various OU's. I even tried the basic login
script. Nothing works.... It did in the old domain. What
am I doing wrong?? I am using the default location for
each logon script as selected in the Group Polocy dialog.

Sample Script 1....

@echo off
rem - Clear Current Drive Mappings
net use /persistent:no
net use * /delete /y
net use w:\\myserv\common
net use m:\\myserv\Drafting
net use s:\\myserv\NCF

The file extension is .txt but should that matter?

Hi

It needs to be .bat or .cmd

Frequently Asked Questions about Logon Scripts
http://www.rlmueller.net/LogonScriptFAQ.htm

Logon Script info at LabMice.net
http://labmice.techtarget.com/scripting/logonscripts.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top