Win11系统Start11开始菜单工具官方卸载方法
Stardock Start11(Win11经典开始菜单工具)是一款非常好的win11系统开始菜单修改工具,可以完美修改成win7和win10的开始菜单样式,但是有时候用旧了像换回win11原版开始菜单,发现卸载是个问题,卸载程序里无法完成卸载,而且文件夹也无法删除。粉碎文件夹后也是不行,遗留很多注册表和其他系统的文件。其实这个原因还是用了俄罗斯大神的破解版的Stardock Start11。原版还是可以卸载的,可以尝试覆盖安装原版再卸载,也可以通过下面方法卸载。
复制下面代码到记事本,将记事本txt改名为bat,然后右键以管理员身份运行即可完美卸载。这个代码是官方发布的卸载方法,可以放心使用,而且还可以卸载Stardock Start8,Stardock Start10等版本。
@echo off
:: BatchGotAdmin credit: https://sites.google.com/site/eneerge/scripts/batchgotadmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin ):UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs""%temp%\getadmin.vbs"
exit /B:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------::Get Install path
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Misc\Start11" /V Path`
) DO SET S11installpath64=%%M
)
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Stardock\Misc\Start11" /V Path`
) DO SET S11installpath32=%%M
)
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Misc\Start10" /V Path`
) DO SET S10installpath64=%%M
)
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Stardock\Misc\Start10" /V Path`
) DO SET S10installpath32=%%M
)
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Misc\Start8" /V Path`
) DO SET S8installpath64=%%M
)
FOR /F "usebackq tokens=2,* skip=2" %%L IN (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Stardock\Misc\Start8" /V Path`
) DO SET S8installpath32=%%M
)Set S11DefaultPath64=C:\Program Files (x86)\Stardock\Start11
Set S11DefaultPath32=C:\Program Files\Stardock\Start11Set S10DefaultPath64=C:\Program Files (x86)\Stardock\Start10
Set S10DefaultPath32=C:\Program Files\Stardock\Start10
Set S8DefaultPath64=C:\Program Files (x86)\Stardock\Start8
Set S8DefaultPath32=C:\Program Files\Stardock\Start8::Kill explorer, services, and tasks
taskkill /f /im explorer.exe::Start11
net stop "Stardock start11"
sc delete start11
taskkill /f /im start11.exe 2> nul
taskkill /f /im start11Srv.exe 2> nul
taskkill /f /im Start11_64.exe 2> nul::Start10
net stop "Stardock start10"
sc delete start10
taskkill /f /im start10.exe 2> nul
taskkill /f /im start10Srv.exe 2> nul
taskkill /f /im Start10_64.exe 2> nul::Start8
net stop "Stardock Start8"
sc delete Start8
taskkill /f /im start8.exe 2> nul
taskkill /f /im start8Srv.exe 2> nul
taskkill /f /im Start8_64.exe 2> nul::Wipe the registry
::Start11
reg query HKEY_CURRENT_USER\Software\Stardock\start11\
if not ErrorLevel 1 (
reg delete HKEY_CURRENT_USER\Software\Stardock\start11\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start11\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start11\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\start11\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\start11\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start11\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start11\ /f
) else (
echo.
)
::Start10
reg query HKEY_CURRENT_USER\Software\Stardock\start10\
if not ErrorLevel 1 (
reg delete HKEY_CURRENT_USER\Software\Stardock\start10\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start10\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start10\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\start10\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\start10\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start10\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\start10\ /f
) else (
echo.
)
::Start8
reg query HKEY_CURRENT_USER\Software\Stardock\Start8\
if not ErrorLevel 1 (
reg delete HKEY_CURRENT_USER\Software\Stardock\Start8\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\Start8\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\Start8\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Start8\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Start8\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\Start8\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Wow6432Node\Stardock\Misc\Start8\ /f
) else (
echo.
)reg query HKEY_LOCAL_MACHINE\Software\Stardock\Misc\Start8\
if not ErrorLevel 1 (
reg delete HKEY_LOCAL_MACHINE\Software\Stardock\Misc\Start8\ /f
) else (
echo.
)
::Unregister DLLs::Start11
IF EXIST "%S11installpath64%\Start11_32.dll" regsvr32 /s /u "%S11installpath64%\Start11_32.dll"
IF EXIST "%S11installpath32%\Start11_32.dll" regsvr32 /s /u "%S11installpath32%\Start11_32.dll"
IF EXIST "%S11installpath64%\start11_64.dll" regsvr32 /s /u "%S11installpath64%\start11_64.dll"
IF EXIST "%S11installpath32%\start11_64.dll" regsvr32 /s /u "%S11installpath32%\start11_64.dll"
IF EXIST "%S11installpath64%\Start11Shell32.dll" regsvr32 /s /u "%S11installpath64%\Start11Shell32.dll"
IF EXIST "%S11installpath32%\Start11Shell32.dll" regsvr32 /s /u "%S11installpath32%\Start11Shell32.dll"
IF EXIST "%S11installpath64%\Start11Shell64.dll" regsvr32 /s /u "%S11installpath64%\Start11Shell64.dll"
IF EXIST "%S11installpath32%\Start11Shell64.dll" regsvr32 /s /u "%S11installpath32%\Start11Shell64.dll"::Start10
IF EXIST "%S10installpath64%\Start10_32.dll" regsvr32 /s /u "%S10installpath64%\Start10_32.dll"
IF EXIST "%S10installpath32%\Start10_32.dll" regsvr32 /s /u "%S10installpath32%\Start10_32.dll"
IF EXIST "%S10installpath64%\start10_64.dll" regsvr32 /s /u "%S10installpath64%\start10_64.dll"
IF EXIST "%S10installpath32%\start10_64.dll" regsvr32 /s /u "%S10installpath32%\start10_64.dll"
IF EXIST "%S10installpath64%\Start10Shell32.dll" regsvr32 /s /u "%S10installpath64%\Start10Shell32.dll"
IF EXIST "%S10installpath32%\Start10Shell32.dll" regsvr32 /s /u "%S10installpath32%\Start10Shell32.dll"
IF EXIST "%S10installpath64%\Start10Shell64.dll" regsvr32 /s /u "%S10installpath64%\Start10Shell64.dll"
IF EXIST "%S10installpath32%\Start10Shell64.dll" regsvr32 /s /u "%S10installpath32%\Start10Shell64.dll"
::Start8
IF EXIST "%S8installpath64%\Start8_32.dll" regsvr32 /s /u "%S8installpath64%\Start8_32.dll"
IF EXIST "%S8installpath32%\Start8_32.dll" regsvr32 /s /u "%S8installpath32%\Start8_32.dll"
IF EXIST "%S8installpath64%\start8_64.dll" regsvr32 /s /u "%S8installpath64%\start8_64.dll"
IF EXIST "%S8installpath32%\start8_64.dll" regsvr32 /s /u "%S8installpath32%\start8_64.dll"
IF EXIST "%S8installpath64%\Start8Shell32.dll" regsvr32 /s /u "%S8installpath64%\Start8Shell32.dll"
IF EXIST "%S8installpath32%\Start8Shell32.dll" regsvr32 /s /u "%S8installpath32%\Start8Shell32.dll"
IF EXIST "%S8installpath64%\Start8Shell64.dll" regsvr32 /s /u "%S8installpath64%\Start8Shell64.dll"
IF EXIST "%S8installpath32%\Start8Shell64.dll" regsvr32 /s /u "%S8installpath32%\Start8Shell64.dll"::Clean license data
::Start11
IF EXIST "%S11installpath64%" "%S11installpath64%\SdDisplay.exe" -deactivate -prodID=2663 -prodName="Start11" -company="Stardock" -prodVer="1"
IF EXIST "%S11installpath32%" "%S11installpath32%\SdDisplay.exe" -deactivate -prodID=2663 -prodName="Start11" -company="Stardock" -prodVer="1"
IF EXIST "%ProgramData%\Stardock\start11\*.*" del "%ProgramData%\Stardock\start11\*.*"/s /q
IF EXIST "%ProgramData%\Stardock\start11\" RMDIR "%ProgramData%\Stardock\start11\" /s /q
::Start10
IF EXIST "%S10installpath64%" "%S10installpath64%\SdDisplay.exe" -deactivate -prodID=2623 -prodName="Start10" -company="Stardock" -prodVer="1.54"
IF EXIST "%S10installpath32%" "%S10installpath32%\SdDisplay.exe" -deactivate -prodID=2623 -prodName="Start10" -company="Stardock" -prodVer="1.54"
IF EXIST "%ProgramData%\Stardock\start10\*.*" del "%ProgramData%\Stardock\start10\*.*"/s /q
IF EXIST "%ProgramData%\Stardock\start10\" RMDIR "%ProgramData%\Stardock\start10\" /s /q
IF EXIST "%ProgramData%\Stardock\S102\" RMDIR "%ProgramData%\Stardock\S102\" /s /q
IF EXIST "%ProgramData%\Stardock\Registrations\start10*.bin" del "C:\ProgramData\Stardock\Registrations\start10*.bin" /s /q
IF EXIST "%ProgramData%\Stardock\Registrations\start10*.*" del "%ProgramData%\Stardock\Registrations\start10*.*" /s /q::Start8
IF EXIST "%S8installpath64%" "%S8installpath64%\SdDisplay.exe" -deactivate -prodID=2267 -prodName="Start8" -company="Stardock" -prodVer="1.56"
IF EXIST "%S8installpath32%" "%S8installpath32%\SdDisplay.exe" -deactivate -prodID=2267 -prodName="Start8" -company="Stardock" -prodVer="1.56"
IF EXIST "%ProgramData%\Stardock\start8\*.*" del "%ProgramData%\Stardock\start8\*.*"/s /q
IF EXIST "%ProgramData%\Stardock\start8\" RMDIR "%ProgramData%\Stardock\start8\" /s /q
IF EXIST "%ProgramData%\Stardock\S8\" RMDIR "%ProgramData%\Stardock\S8\" /s /q
IF EXIST "%ProgramData%\Stardock\Registrations\start8*.bin" del "C:\ProgramData\Stardock\Registrations\start10*.8" /s /q
IF EXIST "%ProgramData%\Stardock\Registrations\start8*.*" del "%ProgramData%\Stardock\Registrations\start8*.*" /s /q::Call uninstaller
(
echo MSGBOX "Start 8/10 is about to uninstall. If asked to reboot, select 'No'. Select [OK] to continue." > %temp%\TEMPmessage.vbs
call %temp%\TEMPmessage.vbs
del %temp%\TEMPmessage.vbs /f /q
)IF EXIST "%S11installpath64%" "%S11installpath64%\uninstall.exe" /u:"%S11installpath64%\uninstall\uninstall.xml"
IF EXIST "%S11installpath32%" "%S11installpath32%\uninstall.exe" /u:"%S11installpath32%\uninstall\uninstall.xml"IF EXIST "%S10installpath64%" "%S10installpath64%\uninstall.exe" /u:"%S10installpath64%\uninstall\uninstall.xml"
IF EXIST "%S10installpath32%" "%S10installpath32%\uninstall.exe" /u:"%S10installpath32%\uninstall\uninstall.xml"
IF EXIST "%S8installpath64%" "%S8installpath64%\uninstall.exe" /u:"%S8installpath64%\uninstall\uninstall.xml"
IF EXIST "%S8installpath32%" "%S8installpath32%\uninstall.exe" /u:"%S8installpath32%\uninstall\uninstall.xml"
::Remove program files
IF EXIST "%S11installpath64%\*.*" del "%S11installpath64%\*.*" /q
IF EXIST "%S11installpath64%" RMDIR "%S11installpath64%" /s /qIF EXIST "%S11installpath32%\*.*" del "%S11installpath32%\*.*" /q
IF EXIST "%S11installpath32%" RMDIR "%S11installpath32%" /s /q
IF EXIST "%S10installpath64%\*.*" del "%S10installpath64%\*.*" /q
IF EXIST "%S10installpath64%" RMDIR "%S10installpath64%" /s /qIF EXIST "%S10installpath32%\*.*" del "%S10installpath32%\*.*" /q
IF EXIST "%S10installpath32%" RMDIR "%S10installpath32%" /s /qIF EXIST "%S8installpath64%\*.*" del "%S8installpath64%\*.*" /q
IF EXIST "%S8installpath64%" RMDIR "%S8installpath64%" /s /qIF EXIST "%S8installpath32%\*.*" del "%S8installpath32%\*.*" /q
IF EXIST "%S8installpath32%" RMDIR "%S8installpath32%" /s /qIF EXIST "%S10defultpath64%\*.*" del "%S10defultpath64%\*.*" /q
IF EXIST "%S10defultpath64%" RMDIR "%S10defultpath64%" /s /qIF EXIST "%S10defultpath32%\*.*" del "%S10defultpath32%\*.*" /q
IF EXIST "%S10defultpath32%" RMDIR "%S10defultpath32%" /s /qIF EXIST "%S8defultpath64%\*.*" del "%S8defultpath64%\*.*" /q
IF EXIST "%S8defultpath64%" RMDIR "%S8defultpath64%" /s /qIF EXIST "%S8defultpath32%\*.*" del "%S8defultpath32%\*.*" /q
IF EXIST "%S8defultpath32%" RMDIR "%S8defultpath32%" /s /q::CLean start menu
IF EXIST "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start11.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start11.lnk"
IF EXIST "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start10.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start10.lnk"
IF EXIST "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start8.lnk" del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Stardock\Start8.lnk"start explorer.exe
(
echo MSGBOX "Purge complete. Please restart your PC. Select [OK] to continue." > %temp%\TEMPmessage.vbs
call %temp%\TEMPmessage.vbs
del %temp%\TEMPmessage.vbs /f /q
)