• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

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 http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_21784621.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
0
technical_rocc
Asked:
technical_rocc
  • 4
  • 3
  • 2
  • +2
2 Solutions
 
Brian PiercePhotographerCommented:
0
 
technical_roccAuthor Commented:
Thanks for reply.

unfortunately, didnt work either
0
 
btdownloads7Commented:
1. Download the Subinacl.exe from MS, save it into the Windows folder:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

2. Restart in safe mode and log log in as Admin. If you even try to log in as the corrupt user, it'll deny you access later. For the purposese of this example, Open the command prompt and run the following:
subinacl.EXE /file "path to user profile" " /owner=administrators
subinacl.EXE  /subdirectories "path to user profile"" /grant=administrators=f

3. Rename the folder
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
btdownloads7Commented:
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
0
 
btdownloads7Commented:
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
0
 
ThatSharepointGuyCommented:
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.
0
 
johnb6767Commented:
If you didnt reboot at all, you wont be able to rename it as the OS still has an open handle to it.... Rebooting clears it.....
0
 
ThatSharepointGuyCommented:
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.
0
 
technical_roccAuthor Commented:
Using a combination of the 2 answers resolved the issue. Thanks
0
 
technical_roccAuthor Commented:
Thanks guys. used a combination of btdownloads7 and johnb6767 advice to get it done.
0
 
technical_roccAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now