question

TheOrkSnorgler-0193 avatar image
0 Votes"
TheOrkSnorgler-0193 asked TrusteeofBigRiverTec-7743 commented

SFC/DISM cannot repair corrupted .lnk files

Hello there. I'm at my wits end and can use some help.

I have a brand new domain controller running Windows Server 2016 Standard with all the latest updates applied. Everything appears to be working fine on the server, however, I noticed some irregularities with the "search" function from the start menu.

So, I ran an "sfc /scannow" and it found corrupted files. From the looks of the log, it appears as though some of the ".lnk" files (e.g. DHCP.lnk) are corrupted.

SFC could not repair the files.

I tried the DISM RestoreHealth command and it states Error 14 - not enough storage space, which is completely ridiculous because I have literally more than 500GB free space for the OS volume.

Can someone tell me how I can get my windows image cleaned up? Listed below are the errors in the CBS log..if the entire thing is needed, please let me know.

This is a domain controller and it would be an immense pain in the rear-end to have to rebuild it.

2020-08-07 10:44:58, Info CSI 000063ed Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-d..ermanagementconsole_31bf3856ad364e35_10.0.14393.2879_none_f23c330fdc1974a5\dhcp.lnk do not match actual file [l:8]'dhcp.lnk' :
Found: {l:32 gEoZTIRXQLzL3Z8PloX0vJe0MxPBNBWfnUIKdzkWkNg=} Expected: {l:32 yMu02MNRuXhswYPGhmaM1LqrUWcPMkQpnZFuvTFpCxw=}
2020-08-07 10:44:58, Info CSI 000063ee [SR] Cannot repair member file [l:8]'dhcp.lnk' of Microsoft-Windows-DHCPServerManagementConsole, version 10.0.14393.2879, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 000063ef Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-dns-server-snapin_31bf3856ad364e35_10.0.14393.2608_none_0bf98471660cc65a\DNS.LNK do not match actual file [l:7]'DNS.LNK' :
Found: {l:32 AcO2nR9si/JcxDLEJO5T1nTIOeO8kEkaDqfGUUQNlog=} Expected: {l:32 IWJgnbMiiIZEm8yqGKjVj/aQ5szV819SsL+AA5NnbOo=}
2020-08-07 10:44:58, Info CSI 000063f0 [SR] Cannot repair member file [l:7]'DNS.LNK' of Microsoft-Windows-DNS-Server-Snapin, version 10.0.14393.2608, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 000063f1 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-g..rveradmintools-gpmc_31bf3856ad364e35_10.0.14393.3750_none_2bb3ecae0b7f5545\Group Policy Management.lnk do not match actual file [l:27]'Group Policy Management.lnk' :
Found: {l:32 ioMMt5vN1j2C1DPggwvTgJqhY31vbPoLFX76Xxk8u0g=} Expected: {l:32 nhJVlETvvC1lD9oh6AttKbT1fVNPhM6AGBb+hemLdXg=}
2020-08-07 10:44:58, Info CSI 000063f2 [SR] Cannot repair member file [l:27]'Group Policy Management.lnk' of Microsoft-Windows-GroupPolicy-ServerAdminTools-GPMC, version 10.0.14393.3750, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 000063f3@2020/8/7:14:44:58.655 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 000063f4 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-dns-server-snapin_31bf3856ad364e35_10.0.14393.2608_none_0bf98471660cc65a\DNS.LNK do not match actual file [l:7]'DNS.LNK' :
Found: {l:32 AcO2nR9si/JcxDLEJO5T1nTIOeO8kEkaDqfGUUQNlog=} Expected: {l:32 IWJgnbMiiIZEm8yqGKjVj/aQ5szV819SsL+AA5NnbOo=}
2020-08-07 10:44:58, Info CSI 000063f5 [SR] Cannot repair member file [l:7]'DNS.LNK' of Microsoft-Windows-DNS-Server-Snapin, version 10.0.14393.2608, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 000063f6 [SR] This component was referenced by [l:80]'Package_5472_for_KB4565511~31bf3856ad364e35~amd64~~10.0.1.8.4565511-9426_neutral'
2020-08-07 10:44:58, Info CSI 000063f7 Hashes for file member \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\DNS.LNK do not match actual file [l:7]'DNS.LNK' :
Found: {l:32 AcO2nR9si/JcxDLEJO5T1nTIOeO8kEkaDqfGUUQNlog=} Expected: {l:32 IWJgnbMiiIZEm8yqGKjVj/aQ5szV819SsL+AA5NnbOo=}
2020-08-07 10:44:58, Info CSI 000063f8 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-dns-server-snapin_31bf3856ad364e35_10.0.14393.2608_none_0bf98471660cc65a\DNS.LNK do not match actual file [l:7]'DNS.LNK' :
Found: {l:32 AcO2nR9si/JcxDLEJO5T1nTIOeO8kEkaDqfGUUQNlog=} Expected: {l:32 IWJgnbMiiIZEm8yqGKjVj/aQ5szV819SsL+AA5NnbOo=}
2020-08-07 10:44:58, Info CSI 000063f9 [SR] Could not reproject corrupted file \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\DNS.LNK; source file in store is also corrupted
2020-08-07 10:44:58, Info CSI 000063fa@2020/8/7:14:44:58.690 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 000063fb@2020/8/7:14:44:58.722 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 000063fc Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-g..rveradmintools-gpmc_31bf3856ad364e35_10.0.14393.3750_none_2bb3ecae0b7f5545\Group Policy Management.lnk do not match actual file [l:27]'Group Policy Management.lnk' :
Found: {l:32 ioMMt5vN1j2C1DPggwvTgJqhY31vbPoLFX76Xxk8u0g=} Expected: {l:32 nhJVlETvvC1lD9oh6AttKbT1fVNPhM6AGBb+hemLdXg=}
2020-08-07 10:44:58, Info CSI 000063fd [SR] Cannot repair member file [l:27]'Group Policy Management.lnk' of Microsoft-Windows-GroupPolicy-ServerAdminTools-GPMC, version 10.0.14393.3750, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 000063fe [SR] This component was referenced by [l:81]'Package_5980_for_KB4565511~31bf3856ad364e35~amd64~~10.0.1.8.4565511-10191_neutral'
2020-08-07 10:44:58, Info CSI 000063ff Hashes for file member \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Group Policy Management.lnk do not match actual file [l:27]'Group Policy Management.lnk' :
Found: {l:32 ioMMt5vN1j2C1DPggwvTgJqhY31vbPoLFX76Xxk8u0g=} Expected: {l:32 nhJVlETvvC1lD9oh6AttKbT1fVNPhM6AGBb+hemLdXg=}
2020-08-07 10:44:58, Info CSI 00006400 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-g..rveradmintools-gpmc_31bf3856ad364e35_10.0.14393.3750_none_2bb3ecae0b7f5545\Group Policy Management.lnk do not match actual file [l:27]'Group Policy Management.lnk' :
Found: {l:32 ioMMt5vN1j2C1DPggwvTgJqhY31vbPoLFX76Xxk8u0g=} Expected: {l:32 nhJVlETvvC1lD9oh6AttKbT1fVNPhM6AGBb+hemLdXg=}
2020-08-07 10:44:58, Info CSI 00006401 [SR] Could not reproject corrupted file \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Group Policy Management.lnk; source file in store is also corrupted
2020-08-07 10:44:58, Info CSI 00006402@2020/8/7:14:44:58.789 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 00006403@2020/8/7:14:44:58.795 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 00006404 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-d..ermanagementconsole_31bf3856ad364e35_10.0.14393.2879_none_f23c330fdc1974a5\dhcp.lnk do not match actual file [l:8]'dhcp.lnk' :
Found: {l:32 gEoZTIRXQLzL3Z8PloX0vJe0MxPBNBWfnUIKdzkWkNg=} Expected: {l:32 yMu02MNRuXhswYPGhmaM1LqrUWcPMkQpnZFuvTFpCxw=}
2020-08-07 10:44:58, Info CSI 00006405 [SR] Cannot repair member file [l:8]'dhcp.lnk' of Microsoft-Windows-DHCPServerManagementConsole, version 10.0.14393.2879, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2020-08-07 10:44:58, Info CSI 00006406 [SR] This component was referenced by [l:80]'Package_5397_for_KB4565511~31bf3856ad364e35~amd64~~10.0.1.8.4565511-9330_neutral'
2020-08-07 10:44:58, Info CSI 00006407 Hashes for file member \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\dhcp.lnk do not match actual file [l:8]'dhcp.lnk' :
Found: {l:32 gEoZTIRXQLzL3Z8PloX0vJe0MxPBNBWfnUIKdzkWkNg=} Expected: {l:32 yMu02MNRuXhswYPGhmaM1LqrUWcPMkQpnZFuvTFpCxw=}
2020-08-07 10:44:58, Info CSI 00006408 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-d..ermanagementconsole_31bf3856ad364e35_10.0.14393.2879_none_f23c330fdc1974a5\dhcp.lnk do not match actual file [l:8]'dhcp.lnk' :
Found: {l:32 gEoZTIRXQLzL3Z8PloX0vJe0MxPBNBWfnUIKdzkWkNg=} Expected: {l:32 yMu02MNRuXhswYPGhmaM1LqrUWcPMkQpnZFuvTFpCxw=}
2020-08-07 10:44:58, Info CSI 00006409 [SR] Could not reproject corrupted file \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\dhcp.lnk; source file in store is also corrupted
2020-08-07 10:44:58, Info CSI 0000640a@2020/8/7:14:44:58.859 Primitive installers committed for repair
2020-08-07 10:44:58, Info CSI 0000640b [SR] Repair complete
2020-08-07 10:44:58, Info CSI 0000640c [SR] Committing transaction
2020-08-07 10:44:58, Info CSI 0000640d Creating NT transaction (seq 1), objectname '(null)'
2020-08-07 10:44:58, Info CSI 0000640e Created NT transaction (seq 1) result 0x00000000, handle @0xa98
2020-08-07 10:44:58, Info CSI 0000640f@2020/8/7:14:44:58.871 Beginning NT transaction commit...
2020-08-07 10:44:58, Info CSI 00006410@2020/8/7:14:44:58.878 CSI perf trace:
CSIPERF:TXCOMMIT;6857
2020-08-07 10:44:58, Info CSI 00006411 [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction have been successfully repaired

windows-serverwindows-server-2016
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered TheOrkSnorgler-0193 commented

The one I just did an sfc /scannow on throws a few hundred Directory <yada yada> is not owned but specifies SDDL in component <yada yada> but I'm not having any problems with it, so ignoring for now. If you need an answer you'll need to start a case here with product support.
https://support.microsoft.com/en-us/hub/4343728/support-for-business



--please don't forget to Accept as answer if the reply is helpful--








· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you get anything regarding the ".lnk" files for those various components (DHCP, AD, DNS, etc.)

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

No sir. If the shortcuts still do not work I'd try creating a new user and logon with that in case of profile corruption, or try opening the *.MSC snap-in directly.

--please don't forget to Accept as answer if the reply is helpful--






5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IgorK-5774 avatar image
1 Vote"
IgorK-5774 answered TrusteeofBigRiverTec-7743 commented

Had the same problem and it was driving me nuts! Copied the DNS.LNK file from another 2016 server, the version there was 7/16/2016, older than on DC with DISM error.
No DISM error anymore. Blunt, but easier than rebuilding DC with ADFS setup.
Use it at your own risk.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This one helped me!! Thanks IgorK-5774

I had an older VM of Windows Server 2016 eval available. Ran that one and installed the necessary roles for DNS, DHCP. After a restart, I went into the respective C:\Windows\WinSxS sub folders and searched + copied the reported .lnk files (namely: DNS.LNK, dhcp.lnk and Group Policy Management.lnk). By the way: the fixed files have a date of: 16.07.2016. The corrupt versions in my case had a date of March 2017 as far as I can recall.

I then copied the right .lnk files onto the Server that reported the file corruptions and manually replaced the corrupt files with the 2016 versions from my VM. In order to do that I had to change the security settings on the affected folders within WinSxS by adopting the folder ownership away from TrustedInstaller to my own admin user + give myself Full Access rights.

After doing this, SFC /SCANNOW and DISM ran through without the dumb Out-of-memory error and no corruptions were reported. Use at your own risk.

0 Votes 0 ·
RafiNiazi-2630 avatar image
0 Votes"
RafiNiazi-2630 answered

Hello Guyz,

I have the same problem I have tried some solution but not worked for me anyone had solution.
I have also tried resetting the windows update components using the following:

net stop wuauserv
cd %systemroot%\SoftwareDistribution
ren Download Download.old
net start wuauserv
net stop bits
net start bits
net stop cryptsvccd %systemroot%\system32
ren catroot2 catroot2.old
net start cryptsvc
Also, offline didn't helps,

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\Sources\Install.wim:1 /limitaccess

I have Windows 10 Enterprise 19042.964


2021-05-08 23:08:21, Info CSI 0000023b [SR] Repairing 4 components
2021-05-08 23:08:21, Info CSI 0000023c [SR] Beginning Verify and Repair transaction
2021-05-08 23:08:21, Info CSI 0000023e [SR] Cannot repair member file [l:27]'Group Policy Management.lnk' of Microsoft-Windows-GroupPolicy-ServerAdminTools-GPMC, version 10.0.19041.746, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2021-05-08 23:08:21, Info CSI 00000240 [SR] Repairing file \??\C:\WINDOWS\inf\StarterGPOs{0CC42745-34A0-4C7E-ACFA-37CE56B13706}\nl-NL\\StarterGPO.tmpll from store
2021-05-08 23:08:21, Info CSI 00000242 [SR] Cannot repair member file [l:27]'Group Policy Management.lnk' of Microsoft-Windows-GroupPolicy-ServerAdminTools-GPMC, version 10.0.19041.746, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2021-05-08 23:08:21, Info CSI 00000243 [SR] This component was referenced by [l:130]'Microsoft-Windows-GroupPolicy-Management-Tools-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.746.f27544fe6e0607c248490e4f9e04f7b9'
2021-05-08 23:08:21, Info CSI 00000246 [SR] Could not reproject corrupted file \??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\\Group Policy Management.lnk; source file in store is also corrupted

DISM DISM Package Manager: PID=16744 TID=12624 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.