0

I installed windows few days ago and set user name as [FirstName] [Last Name], some commands had problems to execute from CMD because my username had space in the middle. I logged in using administrator and renamed the folder to [My Nickname], after that I'm geetting error that setup can't find directory C:\Users\[First Name] [Last Name]\... and when I try to search from start menu, it's not able to find anything

any ideas?

Arkadi
  • 101
  • 2

1 Answers1

0

You must also do some registry changes to make windows recognize the new userprofile.

  • Go to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

  • Open cmd and run command whoami /user and note your SID.

  • Now in the subkey that is your SID, there is a key named ProfileImagePath change it to new userprofile path. Then restart.

wasif
  • 9,176