Powershell Script Error - A specified Logon session does not exist

Viewed 20

I am trying to export the STARTLAYOUT.XML file from Windows 10 computer. I issue the following command in Powershell which is logged in as a local admin user.

Powershell Admin I enter the local admin username and password Run the command >Export-Startlayout c:\startlayout.xml

Error

Export-Startlayout: A specified logon session does not exist. It may already have been terminated. At line1 Char1

Any ideas guys. I have not had issues like this before. These are Autopilot Intune joined AAD devices.

0 Answers
Related