Remove RunOnce
key on deregistering
This commit is contained in:
parent
805394463a
commit
13e5346063
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Context {
|
|||
}
|
||||
|
||||
[void] DeregisterNewUserReboot() {
|
||||
$this.ProcessDefaultUserKey({ param ($root) Remove-ItemProperty -Path $this.GetRunOnceKey($root).PSPath $this.RunOnceName });
|
||||
$this.ProcessDefaultUserKey({ param ($root) Remove-Item -Path $this.GetRunOnceKey($root).PSPath });
|
||||
}
|
||||
|
||||
[void] Reboot() {
|
||||
|
|
Loading…
Reference in a new issue