tocOn this page 8 sections
To move from a home PC to a Windows VPS, start by listing everything the PC does: installed apps, licenses, scheduled jobs, startup items and open ports. Then copy your data with robocopy over a redirected RDP drive or through cloud storage, and rebuild the apps on the VPS. Run both machines side by side until the VPS has handled a full cycle of your work. Only after that should you point DNS, webhooks and users at the VPS and retire the PC. The ten steps below include the PowerShell to run on each machine.
Steps 1-3: Inventory the Home PC
1. List installed software
On the home PC, open PowerShell as administrator and create a working folder, C:\migrate. Export a winget package list, plus a full list from the registry that also catches apps winget doesn't know:
New-Item C:\migrate\tasks -ItemType Directory -Force
winget export -o C:\migrate\apps.json --include-versions
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*,
HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*,
HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName |
Select-Object DisplayName, DisplayVersion, Publisher |
Sort-Object DisplayName |
Export-Csv C:\migrate\installed.csv -NoTypeInformation
2. Capture scheduled tasks and startup items
Jobs that ran quietly on the PC are the easiest thing to forget. Export your own tasks (not Microsoft's) as XML, and record what starts at sign-in:
Get-ScheduledTask | Where-Object TaskPath -notlike '\Microsoft\*' | ForEach-Object {
Export-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath |
Out-File "C:\migrate\tasks\$($_.TaskName).xml"
}
Get-CimInstance Win32_StartupCommand |
Select-Object Name, Command, Location |
Export-Csv C:\migrate\startup.csv -NoTypeInformation
3. Record settings that don't live in your files
[Environment]::GetEnvironmentVariables('User') | Out-File C:\migrate\env-user.txt
Copy-Item C:\Windows\System32\drivers\etc\hosts C:\migrate\hosts.txt
Get-SmbMapping | Out-File C:\migrate\drives.txt
cmdkey /list | Out-File C:\migrate\saved-creds.txt
Get-NetTCPConnection -State Listen | Select-Object LocalPort, OwningProcess -Unique
cmdkey lists saved credentials but cannot export the passwords. Have those passwords ready to type in again. The listening ports tell you which inbound firewall rules the VPS will need.
Step 4: Check Licenses and Hardware Dependencies
Go through installed.csv and flag anything that depends on the physical PC:
- Hardware-bound activation: deactivate the app on the PC before you install it on the VPS, or you may use up an activation.
- USB dongles, webcams, scanners and GPU work: a VPS has no local USB or desktop GPU. Find a software license or another way to do the job.
- Desktop-only apps: some consumer software refuses to install on Windows Server. Test each critical app on the VPS before you rely on it. If your tools are mostly cross-platform, read matching the OS to your software first.
Step 5: Prepare the VPS Before You Copy Anything
Connect over RDP and secure the server first. Create a named admin account, use a strong password and limit RDP exposure. The Windows Server hardening checklist covers each step. Then match the time zone so scheduled jobs fire at the same local times as before:
Get-TimeZone -ListAvailable | Select-Object Id, DisplayName
Set-TimeZone -Id "W. Europe Standard Time"
Step 6: Move the Data
For small and medium data sets, use RDP drive redirection. In the Remote Desktop client on the PC, open Show Options > Local Resources > More and tick the drive that holds your data. Inside the VPS session it appears as \\tsclient\D:
robocopy \\tsclient\D\Work C:\Data\Work /E /Z /R:2 /W:5 /MT:8 /LOG:C:\migrate\copy.log /TEE
/Z lets interrupted copies resume. Re-running the same command copies only what changed, which is useful for a final sync at cutover. Redirection is slow for many gigabytes. For larger sets, compress the folders into archives and move them through cloud storage with rclone on Windows Server. Check large archives with Get-FileHash -Algorithm SHA256 on both machines and compare the hashes.
Step 7: Rebuild Apps and Tasks
Copy C:\migrate to the VPS. If winget is available on your Server build, reinstall from the export. Install anything it misses by hand from the CSV:
winget import -i C:\migrate\apps.json --accept-package-agreements --accept-source-agreements
Before importing tasks, open each XML file and change <UserId> from your home PC account to the VPS account. Then register them and add the firewall rules your listening ports require:
Get-ChildItem C:\migrate\tasks\*.xml | ForEach-Object {
Register-ScheduledTask -Xml (Get-Content $_.FullName -Raw) -TaskName $_.BaseName
}
New-NetFirewallRule -DisplayName "MyApp 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow
Step 8: Replace Desktop Habits
On a home PC, apps stay open because you never sign out. On a VPS, close the RDP window to disconnect. Choosing Sign out ends the session and every app in it. Anything that must survive a reboot should run as a scheduled task with an At startup trigger or as a Windows service, not from the Startup folder.
Steps 9-10: Run in Parallel, Then Cut Over
Keep both machines running for at least one full work cycle (a day, a week or a month-end, whichever your jobs depend on). Shortly before switching, lower the DNS TTL on any records that point at your home IP. At cutover, stop the apps on the PC and run the robocopy command once more. Then update DNS, webhook URLs and any IP allow-lists to the VPS's public IP. Keep the PC untouched for a week as a fallback, then deactivate the remaining licenses and wipe it. For more setups people run this way, see our Windows RDP VPS guide.
FAQ
Can I clone my home PC's disk straight onto the VPS?
We don't recommend it. A home PC image has drivers for different hardware and a desktop Windows license tied to that machine. Rebuilding with the inventory above gives you a cleaner server and fewer boot and activation problems.
How long does a migration like this take?
Inventory and VPS setup usually take a few hours. Most of the time goes into copying data and testing apps. Plan the parallel run around your longest recurring job.
Why did my apps close after I left the VPS?
You probably signed out instead of disconnecting. Close the RDP window to disconnect, and move critical apps to services or startup tasks so they also come back after a reboot.
Run this on your own Windows VPS
Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.
Written by the WindowsVPS Team
We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.