whoops "profile cannot be loaded", recovery console won't rename!

Posted on 2006-10-24
Medium Priority
Last Modified: 2012-05-05
So, don't ask me why ... I renamed my profile directory on my Thinkpad R40e (it didn't match my logon). Now Windows XP(SP2, nearly up to date) won't boot. I get a message "profile cannot be loaded" [OK]. This machine is set to login automatically in to the main user account. I don't get an option to login as admin instead - that would be far too sensible.

"Right" methinks reboot then use Knoppix to rename dir and that'll fix it. Ctrl-alt-del doesn't work for reboot so I have to hard reset (poweroff).

N-nh. Knoppix refuses to mount (using mount.ntfs, which is part of fuser) as the system reports the NTFS volume as dirty due to hard reset. Hmmm.

So I try the recovery console. Which doesn't allow access outside of a couple of directories. Except you can use "set AllowAllPaths = true". Except that only works if you login and change some obscure security setting first. So I'm stuck again.

Any thoughts?
Question by:pbhj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 17800822
boot up in safemode and logon as the administrator account.
Rename your profile and boot normally.

Author Comment

ID: 17800926
In my version of XP Home I can't get in to safemode without logging on. I don't get the option to log on as admin, it boots directly as user in safemode. I then have to logout and back in (as fast switching isn't started in safemode) to get an admin account. I thought that "F8 > Safemode with command prompt" might do the trick. But it still tries to load the GUI and gives the endless cycle of not finding the profile.

Thanks for the thought, I should probably have made this a bit clearer in the original question.
LVL 15

Accepted Solution

venom96737 earned 2000 total points
ID: 17801029
well why not go into recovery console and run chkdsk /r so the volume wont be dirty anymore and then run kloppnix.  If this is a no no then you could run nt offline password/registry editor to change or remove this registry key

look for the AutoAdminLogon entry and change its value to 0 that should allow you to get the admin account in safe mode and do what you need to do.
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Author Comment

ID: 17806576
venom, thanks for that. I actually managed to fix it today. I ran chkdsk as you suggested from the recovery console. I then used Knoppix (having tried a few other recovery progs as bootable CDs) to "mountntfs -o rw /dev/hda1 /media/hda1" (IIRC).

This was the tricky part when I tried before I'd tried to copy -R (recursive) the  newly named folder to a new folder with the old name. But it failed (without really saying why) - I assume because of limitations of libntfs writing ability on Knoppix. What worked was to create the folder and then copy just the NTUSER.DAT file from the renamed folder into this re-created folder. I did this for both the username folder and for the Default User folder.

Funny thing is this then allowed me to log in with a (nearly) fresh desktop as "username" but with the docs & settings folder now called "username.HOSTNAME". Weird.

From there as you said it was a simple job to log out and back in as admin. System now takes forever to login / logout but I think there's an MS prog to help with this on the Windows site.

LVL 15

Expert Comment

ID: 17808374
That's great i'm glad I could help you out just hope you learned a lesson in this adventure. lol HAVE FUN
LVL 15

Expert Comment

ID: 17808392
O and to explain what it has done the computer cannot have 2 profile folders with the same name so once you create that folder it had to rename one of them so now you have your settings coming from one folder but docs and settings pointed to the original renamed folder thats pobably the reason for the slow login and log out it now has to access 2 different places to get the same info.

Author Comment

ID: 17822221
venom, any suggestions then on fixing that part as it would be the last bit of the puzzle. I was assuming it was chaff left in the registry and had noticed recently that MS have a cleanup tool - thought I'd use that. I am now, as you might imagine, a little reluctant to change any folder names!

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of:,,, …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question