This is for a xp home pc, i did this through the control panel.
The problem is, the batch file deletes the profile of the same user that is logging in. The profile is inactive before the auto logon.
Main Topics
Browse All TopicsI Sceduled a batch file to run at system startup and system logon, however, after I enabled autologon, it stops working.
The batch file delete inactive profiles.
Maybe there is a way to pause auto logon. Thank You.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
So you want to run the batch file to delete the user's profile before the user logs on so they get a clean profile? If you had XP pro, I'd suggest just setting a mandatory user profile... don't know if that works on XP Home though. Rename ntuser.dat to ntuser.man in the user's home folder. That way you don't have to delete the profile every time.
I'm having a similar issue to this, however, I'm working with XP professional machines (SP3) that are joined to a domain. The workstations logon under a domain user account, however, the user logon script does not execute. If I log off and then back on, the script runs without issue, so it definately has something to do with the autologon process (perhaps the machines are attempting to logon before the network is completely available, so maybe it is logging in under a cached profile?) Any help you can provide would be greatly appreciated! Thanks!
mustangtech
From: http://technet.microsoft.c
Change Always wait for the network at computer startup and logon to the computer under Computer Configuration\Administrati
It will make your machines boot slower, but you won't have to logon multiple times for the script to execute.
Business Accounts
Answer for Membership
by: victornegriPosted on 2006-05-22 at 09:23:38ID: 16735579
How did you configure autologon? It should still authenticate with the domain controller.