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: Fixing a computer with hosed permissions & activation problems?


07 Oct 2012   #1

Windows 7 Professional 32-bit
 
 
Fixing a computer with hosed permissions & activation problems?

I offered to repair a computer for an acquaintance, but I've run into a billion brick walls while doing so. This is an HP Pavilion dv6 running Windows 7 Home Premium 64-bit.

The user got himself locked out of the C:\ drive and a whole bunch of stuff either refused to work or refused to launch, including some Windows services.

The C:\ drive was initially showing up with no information when I opened up Computer - just "NTFS", double clicking on it gave me a C:\ drive is inaccessible. Access is denied error.

I checked the permissions on the root level of the drive - I noticed only the Administrators group and the SYSTEM group were in there. I compared it against my machine's C:\ drive, which had an Authenticated Users and Users group.

I restarted into Safe Mode and for some reason the user account (which is supposed to have admin rights) was NOW able to access the C:\ drive. As a test, I enabled the hidden Administrator account and attempted to access the C:\ drive in both normal and safe mode - success, but Windows services were still messing up.

While in safe mode I disabled UAC and also added the Authenticated Users and Users groups (following the same permissions that were on my own computer's C:\ drive) and applied it to the root level of the C:\ drive (I did not propogate the permissions to the folders below it in fear of breaking something). However, I'm fairly sure that the directories below the root level are also messed up. I also checked to make sure the user account was in the Administrator group by using net localgroup Administrators (had to use the command line since Home Premium doesn't allow access to the snap-in).

After making these changes, I was able to boot into normal mode, log in as the user, and run most programs. However, I still have a second problem - the machine is claiming that it is no longer genuine with the dreaded black background.

I ran a sfc /scannow in normal Windows and I was unable to get it to fix anything - it said it found corrupted files but was unable to repair them. Later on I ran it in the recovery mode (using the offline switches) and it said it didn't find anything that needed to be repaired. Let me know if you need me to upload the CBS log.

I ran a chkdsk /R and it didn't find anything either.

I attached the MGA Diag tool log.

I tried to start a repair install but it's requiring me to deauthorize iTunes, but in order to do that I have to get the password from the user. Unfortunately, I can't contact the user until Tuesday.

Anyone have any ideas what I should do to try to get the permissions on his system back to normal and re-authorize Windows?


My System SpecsSystem Spec
.

07 Oct 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi,

You forgot to attach the MGADIAG report/log. Attach it to your next reply, and I'll have a look for you.

Regards,
Golden
My System SpecsSystem Spec
07 Oct 2012   #3

Windows 7 Professional 32-bit
 
 

Dangit, I knew I forgot something. Here you go.


Attached Files
File Type: txt MGADiag1.txt (6.9 KB, 25 views)
My System SpecsSystem Spec
.


07 Oct 2012   #4

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi,

Thanks. The report points to several problems, but I've not seen these before. I'll ask NoelDP to look at these, but in the meantime, what happens if you try to activate this installation again using the product key on the COA sticker?

Regards,
Golden
My System SpecsSystem Spec
07 Oct 2012   #5

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

This is a rare one!

The problem almost certainly lies in the permissions for the AppData folder in the NetworkServices profile.

Let's check
Open an Elevated Command Prompt window, and run the following commands

ICACLS C:\Windows\ServiceProfiles\NetworkService\AppData
ICACLS C:\Windows\ServiceProfiles\Networkservice
ICACLS C:\Windows\ServiceProfiles
ICACLS C:\Windows
ICACLS C:\Windows\System32


post the results


Here are some instructions to make life easier
1) To open an Elevated Command Prompt Window (the CP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
My System SpecsSystem Spec
07 Oct 2012   #6

Windows 7 Professional 32-bit
 
 

Quote   Quote: Originally Posted by Golden View Post
Hi,

Thanks. The report points to several problems, but I've not seen these before. I'll ask NoelDP to look at these, but in the meantime, what happens if you try to activate this installation again using the product key on the COA sticker?

Regards,
Golden
I'm unable to do the in-place repair install (and therefore, unable to enter the COA key) because I would have to deauthorize/uninstall iTunes. I won't be able to contact the user about that until Tuesday, so I have to fix this computer the "hard way" or wait until then. I'm genuinely curious about what's broken and I'd like to go through the troubleshooting steps before using the repair install solution just to see if this sort of problem can be remedied.
My System SpecsSystem Spec
07 Oct 2012   #7

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

Please post the requested registry query results
My System SpecsSystem Spec
07 Oct 2012   #8

Windows 7 Professional 32-bit
 
 

Quote   Quote: Originally Posted by NoelDP View Post
Please post the requested registry query results :)
Sorry about that Noel - I was on my smartphone when I responded to golden and didn't have access to the laptop.

Here's the results:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\>ICACLS C:\Windows\ServiceProfiles\NetworkService\AppData
C:\Windows\ServiceProfiles\NetworkService\AppData NT AUTHORITY\SYSTEM:(F)
BUILTIN\Administrators:(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows\ServiceProfiles\Networkservice
C:\Windows\ServiceProfiles\Networkservice NT AUTHORITY\SYSTEM:(F)
BUILTIN\Administrators:(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows\ServiceProfiles
C:\Windows\ServiceProfiles NT SERVICE\TrustedInstaller:(I)(F)
NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows
C:\Windows NT SERVICE\TrustedInstaller:(F)
NT SERVICE\TrustedInstaller:(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(M)
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
BUILTIN\Administrators:(M)
BUILTIN\Administrators:(OI)(CI)(IO)(F)
BUILTIN\Users:(RX)
BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows\System32
C:\Windows\System32 NT SERVICE\TrustedInstaller:(F)
NT SERVICE\TrustedInstaller:(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(M)
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
BUILTIN\Administrators:(M)
BUILTIN\Administrators:(OI)(CI)(IO)(F)
BUILTIN\Users:(RX)
BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>

Let me know what you need me to do.
My System SpecsSystem Spec
07 Oct 2012   #9

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

OK - run the following commands in an Elevated Command prompt....

ICACLS C:\Windows\ServiceProfiles\Networkservice /grant "NT AUTHORITY\Network Service":(OI)(CI)(F)

reboot, and run the following commands

ICACLS C:\Windows\ServiceProfiles\NetworkService\AppData
ICACLS C:\Windows\ServiceProfiles\Networkservice
ICACLS C:\Windows\ServiceProfiles

post these results together with a new MGADiag report.
My System SpecsSystem Spec
07 Oct 2012   #10

Windows 7 Professional 32-bit
 
 

Ran the command you told me to run. It was successful with no problems. After the reboot the not genuine notification is gone, but the wallpaper is still black. I'd like to get his original wallpaper back, if it's still cached/stored somewhere.

Also, when I hit "Copy" to copy the MGADiag, I get an error about failing to create output files, but it copies anyway. The error that comes up is "Failed to create output files, hr = 0x800706b5. Please contact support". Is this normal? Does this indicate something else should also be fixed, or can it be safely ignored? I remember there was a similar error code in the first MGA Diag:

Licensing Data-->
On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0x800700B7' to display the error text.
Error: 0x800700B7

However, after running that command this error seems to be gone in the second MGADiag log.

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

C:\>ICACLS C:\Windows\ServiceProfiles\NetworkService\AppData
C:\Windows\ServiceProfiles\NetworkService\AppData NT AUTHORITY\SYSTEM:(F)
                                                  BUILTIN\Administrators:(F)
                                                  NT AUTHORITY\NETWORK SERVICE:(I)(OI)(CI)(F)
                                                  NT SERVICE\TrustedInstaller:(I)(F)
                                                  NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                                                  NT AUTHORITY\SYSTEM:(I)(F)
                                                  NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                                  BUILTIN\Administrators:(I)(F)
                                                  BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                                                  BUILTIN\Users:(I)(RX)
                                                  BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                                                  CREATOR OWNER:(I)(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows\ServiceProfiles\Networkservice
C:\Windows\ServiceProfiles\Networkservice NT AUTHORITY\SYSTEM:(F)
                                          BUILTIN\Administrators:(F)
                                          NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(F)
                                          NT SERVICE\TrustedInstaller:(I)(F)
                                          NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                                          NT AUTHORITY\SYSTEM:(I)(F)
                                          NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                          BUILTIN\Administrators:(I)(F)
                                          BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                                          BUILTIN\Users:(I)(RX)
                                          BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                                          CREATOR OWNER:(I)(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>ICACLS C:\Windows\ServiceProfiles
C:\Windows\ServiceProfiles NT SERVICE\TrustedInstaller:(I)(F)
                           NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                           NT AUTHORITY\SYSTEM:(I)(F)
                           NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                           BUILTIN\Administrators:(I)(F)
                           BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                           BUILTIN\Users:(I)(RX)
                           BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                           CREATOR OWNER:(I)(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\>


Attached Files
File Type: txt MGADiag2.txt (7.6 KB, 5 views)
My System SpecsSystem Spec
Reply

 Fixing a computer with hosed permissions & activation problems?




Thread Tools



Similar help and support threads for2: Fixing a computer with hosed permissions & activation problems?
Thread Forum
Solved Windows update will not run after appare ntly fixing Activation proble Windows Updates & Activation
network monitor - fixing problems and recommending a new one Network & Sharing
my computer seems to die out at random i need help fixing it BSOD Help and Support
need help fixing my computer (long post) BSOD Help and Support
6 Reasons The Guy Who's Fixing Your Computer Hates You Chillout Room
Fixing activation on my friend's computer Windows Updates & Activation
Messenger problems: Fixing error code 800706ba Software

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 09:42 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33