Windows 8 and 8.1 Forums


7-ZIP and administrator rights problem.

  1. #1


    New Jersey
    Posts : 114
    Windows 8.1 Pro X64

    7-ZIP and administrator rights problem.


    1. I've got a strange problem running 7-Zip 9.28 alpha [64 bit] under Windows 8 Pro x64 RTM. Hope you can help.

      In order to be able to click on a zip file and then extract it's contents to a folder I have to set 7zFM.exe to run with Administrator rights via Properties | Compatibility. However, when I do this the 7-Zip 'Open Archive' context menu does not work.

      When I remove Admin rights from 7zFM.exe the 'Open Archive' context menu works but I can no longer click on a zip and extract it's contents. I get multiple messages for various files like this one: 0 ERROR: Can not delete output file <file path is here> .
      Interestingly, I get these same exact messages if I try to extract to a folder that is open by a running program.
    2. Keep in mind I can't use the 'Run as Administrator' context menu option because I am clicking on the zip file not running the 7-Zip GUI directly. My only option is to use compatibility mode to set Admin rights. I've had many programs that require Admin rights under Windows 8 then I ever had with Windows 7. Any thoughts/ideas on my problems?

      My System SpecsSystem Spec

  2. #2


    New Jersey
    Posts : 114
    Windows 8.1 Pro X64


    Windows 8 is driving me nuts. I got 7-Zip to work fine when I gave my user account full control over the folder I am extracting to. Why did I have to do this to get it to work? I never had to do this in Windows 7. I've run into all sorts of Administrator rights problems with W8.

    For example, the Registry Scanner from NirSoft. If you try the to Open the Registry on a key RS is displaying nothing happens. Either you have to run RS as Administrator or set RS to have Admin rights in compatibly mode. Once again I never had to do this in W7.

    Is it just me that is having these sort of Admin issues?
      My System SpecsSystem Spec

  3. #3


    Redmond
    Posts : 651
    Windows 8.1 x64


    What folder are you attempting to extract to? If it's at the root of a drive, or one of the protected folders (\Program Files, ProgramData, \Windows), then yes, you need admin access to do this. If it's a profile folder (like your desktop or documents), that wouldn't make sense unless 7zip is doing something "bad" when launching (for what it's worth, I've been using WinRAR without problems on Win8, but I've not tried 7zip yet).
      My System SpecsSystem Spec

  4. #4


    New Jersey
    Posts : 114
    Windows 8.1 Pro X64


    It's my Firefox folder in \Program Files (x86). Nothing special about it. As I stated, the error messages I were getting were exactly the same as when I try to extract to the Fx folder when Fx is running.

    FYI
    I run Fx hourlies. I download the latest one, open it in 7-Zip via the Fx download menu, exit from Firefox, then extract it to my Firefox folder. This always worked in Windows 7 without having to give full control to my Fx folder.

    Perhaps the reason the folder did not have full control for my user account was the fact that I manually created the folder the first time because I use the ZIP version of the hourlies. Maybe if I ran the EXE version it would have created the folder with full control for me.
      My System SpecsSystem Spec

  5. #5


    Redmond
    Posts : 651
    Windows 8.1 x64


    Perhaps - in Windows 8 (and technically, it was the same in Windows 7 too, unless it was changed by the installer or manually by the user), \Program Files folders are "protected". By default, they're read only except for administrators running with a full admin token (aka, elevated process run as administrator) and the SYSTEM account. You can use icacls to change this, if you need to, and once you do the problem will go away.
      My System SpecsSystem Spec

  6. #6


    New Jersey
    Posts : 114
    Windows 8.1 Pro X64


    I had to reinstall W8 Pro x64 due to problems I had running Modern Apps like the Solitaire Suite from MS. After installing 7-Zip, the latest x64 alpha version, I can't seem to get the context menus to work. Some options do nothing while others give me this error message :

    ---------------------------
    7-Zip
    ---------------------------
    The requested operation requires elevation.


    C:\Program Files\7-Zip\7zG.exe
    ---------------------------
    OK
    ---------------------------

    I gave all three of the exe's in the 7-Zip folder Admin rights and also took ownership of the folder. This same version of 7-Zip was working on my previous W8 install, btw.

    Any ideas on getting the context menus to work? Within the 7-Zip GUI I can do what all the context menu options do because the exe has Admin rights. Do I need to give the context menu programs Admin rights too? I haven't found a way to do this.
      My System SpecsSystem Spec

  7. #7


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Never encountered this before. Using the beta.
    Maybe the latest alpha's have some bugs related to Win8?

    I'm using the x64 7-zip 9.22 (not the alpha) and all works well on Win8.
    The e-mail shell commands seem to be better in latest version but I don't use those.

    If you try extract to Program Files directly, then you can expect some problems.
    Always extract to your user folder or desktop and then move files to Program Files.

    Try to run 7zFM.exe as Admin and then Tools -> Options for resigning the context menu's.
    This should have worked, but as I see, you allready run it as admin. Oops.
      My System SpecsSystem Spec

  8. #8


    New Jersey
    Posts : 114
    Windows 8.1 Pro X64


    I had 9.3 alpha working on my previous W8. I've always had trouble with 7-Zip, it never worked out of the box. I have to give the executables Admin rights to work in all cases. I don't recall if I had to do something similar with the context menu items under my previous W8. All I know is that they worked.

    Based on the error message I need to elevate something in 7-Zip but I don't know what at this point.
      My System SpecsSystem Spec

  9. #9


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    What were you trying to do?
    Maybe I can reproduce that error on 9.22.
      My System SpecsSystem Spec

  10. #10


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    It says that 7z alpha is not recommended for normal usage.
    It messed up some of my archives in the past (corrupted the files) so I believe that now.

    Weird error there because I didn't saw it yet on Win8.
    I'll wait with the 9.3 until it stabilizes a bit more.

    Maybe try uninstalling and remove all registry entries or 7-Zip then try reinstalling. You can of course try different versions as well.

    Good luck
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
7-ZIP and administrator rights problem.
Related Threads
administrator rights in General Support
First of all my computer skills are just average. Sometimes when doing certain things. It says I need administrator rights. ( Windows 8 ) Whats the easiest way to do this? Also the things I heard on ( You Tube ) is not to leave administrator rights allways on. Hackers will mess with...
I am getting error "Save failed - Please check if this file is opened in another program" when trying to edit the hosts file in Notepad++. This has only started happening after a fresh installation of Windows 8 on a new computer. My previous computer with Windows 8.1 was able to do it correctly...
Win 8.1 Pro x64, single-user computer. I don't know if it started with updating from 8 to 8.1 in December, but roughly since then I've getting been a fair number of error messages while saving or changing a program's default setting, saying directly or indirectly that I need administrator rights...
Solved Administrator rights for software in Standard account in User Accounts and Family Safety
Hi, I'm currently using Windows 8.0. Would like to check if it is possible to allow a particular software to be run as Administrator, even when I am using a "standard account", without the need to enter the administrator password everytime I open it? Essentially like making an exception to allow...
Good day all, I've done a quick search (here and google) but can't find a solution for the following: Windows 8 pro: I have a user account with admin rights. It used to work fine till one day, after rebooting, I had no tiles in the start view. I ran chkdsk and it seems to have fixed the...
Admin rights problem in User Accounts and Family Safety
I have windows 8. I recently restored my laptop to factory settings. I entered my microsoft account to make a user, and this was an admin. I created another user, went to control panel, and made my first account standard, and my new account admin. The account I changed to standard still acts...
lost all administrator rights... in User Accounts and Family Safety
A couple of days ago i noticed that my C: Drive doesnt have its usual name and i cant access it, now its just Local Disk C. the PC work fine, except for the fact that i cant install anything, or open anything that requires admin rights. I cant perform a factory reset from the "advanced tools" menu,...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook