Invoke-Reprofile
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVHbVESf_e3jJWYyEfRIh7k4Uona4yq7MIWtob6uGQxI5NkjgMk1tIAU90uLuPK_SzOmIAX6BnSI2XNE-RKds7VK2hdq41LrKRa4hN6lvrH37rYx3VWorucnWs4oGhFD4VAeRINf4HFbU/s640/Invoke-Reprofile.png)
Invoke-Reprofile Fix Corrupted User's Profiles with PowerShell By Michael J. Thomas Troubleshooting a user's profile is sometimes hard to pin point out where the problem is and that is why a lot of us techs will use the technique of re-profiling the user's profile and copying just their data back. To do this process of re-profiling a user manually, I will demonstrate this process with a user account named Ed. I would do the following steps to fix his corrupted profile: Logoff Ed Login with an Admin Account Rename C:\Users\Ed to C:\Users\Ed.old Edit the Registry HKLM:\Software\Microsoft\Windows NT\CurrentVersion\ProfileListNow\SID and find Ed's SID and rename it to the SID.old. Logoff Admin Account Login Ed to Create a New Profile for him. Copy Ed's Data from Ed.Old Folder to his New User Profile. I automated the process by creating a PowerShell Script that can fix it remotely. The script renames the user's profile to user.old, backups the