Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon scripts wont run

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I have a situation where I have two forests with two-way trusts between them and two sets of users sharing client machines. When the user sits down at the machine they can select which domain they want to log on to, and they will be logged on to that domain. BUT, if the client machine is joined to domainB, and a domainA user logs on to domainA, the user's logon script is not processed. If the user is being authenticated on domainA and the logon scripts are in the domainA/netlogon directory and EVERYONE has read access to that folder, why are the scripts not processed? They're pretty much just drive mappings. Its just a .vbs file. The user can navigate to that location and double-click on the logon.vbs file and it runs just fine.

Can anybody explain why the scripts are not precessed as a logon script?

any suggestions would be appreciated.

 
Install the GPMC on your DC and run the Group Policy Results for one of the users/PCs. That shows what policies are being applied.
 
The logon script is not running as a gpo. Its in the user profile and stored in the netlogon directory NT4 style.

If the logon script was in a gpo it would make sense that it wouldnt run since this computer is a member of one domain and the user is logging on to a different domain.

 
Make sure the path in the profile and permissions on the folder are correct.
\\domaincontroller\netlogon\foldername\logon.bat

The profile should have: foldername\logon.bat

 
i never tried putting the entire path to the logon.bat, i bet that will fix it.

 
i never tried putting the entire path to the logon.bat, i bet that will fix it.
You shouldn't have to put the entire UNC path.
\\domaincontroller\netlogon\foldername\logon.bat

But everything after netlogon should be there.
foldername\logon.bat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top