I have a logon.bat file containing the following:
REM NETWORK SCRIPT
net time \\<dc ip address> /set /y
net use U: \\<server>\u$
The file is saved in the NETLOGON folder of my DC. Under my user profile in AD for Logon Script: logon.bat
I had this working but now it's stopped for some reason any idea?
If I browse to the NETLOGON folder and execute the batch file it runs and maps the drive. I've tried this with 2 different user accounts and 2 different machines.