5:30 renaming does not work for me. "The action can't be completed because the folder or a file in it is open in another program". Anyone knows what to do here?
When I tried to log in back to my main profile system threw an error saying "C\Users\[Old_Folder_Name]\OneDrive\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're connected to the network or Internet, and then try again. If the location still can't be found, it might have been moved or deleted." And all the files on the desktop are deleted. Also every time I refresh the desktop it throws the same error. Please provide a solution.
Hello Priyanshu, just re-login to your OneDrive again and the error should go away. Another way is go to the Search > "Edit the system environment Variable" then "Environment Variable" then in User Variables look for OneDrive. If it still uses the old username, just Edit it with the new one. It should resolve the issue.
@@tookootek Same issue i checked the environment variables it's was proper with new Name and also i relogin the ondrive still same error. Please provide the solution
Great instruction and easy to understand. FYI: If you are trying to follow along with the video you should have it running on a separate video or phone because you will be logging in and out of the one you are working on to change the folder name. Thanks for the excellent help!!
not working - got error C:\Windows\System32>wmic useraccount get name,SID 'wmic' is not recognized as an internal or external command, operable program or batch file.
2024 September. Perfectly working. Thank you. Although I needed to relogin all my accounts(Facebook, Google, Yahoo and others), but all local files are all intact.
Thank you, thank you, thank you. I have been researching this for days and finally came across this video. It is the first time I have ever tried to do something this complicated and it actually worked. How in the world do you know how to do this? You have to have profound knowledge of the inner workings of the Windows beast.
When I try to log back into my main account I get an error that says “C:\Users\[my previous user folder name]\desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, then try again” etc. What do I do?
Hello there! Just want to confirm if you renamed the ProfileImagePath using registry editor as well? You can rename it back however what i suggest is go to your desktop, create a temp file i.e temp.txt and then go to C:\Users\[New folder name]\Desktop and check if the temp.txt is there. If yes then it means Windows have no issue locating your current User folder. Is there any other indication if the error message is due to 3rd party software installed? thanks.
@@tookootek Yes I used the registry editor, I did everything as instructed in the video. Do I create the text file in the throwaway admin account or in my main account? The problem is that when I change the name, it simply doesn’t even let me into my main account and just gives me that error, so I can’t check if there’s any file there or not while in my main account. I don’t how to tell if it’s due to a third party software. I don’t have much installed on my computer right now other than webroot.
@@tookootekWhile creating and saving the new text file, it says that the path does not exists, check the path and try again. C:\Users:\[Old_Folder_Name]\Desktop\temp.txt
Just note that it isn't sufficient to edit ImageProfilePath, many parts of Windows and installed applications use the folder name as well instead of the environment variable pointing to the name. You'll have to edit all of these or your applications will be broken.
Great. So what happens when you log back in? Everything is broken. You left out the most important part. How yo fix the broken OS after doing what you instructed.
I followed the steps perfectly but I'm getting an error after doing this. Error is "C:\Users\shand\OneDrive\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're connected to the network or Internet, and then try again. If the location still can't be found, it might have been moved or deleted" .. shand is my previous user name and I changed it by using your step but what to do with this error.. please help
Hello Vaibhav, please go to Environment Variable Setting and check if the One Drive path was change to the new username. Once you login to you OneDrive it should reestablish the connection.
@@tookootek Thank you. This ended up being very complicated, but I followed all the steps in your video plus in your comments and was finally able to get it working. It is so stupid that Microsoft chooses folder names for people without their consent. This is enough to make me never want to use OneDrive.
What folder directory was the setting ti rename the one drive folder? Edit: 6/25/23 I just went ahead and restarted the one drive process, but I still get that one drive popup
Hello. After I closed the registry editor and I opened the user document and I tried to rename in the new name I got an error which is saying “the action can t be completed because the folder or a file in it is open in another program. close the program or file and try again”. What should I do? I don t know what it mean. I don t know where is possible to be open that folder or file 😅
Hello David! You need to logout the User account you are trying to rename. Once you log it out then you can try to rename again using the temp admin account you are using. It should solve the error, let me know otherwise.
DO NOT do this. It wiped all my windows settings and it doesn’t recognize the user folder as the right one anymore. Plz save yourself from this trouble you cannot revert after (if you try using a restoring point it just gives an error). (even if you rename it back to the original name) Now my PC is just stuck on « Welcome » at the windows startup and i cant do anything.
Hello I have a problem. I tried to change username but for some reason it doesn't want to update it. And when I reopen the User Accounts editing window, the name is back to the old one..
@@tookootek Yes, I followed the steps in the video. But when I go to netplwiz and change username, it updates on the users list there but nowhere else. Then I reopen netplwiz and the name appears as the old one, though in Properties it's still the new name..
hi hi, so i tried this and after i changed the folder name and the registry i logged back into my main account and it said [directory to old user folder name]/onedrive is not available and then when i hit "ok" on the error every single thing that was accessible goes away even the programs i have installed
My firfox extensions broke, and vencord required reinstallation. Firefox menu>help>more troubleshooting>refresh. Took the auto generated old profile data folder on the desktop and overwrote the new profile folder in appdata and presto all my extensions and browser data was back. Vencord i just keep the installer hanging about cuz it breaks every so often anyway, a quick uninstall/install had me going. All my games still had their saves with no work. Hope this helps.
Hello Storm, the default location is in C:\Users, can you confirm if the User folder you referring to is an actual copy or a shortcut? You can do Right click the folder icon then Properties and select/check Hidden. That should hide the folder unless you configure to show hidden folder or files.
did all this step by step slowly. when i logged into the account with the changes everything was gone. so i just undid everything. not sure how some people got it to work and i wasn't able too
Great video, but I lost my desktop files after everything. To sort it out, in case you have the same issue; log into your one drive and change the folder to the new folder.
said I needed admin privileges and something was open. When I went back to the registry, the profile was renamed with a .bak on the end. So, had to switch user name back.
Hello Ron, I have not tested it signed in. In theory it should work the same way only that there will be some warning about onedrive location before it sync up on the new name. You can manually set them in the environment variable setting as well if needed.
It says " the action can't be completed because the folder file in it is open in another program" And says " close the folder or file and try again" Please help me
This does not work for me (I do not see the folder name changed from -admin- user). Then, when I sign out and in again to my original account, Windows tells me "We cannot sign in to your account. [...]" and invites me to sign out again because otherwise changes made will be lost
Hello sir, for me folder name is changed but some of my data deleted. And when i am typed "whoami" in command prompt it is showing old username. Could you help me, Why it is like that & how to resolve it & how to restore my data sir
Hello Minix, did you try the steps laid out in the video? The User folder should be the same existing folder which you just rename in c:\Users\ and REGEDIT ProfileImagePath.
Hello there @@minix07 - Can you restart your unit and login using the temporary admin. Recheck the c:\Users\ then same with the REGEDIT profileimagepath. Is the new name all alphanumeric?
Hi. Is it risky to do this, can i lose data with this and how? i have a non-english character in the folder and a launcher doesnt like it, thats why i want to name it. is it risky or should i just install the game onto my hdd rather than my m.2 and just deal with it?
This will work however I recommend backup your data, that will give you peace of mind. Regardless of the result, you will always question it if you are unsure from the start. Nothing wrong with backup, just extra effort yet it give you assurance.
You can redo the steps, only this time you rename it back to the original. Ensure you do it in REGEDIT too. Check your environment variable as well if you are using OneDrive. Just retain your temp admin account, it should have all the privilege to do all this.
Followed everything. Atlast unable to rename the folder. Error was. The folder is running in background. Stopped all programs that was running in the background l. Still didn't work
Hey mate, I followed all the steps and now I don’t have my previous user account working, just Admin. I can’t rename it. Plus I have a folder named Temp I can’t get rid off. This has just complicated my day. I would appreciate if you reached out to help me solve this issue.
Hey! you probably fixed it by now but to forcefully rename it, go back on the admin account, go to the search bar and type "cmd" and click run. Change USERNAME to your current user folder name and change NEWUSERNAME in the new name and then type this command: ren "C:\users\USERNAME" NEWUSERNAME
Hi Paul, it will not affect it credential wise, I recommend you logout from those services before you do the rename and just login right after as you normally do.
This solution is fantastic, but do you have a way to change all the software, etc.. to properly point to the newly named folder? They all error out. I was considering creating a second account and copying everything over but that will probably lead to even more issues :/ I was able to fully follow this video but in the end, 9 or so programs popped up with errors when I signed back in, plus all my windows settings/taskbar applications were reset. I easily fixed it by putting it back, but I was hoping you had a fix for this problem too.
@@tookootek Is this something that has to be done with each error for each application? Or is this a fix for all at once? I am unfamiliar with environmental variables. This would be an amazing follow up video if you decide to do one. Until then, do you have any advice or potentially a suggestion as to where I can look to learn more about solving this?
There are numerous entries in the registry that you'll have to edit. I've done this before, but it is much easier to just use a tool to create a hard link to the folder name you'd prefer.
I can rename now, but when I sign out and switch to my main account, it said "C:\Users\previous_name\OneDrive\Desktop is unavailable..." so it don't show File explorer or anything in my desktop, and when I use the command wmic useraccount get name,SID it still show the previous username
Hello there! did you complete the REGEDIT steps as well where you need to rename the ImageProfilePath? Your OneDrive should re-establish once you login to OneDrive again however first check in REGEDIT and make sure the path was renamed as well. Let me know. Thanks.
Technical it is not, it just a precaution. Just create another admin user and transfer your data there. That will work as well. You do backup for peace of mind but not a requirement in anyway.
Hi. I've followed this tutorial and it hasn't worked for me. In fact, it has failed and everything on my computer has been deleted. I followed all the steps but it said "the folder or file is open in another program". When trying to log in to my initial account, everything was the same as the new: no documents, nothing. I've lost everything I had. I need help, please. What has happened? Now both accounts are exactly the same and contain NOTHING in them.
Hello Maria, do you use One Drive? Can you please the Environment Variable if the path was still set to your initial account. The Rename does not delete your account. Please try to access them using your temporary Admin account. It should have privilege to open any folder you had in the initial account.
Hello Dani, can you share any error? In what step did you run into an issue? Have you tried logging in in your temp admin account? It will help others if we can identify the root cause of the issue you encounter.
It happened once I restarted the computer. I couldn't sign in into my old account, and it just gave me a new account, and everything was deleted. I tried to log in into the admin account and changed the name back to the original, and after the 2nd restart, it gave me a blue screen saying something went wrong and can't be repaired
I found that the best way to do this, is to A. Do it on a clean reinstall of Windows 11, since the asshole demands a Microsoft account, B. have a Microsoft account with the NAME you want on your user folder, or C, do these steps AFTER a clean install and BEFORE adding your wanted software.
Hello There! What error you are getting? You should still be able to access your files as you have admin access in your temp account. Just look for your files under specific user in C:\Users
Hello There Prince! What I suggest is to keep the folder for a least two weeks. That way you will know what you may miss to copy or install over on your new admin account. It is easy to delete however recovery is more of trouble sometimes.
Hello there! please confirm if you created a new local admin account (new user), then logout(existing user) and login next to the new admin account (new user) then rename the user folder of (existing user) in c:\Users then Regedit profileimagepath. Can you check if your existing user User Folder in c:\Users\ corresponds to Regedit ProfileImagePath.
@@tookootek i did same but i lose my data , i logged microsoft account with mail and in user folder name is just starting 5 letter ,and windows 11 pro i using now
Hello Faisal, just logout your current user that you would like to rename and it should resolve the issue. The best way is after you created the temp admin account, you shutdown and login to that account only.
Hello Rimka, is there any specific location where your files was located? Could it be under OneDrive? If it is can you please check under Environment Variable the exact path set for your OneDrive. Usually it is under C:\Users\{Username}\OneDrive
"The action can't be completed because the folder or a file in it is open in another program" error When i was trying to rename the account after completing all the process.
Hi! Thanks for the tutorial. I've done all your steps but when I sign in with my "renamed account" all my installed software icon on taskbar are gone. I can still run them from Program files folder though.
Hi Christian, thanks! I did not encountered any similar issue however thanks for mentioning it, i will see if i can replicate the same issue and find out the root cause
@@CMongezthe only way to fix this issue is my reverting it back to the original name, then you’ll be able to get all the installed stuff on there back again
I know it’s been months but for anyone who has this issue now - just pin anything to the taskbar, it will load back all the pinned apps there! (You can unpin what you’ve pinned after that) Hope it helps☺️
5:30 renaming does not work for me. "The action can't be completed because the folder or a file in it is open in another program". Anyone knows what to do here?
Restart your laptop then go back to the temporary account and then try again
@@philam8982 Dude! You really helped me a lot! I was worrying that I couldn’t rename it. Thanks a million!
hope im not late but you have to sign out of the account you want to change the name of
This guy just showed me how to wipe all my files
When I tried to log in back to my main profile system threw an error saying "C\Users\[Old_Folder_Name]\OneDrive\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're connected to the network or Internet, and then try again. If the location still can't be found, it might have been moved or deleted."
And all the files on the desktop are deleted. Also every time I refresh the desktop it throws the same error. Please provide a solution.
Hello Priyanshu, just re-login to your OneDrive again and the error should go away. Another way is go to the Search > "Edit the system environment Variable" then "Environment Variable" then in User Variables look for OneDrive. If it still uses the old username, just Edit it with the new one. It should resolve the issue.
@@tookootek Thank you...!!
The issue was solved by the steps you provided 👍
@@tookootek Same issue i checked the environment variables it's was proper with new Name and also i relogin the ondrive still same error.
Please provide the solution
@@anveshpoda Same issue for me. Hope someone can provide another solution
@@anveshpoda I go to the OneDrive folder manually and login my account. When doing so, it seems to change the path itself - maybe you can try that!
Great instruction and easy to understand. FYI: If you are trying to follow along with the video you should have it running on a separate video or phone because you will be logging in and out of the one you are working on to change the folder name. Thanks for the excellent help!!
5:31 I can’t rename the previous name it says it opens in another program but it’s not what shoud I do?
Same problem here
not working - got error
C:\Windows\System32>wmic useraccount get name,SID
'wmic' is not recognized as an internal or external command,
operable program or batch file.
if you didnt end up fixing it wmic is in C:\Windows\System32\wbem so try that
2024 September.
Perfectly working. Thank you.
Although I needed to relogin all my accounts(Facebook, Google, Yahoo and others), but all local files are all intact.
Thank you, thank you, thank you. I have been researching this for days and finally came across this video. It is the first time I have ever tried to do something this complicated and it actually worked. How in the world do you know how to do this? You have to have profound knowledge of the inner workings of the Windows beast.
When I try to log back into my main account I get an error that says “C:\Users\[my previous user folder name]\desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, then try again” etc.
What do I do?
Hello there! Just want to confirm if you renamed the ProfileImagePath using registry editor as well? You can rename it back however what i suggest is go to your desktop, create a temp file i.e temp.txt and then go to C:\Users\[New folder name]\Desktop and check if the temp.txt is there. If yes then it means Windows have no issue locating your current User folder. Is there any other indication if the error message is due to 3rd party software installed? thanks.
@@tookootek
Yes I used the registry editor, I did everything as instructed in the video. Do I create the text file in the throwaway admin account or in my main account? The problem is that when I change the name, it simply doesn’t even let me into my main account and just gives me that error, so I can’t check if there’s any file there or not while in my main account. I don’t how to tell if it’s due to a third party software. I don’t have much installed on my computer right now other than webroot.
@@tookootek I can't even create a new .txt file, because pop up page has NEW+ button, but inside only Folder button with admin sign
@@tookootekWhile creating and saving the new text file, it says that the path does not exists, check the path and try again.
C:\Users:\[Old_Folder_Name]\Desktop\temp.txt
@@tookootek
Can you please answer my question from my previous comment
It frustrates me a lot...but it worked after several attempts 😀😀....thanks a lot ..
Welcome and Glad to hear that!
All worked fine, thanks!
Just note that it isn't sufficient to edit ImageProfilePath, many parts of Windows and installed applications use the folder name as well instead of the environment variable pointing to the name. You'll have to edit all of these or your applications will be broken.
Great. So what happens when you log back in? Everything is broken. You left out the most important part. How yo fix the broken OS after doing what you instructed.
i followed each and every step and it worked, Thanks bro 🎊❤️
Works fine for me. Very helpful. Thanks!
It works for me thank you so much
Good video everything worked for me and the instructoins where Nice and Easy to follow.
Please keep up the good work! Liked and subscribed!
I followed the steps perfectly but I'm getting an error after doing this. Error is "C:\Users\shand\OneDrive\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're connected to the network or Internet, and then try again. If the location still can't be found, it might have been moved or deleted" .. shand is my previous user name and I changed it by using your step but what to do with this error.. please help
Hello Vaibhav, please go to Environment Variable Setting and check if the One Drive path was change to the new username. Once you login to you OneDrive it should reestablish the connection.
@@tookootek Thank you. This ended up being very complicated, but I followed all the steps in your video plus in your comments and was finally able to get it working. It is so stupid that Microsoft chooses folder names for people without their consent. This is enough to make me never want to use OneDrive.
What folder directory was the setting ti rename the one drive folder?
Edit: 6/25/23 I just went ahead and restarted the one drive process, but I still get that one drive popup
Amazing ! Thanks for sharing
Hello. After I closed the registry editor and I opened the user document and I tried to rename in the new name I got an error which is saying “the action can t be completed because the folder or a file in it is open in another program. close the program or file and try again”.
What should I do? I don t know what it mean. I don t know where is possible to be open that folder or file 😅
Hello David! You need to logout the User account you are trying to rename. Once you log it out then you can try to rename again using the temp admin account you are using. It should solve the error, let me know otherwise.
I had to restart the computer as well then it worked.
I got the same error. I turn it off and restarted like 3 times until it works.
It is saying the folder is open i am logged in with my temporary account what do I do??
Hello! Just logout the User that you want to rename, it should work after that.
DO NOT do this. It wiped all my windows settings and it doesn’t recognize the user folder as the right one anymore. Plz save yourself from this trouble you cannot revert after (if you try using a restoring point it just gives an error). (even if you rename it back to the original name) Now my PC is just stuck on « Welcome » at the windows startup and i cant do anything.
Hello I have a problem. I tried to change username but for some reason it doesn't want to update it. And when I reopen the User Accounts editing window, the name is back to the old one..
Hello Alokas were you able to complete the REGEDIT part as well?
@@tookootek Yes, I followed the steps in the video. But when I go to netplwiz and change username, it updates on the users list there but nowhere else. Then I reopen netplwiz and the name appears as the old one, though in Properties it's still the new name..
hi hi, so i tried this and after i changed the folder name and the registry i logged back into my main account and it said [directory to old user folder name]/onedrive is not available and then when i hit "ok" on the error every single thing that was accessible goes away even the programs i have installed
Hi Jackie, can you please restart your machine and login back to your one drive. It should re establish the link to one drive.
Same problem
THIS is the correct way to do it, kudos friend.
It is showing file is opened in another program when i try to rename in file explorer how to close it.
Hi Kumar, you need to logout the User you want to rename it. If possible, only the temp admin account is login when you do the rename.
@@tookootek Thank you!
@@NeerajKumar_NK8 anytime! Thanks for watching!
Perfect. Good Stuff, No Fluff
My firfox extensions broke, and vencord required reinstallation. Firefox menu>help>more troubleshooting>refresh. Took the auto generated old profile data folder on the desktop and overwrote the new profile folder in appdata and presto all my extensions and browser data was back. Vencord i just keep the installer hanging about cuz it breaks every so often anyway, a quick uninstall/install had me going. All my games still had their saves with no work. Hope this helps.
bro how you hide or remove user folder from desktop
Hello Storm, the default location is in C:\Users, can you confirm if the User folder you referring to is an actual copy or a shortcut? You can do Right click the folder icon then Properties and select/check Hidden. That should hide the folder unless you configure to show hidden folder or files.
Can I rename the Onedrive account and change its path to match the new name?
Or do I need to make a completely new Onedrive to achieve that?
did all this step by step slowly. when i logged into the account with the changes everything was gone. so i just undid everything. not sure how some people got it to work and i wasn't able too
Great video, but I lost my desktop files after everything.
To sort it out, in case you have the same issue; log into your one drive and change the folder to the new folder.
Or just go to desktop in file explorer right click and select properties, select location, change location and hit ok
Thank You! Great solution to recover everything
said I needed admin privileges and something was open. When I went back to the registry, the profile was renamed with a .bak on the end. So, had to switch user name back.
hello, is this also applicable on Microsoft account signed in? thanks
Hello Ron, I have not tested it signed in. In theory it should work the same way only that there will be some warning about onedrive location before it sync up on the new name. You can manually set them in the environment variable setting as well if needed.
It says " the action can't be completed because the folder file in it is open in another program"
And says " close the folder or file and try again"
Please help me
Hello Farhana, please logout the user you would like to rename. You can perform the rename once you done that
This does not work for me (I do not see the folder name changed from -admin- user). Then, when I sign out and in again to my original account, Windows tells me "We cannot sign in to your account. [...]" and invites me to sign out again because otherwise changes made will be lost
Don't forget to also change the folder name directly
After this, the new username works and is renamed in both regedit and folder. however, in wmic it still lists the old username after restarting the PC
This helped! I was able to change the name of my user folder.
Glad to hear it!
Thanks brother! Worked for me. ❤
Thank u so much, bro ;) It worked
Hello sir, for me folder name is changed but some of my data deleted. And when i am typed "whoami" in command prompt it is showing old username. Could you help me, Why it is like that & how to resolve it & how to restore my data sir
Said that the user folder was not found. How do I make my account use the new one?
Hello Minix, did you try the steps laid out in the video? The User folder should be the same existing folder which you just rename in c:\Users\ and REGEDIT ProfileImagePath.
@@tookootek yes I tried that. But my account is looking for the old account path.
Hello there @@minix07 - Can you restart your unit and login using the temporary admin. Recheck the c:\Users\ then same with the REGEDIT profileimagepath. Is the new name all alphanumeric?
@@tookootek yes it is
@@tookootek
Please continue this thread, I have the same problem, except my username isn’t alphanumeric
I did everything step-by-step, it worked for me no problem.
Did you lose any data?
@@manishraj.07 Nope, everything ok
Hi. Is it risky to do this, can i lose data with this and how? i have a non-english character in the folder and a launcher doesnt like it, thats why i want to name it. is it risky or should i just install the game onto my hdd rather than my m.2 and just deal with it?
I had to reinstall my Windows due to some reason... This is safe, i have done this previously also... and I am gonna do it today as well :)
This will work however I recommend backup your data, that will give you peace of mind. Regardless of the result, you will always question it if you are unsure from the start. Nothing wrong with backup, just extra effort yet it give you assurance.
I can’t rename the folder it shows opened in somewhere
did you find the solution?
Restart the pc/laptop and then go to temporary account to again change it
Worked perfectly! Thanks a million! The question is, why that specific folder doesn't though?
Literally the best way to change the user folder name I've ever found!!! And I'm not even gonna lie.
Thanks! Worked for me
Can you somehow undo this? I can't acces anything that is stored locally like python and I can't uninstall them.
You can redo the steps, only this time you rename it back to the original. Ensure you do it in REGEDIT too. Check your environment variable as well if you are using OneDrive. Just retain your temp admin account, it should have all the privilege to do all this.
Hi!
Will the path of the subfolders be disformed? Or cause an issue to the environment variables?
Followed everything. Atlast unable to rename the folder. Error was. The folder is running in background. Stopped all programs that was running in the background l. Still didn't work
Hello, did you logout the primary account you are trying to rename?
@@tookootek no.
Worked perfectly!! Many thanks 👍
why did they change it from a simple right click and rename? or just let us choose the folder name in the first place.
Hey mate, I followed all the steps and now I don’t have my previous user account working, just Admin. I can’t rename it. Plus I have a folder named Temp I can’t get rid off.
This has just complicated my day. I would appreciate if you reached out to help me solve this issue.
Hey! you probably fixed it by now but to forcefully rename it, go back on the admin account, go to the search bar and type "cmd" and click run. Change USERNAME to your current user folder name and change NEWUSERNAME in the new name and then type this command: ren "C:\users\USERNAME" NEWUSERNAME
why my user folder can't rename?
Does this effect my log in details in outlook , onedrive etc?
Hi Paul, it will not affect it credential wise, I recommend you logout from those services before you do the rename and just login right after as you normally do.
Do i need to update my junctions?
Awesome vid!
Thanks, it really helped.
This solution is fantastic, but do you have a way to change all the software, etc.. to properly point to the newly named folder? They all error out. I was considering creating a second account and copying everything over but that will probably lead to even more issues :/ I was able to fully follow this video but in the end, 9 or so programs popped up with errors when I signed back in, plus all my windows settings/taskbar applications were reset. I easily fixed it by putting it back, but I was hoping you had a fix for this problem too.
Thanks Echospawn and your feedback is noted. Please check Environment variables and see there is/are any that still points to your old Username.
@@tookootek Is this something that has to be done with each error for each application? Or is this a fix for all at once? I am unfamiliar with environmental variables. This would be an amazing follow up video if you decide to do one. Until then, do you have any advice or potentially a suggestion as to where I can look to learn more about solving this?
There are numerous entries in the registry that you'll have to edit. I've done this before, but it is much easier to just use a tool to create a hard link to the folder name you'd prefer.
@ian1352 what do you mean a hardlink? And what software would u suggest? May end up just reformatinf again, lol..
It worked for me, many thanks ❤
If you fuck up like me go to safe mode. Right click to windows button ,run ,search “regedit” ,do the same but rename to your old name, restart
I just subscribed.. it worked perfectly
Tnx bro. You are good teacher! Just keep going! Tnaks a lot
Thank you it worked!
You're welcome!
I can rename now, but when I sign out and switch to my main account, it said "C:\Users\previous_name\OneDrive\Desktop is unavailable..." so it don't show File explorer or anything in my desktop, and when I use the command wmic useraccount get name,SID it still show the previous username
Hello there! did you complete the REGEDIT steps as well where you need to rename the ImageProfilePath? Your OneDrive should re-establish once you login to OneDrive again however first check in REGEDIT and make sure the path was renamed as well. Let me know. Thanks.
@@tookootek It doesn't find the new location. There are many more entries in the registry that have to be edited.
I am facing the same issue desktop is unavailable
I love you man
is it compulsory to backup my data before proceed to use your step?
Technical it is not, it just a precaution. Just create another admin user and transfer your data there. That will work as well. You do backup for peace of mind but not a requirement in anyway.
i lost my main account :( cant access it back again. can u create a video on how to do it
Well done thank you👏🏼👏🏼
Nice video localboss ;-)
Hi. I've followed this tutorial and it hasn't worked for me. In fact, it has failed and everything on my computer has been deleted. I followed all the steps but it said "the folder or file is open in another program". When trying to log in to my initial account, everything was the same as the new: no documents, nothing. I've lost everything I had. I need help, please. What has happened? Now both accounts are exactly the same and contain NOTHING in them.
Hello Maria, do you use One Drive? Can you please the Environment Variable if the path was still set to your initial account. The Rename does not delete your account. Please try to access them using your temporary Admin account. It should have privilege to open any folder you had in the initial account.
Thanks for the help!
Happy to help!
Used your tutorial with multiple computers and works everytime! Thank you so much.
My win stopped working
Hello Dani, can you share any error? In what step did you run into an issue? Have you tried logging in in your temp admin account? It will help others if we can identify the root cause of the issue you encounter.
It happened once I restarted the computer. I couldn't sign in into my old account, and it just gave me a new account, and everything was deleted. I tried to log in into the admin account and changed the name back to the original, and after the 2nd restart, it gave me a blue screen saying something went wrong and can't be repaired
Great video
Glad you enjoyed it
The best and the most helpful video I've seen! Thank you so much ! you saved me♥️
Glad it helped!
I found that the best way to do this, is to A. Do it on a clean reinstall of Windows 11, since the asshole demands a Microsoft account, B. have a Microsoft account with the NAME you want on your user folder, or C, do these steps AFTER a clean install and BEFORE adding your wanted software.
Thank you so much
Thanks sir...
It's Work perfectly 👍
Does it
Welcome 👍
i
cant login into my other account with other files now.
Hello There! What error you are getting? You should still be able to access your files as you have admin access in your temp account. Just look for your files under specific user in C:\Users
Now! Can i delete my first user folder in local C?
First i planned to rename but now i changed my mind i want to delete😅
Hello There Prince! What I suggest is to keep the folder for a least two weeks. That way you will know what you may miss to copy or install over on your new admin account. It is easy to delete however recovery is more of trouble sometimes.
Thanks mate
I followed all steps given by you but in user folder its showing only 5 letters of my name , i login with my microsoft account ,
Hello there! please confirm if you created a new local admin account (new user), then logout(existing user) and login next to the new admin account (new user) then rename the user folder of (existing user) in c:\Users then Regedit profileimagepath.
Can you check if your existing user User Folder in c:\Users\ corresponds to Regedit ProfileImagePath.
@@tookootek i did same but i lose my data , i logged microsoft account with mail and in user folder name is just starting 5 letter ,and windows 11 pro i using now
Thanks so much champ
U're the best
Thanks a lot, very helpful
Glad it was helpful!
I followed the same process but still the user folder can’t be renamed, it says : the folder or file is open in another program.
Please help 😢
Hello Faisal, just logout your current user that you would like to rename and it should resolve the issue. The best way is after you created the temp admin account, you shutdown and login to that account only.
Don't try it i lost everything
did you try to revert the changes ?
Same
What is the solution
@Tuann727 Yes, it didn't work i had to reinstall windows from scratch
@khushipawar898 i installed windows again
Everything worked but when everything refreshed, half of my files disappeared
Hello Rimka, is there any specific location where your files was located? Could it be under OneDrive? If it is can you please check under Environment Variable the exact path set for your OneDrive. Usually it is under C:\Users\{Username}\OneDrive
Thanks❤
Very nice 👍 thank you
Thank you too
Thank you 💚
Any time!
"The action can't be completed because the folder or a file in it is open in another program" error
When i was trying to rename the account after completing all the process.
Hello Aryan, did you signed out your existing user before you do the rename using the new admin account?
Hi! Thanks for the tutorial.
I've done all your steps but when I sign in with my "renamed account" all my installed software icon on taskbar are gone.
I can still run them from Program files folder though.
Hi Christian, thanks! I did not encountered any similar issue however thanks for mentioning it, i will see if i can replicate the same issue and find out the root cause
Dit you fix it? The same happen to me
@@CMongez not yet. I haven't tried anything after I rolled back my account name. Just pretend I don't see the user folder LOL
@@CMongezthe only way to fix this issue is my reverting it back to the original name, then you’ll be able to get all the installed stuff on there back again
I know it’s been months but for anyone who has this issue now - just pin anything to the taskbar, it will load back all the pinned apps there! (You can unpin what you’ve pinned after that)
Hope it helps☺️
ty king
Location not found of desktop folder
Hi Vishal, what specific folder is that? Does it says OneDrive related?
@@tookootek yes my desktop folder was connected to onedrive in old folder name when I changed that name to new one it's showed location not found.
This ruins the files. How to fix the problems after renaming?
@@Samuel101 i too lost all my files
Do you fix the problem
I too also lost all files
@@javisammu5641 yeah i change the name to the old one.
Thank you
Thank you very very much
You are welcome