From 06745a243a68cb313544690ca5abccd3122d656d Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Tue, 4 Aug 2015 21:06:32 +0200 Subject: [PATCH] remove onedrive startmenu entry --- scripts/remove-onedrive.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/remove-onedrive.ps1 b/scripts/remove-onedrive.ps1 index 260895e..897b4c1 100644 --- a/scripts/remove-onedrive.ps1 +++ b/scripts/remove-onedrive.ps1 @@ -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" \ No newline at end of file +start "explorer.exe"