@ -13,5 +13,5 @@ Windows Registry Editor Version 5.00
"@
$regfile = "$env:windir\Temp\registry.reg"
$reg | Out-File $regfile
regedit /s $regfile
rm $regfile
Start-Process "regedit.exe" -ArgumentList ("/s", "$regfile") -Wait
@ -16,5 +16,5 @@ Windows Registry Editor Version 5.00
@ -68,5 +68,5 @@ Windows Registry Editor Version 5.00
@ -28,7 +28,7 @@ Windows Registry Editor Version 5.00
echo "Removing startmenu entry"