remove onedrive startmenu entry

This commit is contained in:
Alex Hirsch 2015-08-04 21:06:32 +02:00
parent 6142038e66
commit 06745a243a

View File

@ -31,5 +31,8 @@ $reg | Out-File $regfile
regedit /s $regfile
rm $regfile
echo "Removing startmenu entry"
rm "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk"
echo "Restarting explorer"
start "explorer.exe"
start "explorer.exe"