I have a new installation of Windows Server 2003. It's a new domain. I joined my computer to this new domain.
In Server, in the Active Directory Users and Computers, In the Users section, by selecting my name and going to properties, in the 'Profile' tab I have entered 'overall.bat' as the login script for my user. I have also set it to connect h: to \\fileserver01\home\nicky to set my home directory.
I then wrote the overall.bat as follows:
net use s: "\\fileserver01\sales$"
net use i: "\\fileserver01\it$"
net use z: "\\fileserver01\accounting
$"
net use o: "\\fileserver01\special ops$"
net use v: "\\fileserver01\service$"
net use g: "\\fileserver01\graphic and design$"
net use t: "\\fileserver01\databases\
goldmine$"
net use m: "\\fileserver01\administra
tion$"
I placed this in the shared folder C:\WINDOWS\SYSVOL\sysvol\s
kylinebc.c
a\scripts (it is shared as NETLOGON by default). I used that folder as it appears to be the default script location. I ensured my user has read and execute permissions. I ensured my user has access to all those folders and permissions (including the home folder).
When I log my user off and on, the logon script does not run. No window appears in the lower left hand corner of my screen to indicate that it is even attempting to run.
If I run the overall.bat file locally on my computer or if I open a command propmt and type \\fileserver\netlogon\over
all.bat - it runs perfectly. The problem seems to be that it's simply not *looking* for a local logon script.
My event viewer has this error in the Application log (not sure if this relates to the problem or not):
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1054
Date: 2/13/2006
Time: 9:06:21 AM
User: NT AUTHORITY\SYSTEM
Computer: SYSADMIN
Description:
Windows cannot obtain the domain controller name for your computer network. (The specified domain either does not exist or could not be contacted. ). Group Policy processing aborted.
and this one as well:
Event Type: Error
Event Source: AutoEnrollment
Event Category: None
Event ID: 15
Date: 2/13/2006
Time: 7:12:12 AM
User: N/A
Computer: SYSADMIN
Description:
Automatic certificate enrollment for SKYLINEBC\nicky failed to contact the active directory (0x8007054b). The specified domain either does not exist or could not be contacted.
Enrollment will not be performed.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
If anyone out there could assist me with this problem, it would be much appreciated!
Thanks
Nicky Whitehouse