Changing A Windows 10 User Account Name (Profile) and Folder Path (It didn't work)

This is a very short post on something I posted a few days ago re; trying to change the name and path of a user account after it has been created on Windows 10. You can read that here.

For me most things worked. Applications which were not acting correctly could simply be reinstalled. From my day-to-day work VS Code needed a reinstall and Docker Desktop need my username adding to the "docker-users" before it would start under my user. These were simple to fix.

However, I could not get Windows Search to have the same "full index" as it once had. I tried rebuilding the index from "Indexing Options" in Control Panel. I tried running System File Checker - which did find some issues and resolve them. But this is not help the index issue in the end.

Rather than spending more time on this problem I decided to bite the bullet; delete my account and create a new one with the name I wanted. If I used the same trick as outlined here to create a temp admin account, I wouldn't be restricted from deleting the old account and associated files under the [C:\Users\"user_name"] path.

Fig 1. New User Dialog in Computer Management on Windows 10

After the old account was deleted, I used the "New User" Dialog Window from the "Computer Management" by right clicking on users folder on the left. From there I created the account with the username I wanted. Later it can be linked to a windows account when you log in.

Sorted! Now to install all the programs I use day-to-day....:(