diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 0e570f4e..bb3205ff 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -83,7 +83,7 @@ class Context { Push-Location $userKey.PSPath; $result = Get-Item "Software\Microsoft\Windows\CurrentVersion\RunOnce"; Pop-Location; - return $result; + return $result.PSPath; } [void] RegisterReboot() {