PowerShell script exchange
Post Reply
ks.any.cloud
Service Provider
Posts: 49
Liked: 3 times
Joined: Mar 04, 2021 2:17 pm
Full Name: Kim Svane
Location: Denmark
Contact:

ExplorerManagementService: Failed to create Explorer session

Post by ks.any.cloud »

Hi guys

im writing a script to restore latest SQL backup to a file, and i got some errors so i tried to run the commands in powershell and got the result below.

Commands:

Code: Select all

Get-VESQLRestoreSession
$restorepoint = Get-VBRApplicationRestorePoint -SQL -Name "Veeam" | Sort-Object –Property CreationTime –Descending | Select-Object -First 1
Start-VESQLRestoreSession -RestorePoint $restorepoint
Result:

Code: Select all

Start-VESQLRestoreSession : ExplorerManagementService: Failed to create Explorer session
At line:1 char:1
+ Start-VESQLRestoreSession -RestorePoint $restorepoint
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Start-VESQLRestoreSession], Exception
    + FullyQualifiedErrorId : System.Exception,Veeam.SQL.PowerShell.StartVESQLDatabaseRestoreSessionCmdlet
I have installed SQL browser, but that did not solve the issue.
Kim Svane @ any.cloud
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: ExplorerManagementService: Failed to create Explorer session

Post by oleg.feoktistov »

Hi Kim,

In your further posts please use </> label to wrap your script examples and errors in code tags to make it clearer.
As for the issue, I do remember several bugs related to this powershell exception, but it is hard to find precise root cause without viewing the logs. Please open a support case and share its id here so that we could follow it up closely.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests