清掃清運系統的應用程序

下面是步驟清潔除塵系統的應用程序 (旁路錯誤0x80073CFA) :

  1. Try removing the system package using Remove-AppxPackage
    Remove-AppxPackage cortana windows 10
  2. Run cmd as SYSTEM using PsExec (https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx) in an elevated command prompt psexec -i -s cmd
  3. Copy %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd to the Desktop (do make a backup)
    copy %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd %USERPROFILE%\Desktop
    
  4. Toggle IsInbox to 0
    Remove-AppxPackage cortana windows 10 個人計算機卸載柯塔娜窗口 10
  5. Kill sihost.exe and the svchost.exe instance that shares the same PID as the StateRepository service (cannot be stopped via usual methods)
    taskkill /im sihost.exe /f
    FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /f
    
  6. Ignore the warning window, note that Start Menu will not work until reboot
    卸載柯塔娜窗口 10 個人計算機
  7. Delete %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.* (including the SQLite temp files). This would not work until step 5 is done properly.
    del %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.*
    
  8. Copy the edited StateRepository-Machine.srd to %ProgramData%\Microsoft\Windows\AppRepository\
    copy %USERPROFILE%\Desktop\StateRepository-Machine.srd %ProgramData%\Microsoft\Windows\AppRepository\
    
  9. Restart the StateRepository service and try removing the system package again
    sc start StateRepository
    

    卸載柯塔娜窗口 10 個人計算機 2

  10. Reboot to restore the Start Menu

管理

發表評論

您的電子郵件地址不會被公開. 必需的地方已做標記 *