--- title: "Stop-VBRWindowsGuestItemRestore" description: "Stops Windows guest OS file restore session initiated with the Start-VBRWindowsGuestItemRestoreStarts restore of Microsoft Windows guest OS files and folders to the original or new location. cmdlet." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/stop-vbrwindowsguestitemrestore.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Guest OS File Recovery > Stop-VBRWindowsGuestItemRestore" dateModified: "2026-08-19" --- # Stop-VBRWindowsGuestItemRestore ## Short Description Stops Windows guest OS file restore session initiated with the [`Start-VBRWindowsGuestItemRestore`](start-vbrwindowsguestitemrestore.md) cmdlet. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VBRWindowsGuestItemRestore -ItemSession [] ``` ## Detailed Description Stops Windows guest OS file restore session initiated with the [`Start-VBRWindowsGuestItemRestore`](start-vbrwindowsguestitemrestore.md) cmdlet. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ItemSession

Specifies the running Windows guest OS file restore session that you want to stop.

Accepts the VBRItemSession object. To get this object, run the Start-VBRWindowsGuestItemRestore cmdlet with the RunAsync parameter set.

VBRItemSession

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Stopping Restore Session for Windows VM Guest OS Files This example shows how to stop a restore session for Windows VM guest OS files. During the session, files are restored to the specified folder. ``` $backup = Get-VBRBackup $restorepoint = Get-VBRRestorePoint -Backup $backup -Name "Production VM" $session = Start-VBRWindowsFileRestore -RestorePoint $restorepoint $restoresession = Start-VBRWindowsGuestItemRestore -Path "C:\Files\" -FileRestore $session -RestorePolicy Keep -RunAsync Stop-VBRWindowsGuestItemRestore -ItemSession $restoresession ``` Perform the following steps: 1. Run the [`Get-VBRBackup`](get-vbrbackup.md) cmdlet. Save the result to the `$backup` variable. 2. Run the [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) cmdlet. Set the `$backup` variable as the `Backup` parameter value. Specify the `Name` parameter value. Save the result to the `$restorepoint` variable. 3. Run the [`Start-VBRWindowsFileRestore`](start-vbrwindowsfilerestore.md) cmdlet. Set the `$restorepoint` variable as the `RestorePoint` parameter value. Save the result to the `$session` variable. 4. Run the [`Start-VBRWindowsGuestItemRestore`](start-vbrwindowsguestitemrestore.md) cmdlet. Save the result to the `$restoresession` variable. Specify the following settings: - Specify the `Path` parameter value. - Set the `$session` variable as the `FileRestore` parameter value. - Set the `Keep` option for the `RestorePolicy` parameter. - Provide the `RunAsync` parameter. 5. Run the `Stop-VBRWindowsGuestItemRestore` cmdlet. Set the `$restoresession` variable as the `ItemSession` parameter value. :::