Can't delete a file requiring Administrator's permission when I am adm


  1. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    Can't delete a file requiring Administrator's permission when I am adm


    I'm trying to get rid of the Windows 10 upgrade nag. I removed the offending Windows update but I'm still getting the nag. Another website suggested renaming Windows\System32\GWX\GWXUX.exe. I changed ownership of System32 and subdirectories from Trusted Installer to Administrators. I'm logged in as administrator but I still get a screen saying "You require permission from Administrators to make changes to this file." when I try to rename it.

    Why do I get this message? How can I rename the file?
      My Computer


  2. Posts : 72,041
    64-bit Windows 11 Pro for Workstations
       #2
      My Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #3

    coffent said:
    I changed ownership of System32 and subdirectories from Trusted Installer to Administrators.
    That was not a good thing to do.


    coffent said:
    Why do I get this message?
    Because - by default - most processes (like Explorer) will run as if they are a standard user - even when you are logged on using an admin account.
      My Computer


  4. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #4

    Thanks, Brink - I will try as is suggested there.
    Thanks, UNI - I will change ownership back to Trusted Installer, though in that case is there any way I can make changes to files in System32?
    Also, though I was using xplorer2 rather than Windows Explorer to do the renaming, I specifically ran it as an administrator and still got the message.
      My Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    The entire folder structure under System32 is not supposed to be owned by the TrustedInstaller. Some folders and their files are owned by the group named Administrators. For instance, the catroot folder and its contents are not owned by the TrustedInstaller. It is a complex mixture of ownership. Unless other forum members have a better idea, I would re-install Windows 7 to get back to the security model that Microsoft designed for that important folder.

    As far as the GWX folder and its files. I seem to recall that there is a KB that one can uninstall to remove it. I am not where I can test right now.
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    Install KB3035583 via Windows Update.
    Restart the computer.
    Uninstall KB3035583.
    The GWX folder should be gone.
    Last edited by UsernameIssues; 11 Feb 2016 at 04:30. Reason: test edit
      My Computer


  7. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #7

    OK, thanks again UNI. Re- and un-installing KB3035583 is a simple thing so I'll try that first.
      My Computer


  8. Posts : 2,497
    Windows 7 Pro 64 bit
       #8

    The Windows folder and all of it's sub folders should be considered read only unless you really understand what you are doing. This is a minefield for the unwary with many ways to go wrong. Think twice before making any changes. There will almost always be a better way.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 22:05.
Find Us