question, is it possible to not have it run elevated?
(seems to run evelated on my machine here)
reason being, is in windows 10, explorer runs at lower level
and you cant drag/drop a file into 7-zip's file manager, because its running elevated
and is protected
oh and i have the UAC silder all the way down, i know in windows 10, its not 100%
off, but it seems good enough
i believe its related to this:
User Interface Privilege Isolation (UIPI)
Okay, back to our drag and drop issue… A “sister” technology that works in conjunction with MIC is UIPI. UIPI blocks Windows messages being sent from process with a lower MIC level to one running at a higher MIC level. Drag-and-drop is implemented via Windows messages. Therefore, if you try and drag-and-drop a file from Windows Explorer (medium MIC) to Notepad running elevated (high MIC), the Windows messages are blocked and drag-and-drop doesn’t work.
You can use ChangeWindowsMessageFilterEx in your application to allow specified Windows messages to not be blocked. Unfortunately, this isn’t recommended as a safe solution for drag and drop due to the messages that drag and drop uses.
i wonder if you can just use that API and allow the drag drop to happen
i would ask, why is the 7zfm running elevated anyway? is it do file assoications?
if so.. that part goes back to other disccusions i have seen about it
i really love 7zip, but i need my drag drop :)
thanks
mitch
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not highly skilled in Windows intricacies. I have a problem on my Dell 3650 (i5 CPU, 16 GB), which was running 64-bit Windows 10 Pro 1709 (10.0.0.16299). I am the only user of this PC.
I was concerned about a vulnerability in an older 7-Zip, which had been functional, so I uninstalled it (through Windows app) and installed the latest version easily. (18.05 64-bit)
I received an error trying to run it: C:\ProgramFiles\7-Zip\7zFM.exe A required privilege is not held by the client.**
The file looked okay, so I tried various things, then decided it was an opportunity to upgrade Windows to 1803 (10.0.17134), which seemed (unexpectedly) to go without error. I then reinstalled 7-Zip (18.05 64-bit).
Here is the curent status:
Running from the 7Zip program directory, I can run the included uninstller, but not 7-Zip itself, evidently because of 7zFM.exe.
All .exe files in the 7-Zip directory have the same and reasonable permissions.
All other files in the 7Zip directory have reasonable permissions and identical within types of files.
The compatibility checker in 'properties' claimed that 7zFM.exe needed compatibility with 8, and changed it; same results.
I next changed all 7Zip .exe files to compatibility with 8; same results.
The 7-Zip uninstaller runs fine from its program directory.
WinZip, also newly installed now after the Windows 1803 update, works fine.
7-Zip should not have suddenly quit working. I have Windows on auto-update, but had delayed installing 1803 for a year, till I did this manually now. I believe that the Windows auto-diagnosis about 8-compatibility is a crock.
WHAT NOW?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
question, is it possible to not have it run elevated?
(seems to run evelated on my machine here)
reason being, is in windows 10, explorer runs at lower level
and you cant drag/drop a file into 7-zip's file manager, because its running elevated
and is protected
oh and i have the UAC silder all the way down, i know in windows 10, its not 100%
off, but it seems good enough
i believe its related to this:
User Interface Privilege Isolation (UIPI)
Okay, back to our drag and drop issue… A “sister” technology that works in conjunction with MIC is UIPI. UIPI blocks Windows messages being sent from process with a lower MIC level to one running at a higher MIC level. Drag-and-drop is implemented via Windows messages. Therefore, if you try and drag-and-drop a file from Windows Explorer (medium MIC) to Notepad running elevated (high MIC), the Windows messages are blocked and drag-and-drop doesn’t work.
You can use ChangeWindowsMessageFilterEx in your application to allow specified Windows messages to not be blocked. Unfortunately, this isn’t recommended as a safe solution for drag and drop due to the messages that drag and drop uses.
i wonder if you can just use that API and allow the drag drop to happen
i would ask, why is the 7zfm running elevated anyway? is it do file assoications?
if so.. that part goes back to other disccusions i have seen about it
i really love 7zip, but i need my drag drop :)
thanks
mitch
7zFM.exe Win10 problem
I am not highly skilled in Windows intricacies. I have a problem on my Dell 3650 (i5 CPU, 16 GB), which was running 64-bit Windows 10 Pro 1709 (10.0.0.16299). I am the only user of this PC.
I was concerned about a vulnerability in an older 7-Zip, which had been functional, so I uninstalled it (through Windows app) and installed the latest version easily. (18.05 64-bit)
I received an error trying to run it:
C:\ProgramFiles\7-Zip\7zFM.exe
A required privilege is not held by the client.**
The file looked okay, so I tried various things, then decided it was an opportunity to upgrade Windows to 1803 (10.0.17134), which seemed (unexpectedly) to go without error. I then reinstalled 7-Zip (18.05 64-bit).
Here is the curent status:
7-Zip should not have suddenly quit working. I have Windows on auto-update, but had delayed installing 1803 for a year, till I did this manually now. I believe that the Windows auto-diagnosis about 8-compatibility is a crock.
WHAT NOW?