Link to home
Start Free TrialLog in
Avatar of technical_rocc
technical_rocc

asked on

How do I rename a Profile folder without creating new user.

Hey all

Interisting one here. A user's profile corrupted and will not let her run any programs. I figured i'd just rename her profile folder and recreate it...It didnt work.

I get error Access is denied. make sure disk is not full or write protected. see uploaded file

Found this https://www.experts-exchange.com/questions/21784621/Renaming-User-Profile-in-WXP.html

But am unable to copy and paste...access denied

-Im logged in as Administrator.
-User is logged off.
-Have redone all security permissions.
-Hard drive has over 50Gb available.
-tried removing "read only". Reverts back to readonly.

Any ideas would be helpful.
error.JPG
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of technical_rocc
technical_rocc

ASKER

Thanks for reply.

unfortunately, didnt work either
ASKER CERTIFIED SOLUTION
Avatar of btdownloads7
btdownloads7
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I should have mentioned that his is fo Win XP, and there is a slightly easier way to do it in Vista and win 7
Sorry, found a type in one of the commands in step 2. It should be:
subinacl.EXE  /subdirectories "path to user profile\*" /grant=administrators=f
You could try to boot into "safe mode" and see if it works there, or you could perhaps see if you can change the profile via:

Right click "My Computer" and choose "Properties".  Click the "Advanced" tab.  There should be three little areas here, "Performance/User Profiles/Startup and Recovery"...click "Settings" under the "User Profiles".  

It should be the same in Wondows 2000, XP, Vista, and Windows 7...or at least, if it's different, it should be fairly obvious.

Try to delete the file from there.  I think before Vista (XP/2k), you have to right click to delete them.  But in Vista/XP you can just click the 'delete' button.

You can also try to change the account type.

OR

You can copy the profile to another location using this tool, and then rename it, and see if it works.  If it does, your user should have all of it's resources.  If that works, you can try to delete the nasty profile at your own leisure.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Johnb is correct, however if i remember correctly you should still be able to do it from the user profiles window that i described above.
Using a combination of the 2 answers resolved the issue. Thanks
Thanks guys. used a combination of btdownloads7 and johnb6767 advice to get it done.
Oh forgot to mention had to change the command string from btdownloads7.

subinacl.exe /subdirectories c:\documentsand settings\*.* /setowner=administrator

using /file didn't seem to work on directories