Executing a batch file from a user logon script
mobri09
Users Awaiting Email Confirmation Posts: 723
I am having trouble executing a batch file(.bat) on a specific user when she logs on. After she signs on all i get is the netlogon minimized window at startup not the program i want to run. Under Active directory users and computer her logon script is \\pentium\NETLOGON and in the netlogon folder is my batch program...like i said i can get the folder to start at logon but the program will not execute. The program is a short message just to tell the user something evertime she logs on. It was made in notepad and then changed to a .bat file....any info will help to get this program to run.
thanks
thanks
Comments
-
woodworm Member Posts: 153You don't need to specify the whole unc path, you just have to place the name of the batch file in the user properties within AD (so if your batch name is called logon.bat - then you just enter 'logon.bat' in the user properties).
Sorry if I have misunderstood, but it may be worth posting the posting the contents of the batch file so we can see? -
mobri09 Users Awaiting Email Confirmation Posts: 723All i can say is thank you so much...You were right on the money!
Thanks