Login script dosent work for XP but works on 2000

S

Sam

Hi everybody,
I have a windows 2003 network with about 10 workstation some Windows 2000
pro and some
Windows XP, I create a VB Login script and add it to Login Script at Profile
for each user,
Problem is Script run perfect for Windows 2000 machine but if the same user
login to a Windows XP
computer it doesn't run automatically at login time, but still if I run the
script manually it works fine even
for XP but I like it automatically run for both systems,
Script add a few MAP drive and printers.
Any idea?
Thanks you in advance - Sam
 
P

Pegasus \(MVP\)

Sam said:
Hi everybody,
I have a windows 2003 network with about 10 workstation some Windows 2000
pro and some
Windows XP, I create a VB Login script and add it to Login Script at Profile
for each user,
Problem is Script run perfect for Windows 2000 machine but if the same user
login to a Windows XP
computer it doesn't run automatically at login time, but still if I run the
script manually it works fine even
for XP but I like it automatically run for both systems,
Script add a few MAP drive and printers.
Any idea?
Thanks you in advance - Sam

Modify your batch file like so, then examine the log file:
@echo off
echo %date% %time% Start of script > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
(insert your script commands here) 1>>c:\test.log 2>>&1
echo %date% %time% End of script >> c:\test.log
 

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