這里和:Add-AppxPackage : 部署失敗,原因是 HRESULT: 0x80073CF6, 無(wú)法注冊(cè)包。錯(cuò)誤 0x8000FFFF: 由于出現(xiàn)意外錯(cuò)誤,添加磁貼失敗。有關(guān)(當(dāng)你powershell執(zhí)行命令Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}時(shí))
這是因?yàn)橐粋€(gè)數(shù)據(jù)庫(kù)的損壞導(dǎo)致的,同時(shí)這個(gè)數(shù)據(jù)庫(kù)也跟開始菜單的正常與否有關(guān),要解決這個(gè)問(wèn)題只能通過(guò)刪除C:\Users\Administrator\AppData\Local\TileDataLayer\Database,才能行,同時(shí)也解決了開始菜單沒反應(yīng)的問(wèn)題。請(qǐng)看往下,你會(huì)了解有關(guān)系的這么一過(guò)程:
方法一:
1、進(jìn)入C:\Users\你的登錄名\AppData\Local\TileDataLayer\Database,刪除掉vedatamodel.edb這個(gè)文件,也可以刪除Database整個(gè)文件夾
2、你會(huì)發(fā)現(xiàn)點(diǎn)擊菜單,什么都沒有。但是開始菜單已經(jīng)有反應(yīng)了
注銷或重啟之后:
它會(huì)產(chǎn)生所有應(yīng)用的列表。但是微軟本身的應(yīng)用沒有了。所以只能通過(guò)powershell管理員執(zhí)行命令Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}了
它會(huì)在所有應(yīng)用列表那里產(chǎn)生圖標(biāo),但是磁貼還是空的,這要看你的需要了:在所有應(yīng)用列表一個(gè)個(gè)找,并通過(guò)右鍵選擇,固定到開始屏幕
3、可能需要到新建賬戶:這里有可能關(guān)系到以下引用經(jīng)驗(yàn),當(dāng)你登錄不了遇到User Profile Service服務(wù)未能登錄,無(wú)法登錄的時(shí)候要用到的。當(dāng)兩個(gè)賬戶用同一主文件夾時(shí)(也就是用同一配置文件)
表現(xiàn)為動(dòng)態(tài)鎖定(備份狀態(tài)的)配置文件的,如果是互鎖的文件,導(dǎo)致只能一個(gè)登錄,登錄一賬號(hào)則變?yōu)閷?duì)方狀態(tài)(包括備份狀態(tài)的配置文件文件、配置文件大?。ǚ崔D(zhuǎn)的相補(bǔ)狀態(tài))、注冊(cè)表里面也會(huì)動(dòng)態(tài)改變、等各種信息)
4、要可能結(jié)合引用經(jīng)驗(yàn)并更改主文件夾權(quán)限才得,目前不知對(duì)不對(duì)。87User Profile Service服務(wù)未能登錄,無(wú)法登錄
方法二、新建賬戶替換vedatamodel.edb法
1、新建一個(gè)新帳戶,用戶組選項(xiàng)設(shè)置為管理員;
1)登錄新建的用戶;
2)回到原來(lái)賬戶(出問(wèn)題的),從C:\Users\新的用戶名\AppData\Local\TileDataLayer\Database,復(fù)制出vedatamodel.edb
3)進(jìn)入新的賬戶,再把復(fù)制出來(lái)的vedatamodel.edb復(fù)制到C:\Users\出問(wèn)題的用戶名\AppData\Local\TileDataLayer\Database下。可以了??傊褪怯?strong>新建的正常賬戶的Database替換出問(wèn)題的賬戶的Database
2、新建賬戶的話也可以通過(guò)粘貼命令,(TempAdmin1替換為你將要設(shè)置的用戶名,password1替換為你將要設(shè)置的密碼)
1)首先通過(guò)win+x再選擇命令提示符(管理員)A
復(fù)制內(nèi)容到剪貼板
- net user "TempAdmin1" "password1" /add
-
- net localgroup administrators "TempAdmin1" /add
之后刪除新建的賬戶就可以了
英文原版:
復(fù)制內(nèi)容到剪貼板
- 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
相關(guān)推薦:
解決win10打不開開始菜單和消息欄的辦法
最簡(jiǎn)單快速解決win10開始菜單消失或打不開的問(wèn)題
win10開始屏幕怎么自己設(shè)置?win10開始菜單設(shè)置的教程