VFPX / ParallelFox

Parallel Processing Library for Visual FoxPro
33 stars 7 forks source link

ParallelFox 1.2 having issue with UAC #3

Closed IrwinAsh closed 3 years ago

IrwinAsh commented 3 years ago

Does anyone know how to get past User Access Control not allowing execution of ParallelFox

ThorstenDoherr commented 3 years ago

Does UAC not allow the adjustments to the registry to register ParallelFox or does it block the execution even after properly registering the OLE object? Does this also affect the debug mode? Sorry, for only having questions instead of answers but your post is quite vague. I assume that deactivating UAC is not the right answer. By the way, I am a big fan of ParallelFox. It really has a huge impact on performance and is relatively easy to implement. If you are interested, I have written a ParallelFoxWrapper (see: SearchEngine/code/modul/custom.prg) that automatizes the whole ParallelFox deployment incl. installation, calls, fallback to debug mode (if something goes awry, e.g. the UAC) and so on.

JoelLeach commented 3 years ago

ParallelFox.exe does not require elevation and it should not be triggering a UAC dialog. I would go into the properties of ParallelFox.exe and look at the Compatibility tab. If you find it has been inadvertently set to run as administrator or in compatibility mode, uncheck those boxes.

IrwinAsh commented 3 years ago

Thanks Joel!

Irwin Ash

From: Joel Leach @.> Sent: Tuesday, June 22, 2021 09:36 To: VFPX/ParallelFox @.> Cc: Irwin Ash @.>; Author @.> Subject: Re: [VFPX/ParallelFox] ParallelFox 1.2 having issue with UAC (#3)

ParallelFox.exe does not require elevation and it should not be triggering a UAC dialog. I would go into the properties of ParallelFox.exe and look at the Compatibility tab. If you find it has been inadvertently set to run as administrator or in compatibility mode, uncheck those boxes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/VFPX/ParallelFox/issues/3#issuecomment-865989868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH56DBVIOR26HUY2N5OMSODTUCGTLANCNFSM47DTVFCA.

IrwinAsh commented 3 years ago

Thanks Thorsten

I am also big fan Sorry about being vague

Correct, turning off UAC is not the desired solution

Thanks again

Irwin Ash

From: Thorsten Doherr @.> Sent: Tuesday, June 22, 2021 09:33 To: VFPX/ParallelFox @.> Cc: Irwin Ash @.>; Author @.> Subject: Re: [VFPX/ParallelFox] ParallelFox 1.2 having issue with UAC (#3)

Does UAC not allow the adjustments to the registry to register ParallelFox or does it block the execution even after properly registering the OLE object? Does this also affect the debug mode? Sorry, for only having questions instead of answers but your post is quite vague. I assume that deactivating UAC is not the right answer. By the way, I am a big fan of ParallelFox. It really has a huge impact on performance and is relatively easy to implement. If you are interested, I have written a ParallelFoxWrapper (see: SearchEngine/code/modul/custom.prg) that automatizes the whole ParallelFox deployment incl. installation, calls, fallback to debug mode (if something goes awry, e.g. the UAC) and so on.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/VFPX/ParallelFox/issues/3#issuecomment-865988160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH56DBSB2DRDP6QHJNJJKW3TUCGKLANCNFSM47DTVFCA.

IrwinAsh commented 3 years ago

Thanks everyone for your help

turns out issue was i was always registering ParallelFox.exe and i fixed by using IsRegistered() and only registering if required. Probably will still get UAC but at least it will only be once

thanks again

JoelLeach commented 3 years ago

Glad to hear you resolved it.