Forum Discussion
Ryan0000
Dec 08, 2021Copper Contributor
Powershell Script to move Profile, Mapped Drives, Printers, and Files
I'm trying to find some example scripts to migrate Windows 10 user profiles to a new computer, but haven't had any luck with my searches. I just started a new job and have about 60 desktops to swap ...
Jan 29, 2022
You can migrate a lot of things, but certain things could/should be configured in the domain.
- Drive mappings should be set using Group Policy or login scripts, Homedirectory can be mapped in the account settings of the user in Active Directory
- Printers can be added by the user themselves using Add Printer, Search and you could configure a Group Policy to automatically select Active Directory published printers. It's just a search and double-click action for the user to select and add the printer
- Bookmarks can be in the user profile within the browser (Google Chome or Edge)
- You could use MDT in combination with User State Migration tool (https://docs.microsoft.com/en-us/windows/deployment/usmt/getting-started-with-the-user-state-migration-tool) to backup the user profile and restore it while imaging new machines?
Inventory of the applications is something you could do with scripting (Something like https://social.technet.microsoft.com/wiki/contents/articles/54279.how-to-create-a-software-inventory-report-using-powershell-step-by-step.aspx). For the DHCP reservations you can inventory the old computer names and let the new computers receive a DHCP lease and convert it to a reservation using the old ip-address (Remove the previous reservation just before that moment)