login script

P

ptschnei

I wrote a login script (net use G: /delete
net use G: \\kusdg-psy-adpdc\G$ /persistent:yes)
called myusers.bat. I put it in the netlogon folder. I set
up a Group Policy in my OU for my users and added the
login script to the user settings, windows, login scripts.
The login script can be run from the user's desktop, but
not running at login time. Why?
 
L

Lanwench [MVP - Exchange]

You have to choose - do you want the policy to do this, or do you want to
specify it per user in ADUC? If the former, you've put the file in the wrong
place....if the latter, don't put in the path, just the file name, and take
the script settings out of your group policy.
 
C

Chriss3

T

Tom Ausburne

Login scripts run from a Group Policy don't go in the Netlogon share.
When you create the policy setting you can browse to the location
inside the policy where the script goes. It will be something like:

"C:\WINNT\SYSVOL\sysvol\domain.com\Policies\{CEBC589D-33F4-4CA2-8ED7-5
8F75D12E75C}\User\Scripts\Logon"

Make sure that the user or a group the user is in has Read and Apply
for the Group Policy.

198642 Overview of Logon, Logoff, Startup, and Shutdown Scripts in
Windows 2000
http://support.microsoft.com/?id=198642


Tom Ausburne (MSFT)
Windows 2000 Directory Services
This posting is provided "AS IS" with no warranties, and confers no
rights.
 
P

ptschnei

Thank you so much. We are up and running.
-----Original Message-----
You have to choose - do you want the policy to do this, or do you want to
specify it per user in ADUC? If the former, you've put the file in the wrong
place....if the latter, don't put in the path, just the file name, and take
the script settings out of your group policy.



.
 
C

Carlos

Hello!

Would you mind telling what was the issue?

It might help some us all in the future.

Thanks!

Angel
 

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

Top