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"