GPOTools icon indicating copy to clipboard operation
GPOTools copied to clipboard

Import-GptObject : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Open luzkenin opened this issue 4 years ago • 0 comments

Running Restore-GptPolicy -Path .\ -Name "C_MS_Server 2019" -Domain "wrrn.lab" results in an exception saying that the system cannot find the file specified.

`Import-GptObject : The system cannot find the file specified. (Exception from HRESULT: 0x80070002) At line:62 char:3

  •     Import-GptObject @common -Name $Name
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-GptObject`

luzkenin avatar Feb 01 '22 03:02 luzkenin