Forum Discussion
Win 11 four DLL errors on startup. Please help?
- Oct 28, 2021Was such a simple fix. Simply turned off Microsoft Teams in startup menu. Errors gone! I did however dump all my legacy stuff. Was needed to be done anyway. I have been running every other software I have installed for the past couple of hours and all run perfectly. Seems MS wont exactly say what these DLLs are for, and I wish they were related to one or two seftware installations, but alas, no help. MS techs like to say "reinstall clean" but when you are dealing with a corporate wide deployment on newer hardware systems, and need to keep downtime to a minimum, it is not preactical. A BOT can tell me "reinstall clean." Anyway, I am not a programmer so I do not know what these dlls affect or what they do, but it is apparemntly nothing I use. I may do some research into them later. Just completed a small update and it went fine. If a programmer can tell me what these dlls are for, it would be helpful. But anyway thanks to all, I needed to clean house anyway. Some of those softwares were so old they stunk! Used to use adobe a lot, now just use for pictures and video. Thanks to all!!
I wouldn't reinstall Windows as some have suggested (easier to reinstall and reset the apps themselves.) You will run into this problem more than once in your lifetime I'm sure...
1.) Start Powershell -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -> Select "Create this task with administrative privileges." -> Click OK.
2.) Copy/Paste the following into Powershell:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force
Get-AppxPackage -allusers Microsoft.VCLibs.140.00 | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.VCLibs.140.00.UWPDesktop | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Win32WebViewHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers MicrosoftTeams | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.VCLibs.140.00 | Reset-AppxPackage;
Get-AppxPackage -allusers Microsoft.VCLibs.140.00.UWPDesktop | Reset-AppxPackage;
Get-AppxPackage -allusers Microsoft.Win32WebViewHost | Reset-AppxPackage;
Get-AppxPackage -allusers MicrosoftTeams | Reset-AppxPackage;
3.) Next run this...
./sc config EventLog start= auto;./sc config UsoSvc start= auto;./sc config wuauserv start= auto;./net start EventLog;./net start UsoSvc;./net start wuauserv;
DISM /Online /Cleanup-image /Restorehealth;
4.) Run Windows Update, and then finalize the updates / remove superseded components:
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase
NOTE: Most of the new updates fix bugs related to the apps themselves...
- MousefluffNov 05, 2021Iron Contributor
Alternatively you can access the UI to reset Microsoft Teams (repair will save your data if you actually use Microsoft Teams. There is no PowerShell cmdlet to repair apps.)
Reset / Repair Apps:
Settings -> System -> Other troubleshooters -> Windows Store Apps (Run)
Settings -> Apps -> Default Apps -> Scroll To Bottom (Reset Default Apps)
Settings -> Apps -> Apps & Features -> <Insert App Name Here> -> 3 Verticle Dots On The Right Side Of The Pane -> Advanced Options -> Repair
NOTE: I have tested this already. If you don't use Microsoft Teams, then no data will be lost when you reinstall and reset it (the other system apps will right themselves and are NOT configurable on your side. You need Windows Update to be working though, the LATEST patches, and your Windows Store App has to be functional, as well as the associated services that install the apps themselves.) The other stuff is just typical scan and repair functionality built into Windows (one version of that cleanup process is already automated via the background tasks. Cleanmgr also has similar functionality built-in. This just gives you an instant result, no waiting whatsoever, aside from the need to update.)
- CowboyFive7Nov 05, 2021Brass ContributorThank you TONS! Will try it out and let ya know!