Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows not genuine after sfc /scannow following missing dnsapi.dll

22 Oct 2015   #21
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Resetting permissions - log

Thanks Noel. Here we go.



Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /T
C:\Windows\System32\dnsapi.dll EveryoneR)
BUILTIN\AdministratorsF)

C:\Windows\System32\LogFiles\WMI\RtBackup\*: Access is denied.
Successfully processed 1 files; Failed processing 1 files

C:\Windows\system32>ICACLS C:\Windows\winsxs\dnsapi.dll /T
C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.1
6385_none_3dd76e849c0a6a12\dnsapi.dll NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.1
6772_none_3ddf452a9c04f6b8\dnsapi.dll NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.2
0914_none_3eabc3f7b4f01eb1\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.1
7514_none_4008824c98f8edac\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.1
7570_none_3fc3a19c992d2ff6\dnsapi.dll EveryoneR)

BUILTIN\AdministratorsF)

C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.2
1673_none_40503f45b2481bc5\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.1
6385_none_482c18d6d06b2c0d\dnsapi.dll NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.1
6772_none_4833ef7cd065b8b3\dnsapi.dll NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7600.2
0914_none_49006e49e950e0ac\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.1
7514_none_4a5d2c9ecd59afa7\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.1
7570_none_4a184beecd8df1f1\dnsapi.dll EveryoneR)

BUILTIN\AdministratorsF)

C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364e35_6.1.7601.2
1673_none_4aa4e997e6a8ddc0\dnsapi.dll NT SERVICE\TrustedInstallerF)

NT AUTHORITY\SYSTEMRX)

BUILTIN\AdministratorsRX)

BUILTIN\UsersRX)

Successfully processed 12 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\SysWOW64\dnsapi.dll /T
C:\Windows\SysWOW64\dnsapi.dll EveryoneR)
BUILTIN\AdministratorsF)

C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Application Data\*: Acces
s is denied.
Successfully processed 1 files; Failed processing 1 files

C:\Windows\system32>DIR C:\Windows\dnsapi.dll /S
Volume in drive C is Acer
Volume Serial Number is ECB2-04D2

Directory of C:\Windows\System32

03/03/2011 07:24 357,888 dnsapi.dll
1 File(s) 357,888 bytes

Directory of C:\Windows\SysWOW64

03/03/2011 06:38 270,336 dnsapi.dll
1 File(s) 270,336 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.16385_none_3dd76e849c0a6a12

14/07/2009 02:40 356,352 dnsapi.dll
1 File(s) 356,352 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.16772_none_3ddf452a9c04f6b8

03/03/2011 07:17 356,352 dnsapi.dll
1 File(s) 356,352 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.20914_none_3eabc3f7b4f01eb1

03/03/2011 07:23 356,864 dnsapi.dll
1 File(s) 356,864 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.17514_none_4008824c98f8edac

20/11/2010 14:26 357,888 dnsapi.dll
1 File(s) 357,888 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.17570_none_3fc3a19c992d2ff6

03/03/2011 07:24 357,888 dnsapi.dll
1 File(s) 357,888 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.21673_none_40503f45b2481bc5

03/03/2011 07:12 357,888 dnsapi.dll
1 File(s) 357,888 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.16385_none_482c18d6d06b2c0d

14/07/2009 02:15 269,824 dnsapi.dll
1 File(s) 269,824 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.16772_none_4833ef7cd065b8b3

03/03/2011 06:29 269,824 dnsapi.dll
1 File(s) 269,824 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7600.20914_none_49006e49e950e0ac

03/03/2011 06:50 270,336 dnsapi.dll
1 File(s) 270,336 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.17514_none_4a5d2c9ecd59afa7

20/11/2010 13:18 270,336 dnsapi.dll
1 File(s) 270,336 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.17570_none_4a184beecd8df1f1

03/03/2011 06:38 270,336 dnsapi.dll
1 File(s) 270,336 bytes

Directory of C:\Windows\winsxs\wow64_microsoft-windows-dns-client_31bf3856ad364
e35_6.1.7601.21673_none_4aa4e997e6a8ddc0

03/03/2011 06:12 270,336 dnsapi.dll
1 File(s) 270,336 bytes

Total Files Listed:
14 File(s) 4,392,448 bytes
0 Dir(s) 313,505,689,600 bytes free

C:\Windows\system32>


My System SpecsSystem Spec
.
22 Oct 2015   #22
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

The permissions on the copy in System32 are definitely not correct! -

Open an Elevated Command Prompt, and run the following commands:

ICACLS C:\Windows\System32\dnsapi.dll /grant Administrators: (RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant Users: (RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant "NT AUTHORITY\SYSTEM": (RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant "NT SERVICES\TrustedInstaller": (F)
ICACLS C:\Windows\System32\dnsapi.dll /remove Everyone
ICACLS C:\Windows\System32\dnsapi.dll

post the results, then reboot and see if that affects your errors.
My System SpecsSystem Spec
22 Oct 2015   #23
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Log for resetting permissions /2

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant Administrators:
(RX)
Invalid parameter "Administrators:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant Users: (RX)
Invalid parameter "Users:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT AUTHORITY\S
YSTEM": (RX)
Invalid parameter "NT AUTHORITY\SYSTEM:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT SERVICES\Tr
ustedInstaller": (F)
Invalid parameter "NT SERVICES\TrustedInstaller:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /remove Everyone
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll
C:\Windows\System32\dnsapi.dll BUILTIN\AdministratorsF)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>
My System SpecsSystem Spec
.

22 Oct 2015   #24
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Ooops! - in an effort to get around the problem of smileys in my post, I inserted spaces where they are apparently not allowed :(

Try this set instead...

Open an Elevated Command Prompt, and run the following commands:

ICACLS C:\Windows\System32\dnsapi.dll /grant Administrators:(RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant Users:(RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant "NT AUTHORITY\SYSTEM":(RX)
ICACLS C:\Windows\System32\dnsapi.dll /grant "NT SERVICES\TrustedInstaller":(F)
ICACLS C:\Windows\System32\dnsapi.dll /remove Everyone
ICACLS C:\Windows\System32\dnsapi.dll

post the results, then reboot and see if that affects your errors.
My System SpecsSystem Spec
26 Oct 2015   #25
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
For Noel

Hi Noel, I am not sure what is happening with this thread. When I display the thread, the latest exchanges are missing. I get here only by following the links in the emails.

This was the result last Thursday - some progress but dnsapi.dll still awol.

I hope I am not trying your patience too much.

Jo
. . .



Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant Administrators:
(RX)
Invalid parameter "Administrators:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant Users: (RX)
Invalid parameter "Users:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT AUTHORITY\S
YSTEM": (RX)
Invalid parameter "NT AUTHORITY\SYSTEM:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT SERVICES\Tr
ustedInstaller": (F)
Invalid parameter "NT SERVICES\TrustedInstaller:"

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /remove Everyone
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll
C:\Windows\System32\dnsapi.dll BUILTIN\AdministratorsF)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>
My System SpecsSystem Spec
27 Oct 2015   #26
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

No problem - except at my end, because of poor eyesight.
Please see my post #24 and follow the instructions in that.
My System SpecsSystem Spec
27 Oct 2015   #27
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hi - same as when I ran it on Thursday I think.

Windows not genuine errors have gone but Skype still says it cannot download dnsapi.dll and the browsers don't work. I can now connect to the internet through the command window and ping a site though an unidentified network is still listed but secondary to the main and working wireles connection.

Hope all that makes sense,\Jo

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant Administrators:
(RX)
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant UsersRX)
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT AUTHORITY\S
YSTEM"RX)
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /grant "NT SERVICES\Tr
ustedInstaller"F)
NT SERVICES\TrustedInstaller: No mapping between account names and security IDs
was done.
Successfully processed 0 files; Failed processing 1 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll /remove Everyone
processed file: C:\Windows\System32\dnsapi.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32\dnsapi.dll
C:\Windows\System32\dnsapi.dll NT AUTHORITY\SYSTEMRX)
BUILTIN\UsersRX)
BUILTIN\AdministratorsF)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>
My System SpecsSystem Spec
29 Oct 2015   #28
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
For Noel - any ideas?

See previous
My System SpecsSystem Spec
29 Oct 2015   #29
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Oooh! - very different.
everything worked properly except for this one...

Quote:
NT SERVICES\TrustedInstaller: No mapping between account names and security IDs
was done.
This implies that the TrustedInstaller entity is broken - which would prevent almost anything (windows-wise) from installing properly

Having said that, it may be enough to solve at least part of the problem.

Try running an SFC /SCANNOW again - what happens.
My System SpecsSystem Spec
29 Oct 2015   #30
jobucks

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
For Noel - sfc/scannow validates OK but kills internet OK

The verification was fine as you will see below but dnsapi.dll still cannot be downloaded and the internet connection died.

The internet situation is better than before though. The home group is not broken. The extra connection is there. My main connection has just died.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

C:\Windows\system32>

===


Attached Thumbnails
Windows not genuine after sfc /scannow following missing dnsapi.dll-connections-thursday.png  
My System SpecsSystem Spec
Reply

 Windows not genuine after sfc /scannow following missing dnsapi.dll




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Cannot connect to Malwarebytes DNSAPI.DLL Missing
So my internet connection randomly went out tonight. I reset my modem/router several times, unplugged chords and made sure everything was plugged in. It showed the internet as connected (I wire my connection with a 40ft cable) however I could not access websites; it immediately gave me a screen...
Network & Sharing
Windows Seven, No Longer genuine (Sfc /Scannow probably caused it).
After sucessfully removing a lot of viruses with malwarebytes and manual cleaning. I trying to fix the lsp by running an /SFC Scannow on the cmd; but when it was finished it said it successfully repaired a lode of files. After a reboot, I find that my Avast, internet, lsp are all still busted...
Windows Updates & Activation
tom982 - sfc /scannow unable to repair missing ATL80.dll file
Hello, I read with interest that tom982 has a way of giving special instructions for repairing corrupt or missing files that sfc /scannow is unable to repair. Maybe others can also help me with this, but I only looked at the following thread mentioning tom982 (so far):...
Performance & Maintenance
Sfc /scannow results - missing file (_isdel.exe)
Hey everyone, I received the follwoing message after running sfc /scannow: Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log So I went ahead and opened...
Performance & Maintenance
Windows saying not genuine after bootmgr is missing problem
My computer stopped booting because it said "Bootmgr is missing". So I thought maybe I could use my Vista DVD to do Startup Repair (my Win 7 DVD is missing). It didn't work for the first time - so I did it again... successful! Bootmgr is missing went away and my computer is working again. I...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App