Windows 10 - cannot change the user name folder

0

I wanted to rename folder C:\Users\Myname in Windows 10.

  1. I renamed Users folder in Registry Editor
  2. Used netplwiz - and changed name there as well.

After that restarted Pc, now i'm login to temp account, where i should rename it manually and when i try rename it gives me:

The action cannot be completed because the file is open in other program

What can i do in this situation?

Viktor

Posted 2016-08-15T08:02:07.853

Reputation: 127

Question was closed 2016-12-04T12:26:39.937

Tried a System Restore rollback? – w32sh – 2016-08-15T08:04:17.060

@w32sh no i didn't tried, how it can help? – Viktor – 2016-08-15T08:09:07.703

SR would rollback your registry hives, which means your original profile directory path in the registry will be restored. – w32sh – 2016-08-15T08:09:46.310

@w32sh but i need to change this profile name, and i was following steps how to do it, and on the last step, i faced with this problem where i need to rename manually the User folder – Viktor – 2016-08-15T08:11:14.403

3

Changing profile folder path/name would involve changing hundreds of registry keys (not just the ProfileImagePath registry value)and probably the folder Permissions, if you want to make sure no applications break. Best option is to create a new local account with the preferred name, and transfer your data.

– w32sh – 2016-08-15T08:13:35.247

@w32sh Ok, thank you, i will try this – Viktor – 2016-08-15T08:15:55.857

When creating a new account, create a local account instead of Microsoft. Once logged in, you can switch to MS account if needed. This way the folder name won't be truncated to 5 characters. – w32sh – 2016-08-15T08:19:39.230

No answers