diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 1433dd15..6efd5f10 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -80,7 +80,7 @@ class Context { $userKey = Get-Item "HKCU:\"; } - return Get-Item $userKey "$userKey\Software\Microsoft\Windows\CurrentVersion\RunOnce"; + return Get-Item "$userKey\Software\Microsoft\Windows\CurrentVersion\RunOnce"; } [void] RegisterReboot() {