win10開始選單沒反應,Add-Appx意外,加磁貼失敗?

這裡和:

Add-AppxPackage : 部署失敗,原因是 HRESULT: 0x80073CF6, 無法註冊包。錯誤 0x8000FFFF: 由於出現意外錯誤,新增磁貼失敗。

有關

(當你powershell執行命令Get-AppXPackage -AllUsers Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}時)

這是因為一個數據庫的損壞導致的,同時這個資料庫也跟開始選單的正常與否有關

,要解決這個問題只能通過刪除C:\Users\Administrator\AppData\Local\TileDataLayer\Database

才能行,同時也解決了開始選單沒反應的問題

請看往下,你會了解有關係的這麼一過程:

工具/原料

win10

方法/步驟

(1)進入C:\Users\你的登入名\AppData\Local\TileDataLayer\Database

刪除掉vedatamodel.edb這個檔案

(2)也可以刪除Database整個資料夾

你會發現點選選單,什麼都沒有。但是開始選單已經有反應了

登出或重啟之後:

它會產生所有應用的列表。

但是微軟本身的應用沒有了。

所以只能通過powershell管理員執行命令Get-AppXPackage -AllUsers Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}了

它會在所有應用列表那裡產生圖示

但是磁貼還是空的,這要看你的需要了:

在所有應用列表一個個找

並通過右鍵選擇

固定到開始螢幕

(1)可能需要到新建賬戶:

這裡有可能關係到以下引用經驗,當你登入不了遇到User Profile Service服務未能登入,無法登入的時候要用到的。

(2)

當兩個賬戶用同一主資料夾時(也就是用同一配置檔案)

表現為動態鎖定(備份狀態的)配置檔案的,如果是互鎖的檔案,導致只能一個登入,登入一賬號則變為對方狀態(包括備份狀態的配置檔案檔案、配置檔案大小(反轉的相補狀態)、登錄檔裡面也會動態改變、等各種資訊)

要可能結合引用經驗並更改主資料夾許可權才得,目前不知對不對。

87 User Profile Service服務未能登入,無法登入

方法二、新建賬戶替換vedatamodel.edb法

1、新建一個新帳戶,使用者組選項設定為管理員;

2、登入新建的使用者;

3、回到原來賬戶(出問題的),從

C:\Users\新的使用者名稱\AppData\Local\TileDataLayer\Database

複製出vedatamodel.edb

4、進入新的賬戶,再把複製出來的vedatamodel.edb複製到

C:\Users\出問題的使用者名稱\AppData\Local\TileDataLayer\Database

下。

可以了。

總之就是用新建的正常賬戶的Database替換出問題的賬戶的Database

新建賬戶的話也可以通過貼上命令,(TempAdmin1替換為你將要設定的使用者名稱,password1替換為你將要設定的密碼)

首先通過win+x再選擇命令提示符(管理員)A

net user "TempAdmin1" "password1" /add

net localgroup administrators "TempAdmin1" /add

之後刪除新建的賬戶就可以了

英文原版:

Login to your current profile

Press Win+X, and select "Command Prompt (Admin)"

Enter the following commands, in this order

net user "TempAdmin1" "password1" /add

net user "TempAdmin2" "password2" /add

net localgroup administrators "TempAdmin2" /add

Press Ctrl+Alt+Del, click Sign Out

Login to the "TempAdmin1" account using password "password1"

Logout, and then login to the "TempAdmin2" account, using "password2" (note: you must fully sign out, not just switch users)

Open File Explorer, select View, then check the box marked "Hidden Items"

Navigate to C:\Users\TempAdmin1\AppData\Local\TileDataLayer (click "continue" to gain access when prompted)

Right Click the folder "Database" & Copy

Now, navigate to the same folder for your damaged profile (C:\Users\YOUR_USERNAME\AppData\Local\TileDataLayer)

Right click "Database", and rename to "Database.BAD"

Right click empty area in the folder, and select Paste

Reboot, then sign back in with your original profile.

Now, assuming all is well, you want to delete the two accounts you created:

Win+X → Control Panel → User Accounts → Manage Another Account

Select Account, then "Delete Account"

Brief explanation:

Your TileDataLayer database is damaged

You need a new TileDataLayer database

Create a new user (user A), and login with it (a new database will be created). Proceed with this procedure only if the Start Menu and all other apps are working correctly as user A.

Because the database is locked when you're logged in, you create user B (with access to user A's profile and your user profile)

Rename the old database, and copy the new database from user A to your profile

Logout from user B, and your account should work again

注意事項

謝謝閱讀

相關問題答案