Program only runs correctly when UAC is switched OFF

pete101

New member
Local time
7:29 PM
Messages
5
Hi guys,

I successfully used a macro recording application called QuicKeys on my old XP machine with no issues or problems. :)

Now that I have upgraded to WIndows 7 the applicaton no longers runs correctly i.e. it records the keystrokes/mouse movements ok, but on playback it halts when it reaches a mouse playback and generates a step failed error message. :(

I've tried running it both as a Standard user and also as an Administrator, but the problem still occurs.

The only solution appears to be to turn the UAC completely off (even lowest setting still results in the above problem). Only then does the application run without a problem. :confused:

I am guessing that somehow the mouse movement playback is being blocked by the UAC (no prompts), but I would have thought that running it with full admin rights would have by-passed the UAC.

Also tried running it with the "task scheduler" method which some users employ to avoid UAC issues, but still get the same result.

Are there any gurus out there with the solution?

Many thanks,

Pete
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32 bit

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium
Hi Tookeri,

Many thanks for your prompt reply. It is much appreciated.

I did look at a few alternatives to QuicKeys prior to posting, but couldn't find anything which I personally felt was as good or as flexible (Auto Hotkey was probably the closest).

I have quite a few scripts written in QuicKeys which is another reason why I want to get it working in Windows 7, but the UAC seems to be the stumbling block.

Would have thought that running it under Admin rights would have solved any problems, but alas not !!!!!

Kind regards,

Pete
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32 bit
Hi Pete,

You can try launching it through Task Scheduler and see if that helps:
Run UAC restricted programs without the UAC prompt - TechRepublic

If that doesn't work you could try to change the scheduled task to run it as SYSTEM instead of your user.

I don't have any old non UAC compatible programs so I can't say if this will work or not.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium
If you have downloaded the app from another machine, you will have to take 'ownership'.


See if that works, and let us know.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
There is also always xp mode, however you would need to be in the virtual environment for it to capture anything.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
AMD Ryzen 5 2400G Processor with Radeon RX Vega 11 Graphics
Motherboard
ASRock X470 Master SLI/AC AM4 AMD Promontory X470 SATA 6Gb/s
Memory
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM D
Graphics Card(s)
2047MB NVIDIA GeForce GTX 1060 6GB (EVGA)
Sound Card
Motherboard Built in
Monitor(s) Displays
Acer R240HY bidx 23.8-Inch IPS HDMI DVI VGA (1920 x 1080) Wi
Screen Resolution
1920 x 1080
Hard Drives
1TB Sandisk SSD PLUS (Main drive)
500 GB Seagate 7200 RPM (Games)
500 GB Western Digital 7200 RPM (Virtual Machines)
PSU
CORSAIR TX Series TX650M 650W 80+ Gold Modular Power Supply
Case
CORSAIR CARBIDE SPEC-02 Mid-Tower Gaming Case, Red LED Fan
Cooling
220mm, two 120mm, and four 60mm fans
Keyboard
Wired Dell keyboard
Mouse
Wireless Logitech mouse
Internet Speed
250mb down, 30mb up
Antivirus
Panda Cloud Antivirus
Browser
Chrome-ish x64
Other Info
Your awesome for reading this.
If you have downloaded the app from another machine, you will have to take 'ownership'.

See if that works, and let us know.

Good point Jacee,

Also check the properties of the file, press the Unblock button if it is active.
FileBlockedProperty.png
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
Hi Guys,

Many thanks for the suggestions.

@Tookeri: Had already tried the TASK SCHEDULER solution, but decided to give it another bash. Alas same result. Program only runs ok when UAC is switched off (i.e. set to never notify).

@JACEE: Program was downloaded directly from the official website (onto a "brand new" Virtual Manchine).

@andrew129260: Using a virtual environment (Tried XP then swapped to Windows 7). Each attempt is done using a clean build.

As indicated previously the program only runs ok when UAC is switched off. When it's on the program gets blocked. There isn't even a prompt or anything.

It's all very odd as I would have thought that running something as an Administrator would have "overcome" any UAC issues.

Best regards

Pete
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32 bit
Have all of your attempts been on a Virtual Machine?

What are you using for a VM?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
Hi Slartybart,

I am using Oracle VM VirtualBox running Windows XP Professional (SP3).

The installed QuicKeys applications runs find on the VM. No problems whatsoever.

However, when I try and capture it using the likes of Cameyo, BoxedApp, Evalaze, etc the resultant output fails to run correctly.

Each attempt is done on a "clean build".

Happy for any suggestions :-)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32 bit
Thanks for the feedback.

Still confused though.
I successfully used a macro recording application called QuicKeys on my old XP machine with no issues or problems. :)

Now that I have upgraded to Windows 7 the application no longer runs correctly i.e. it records the keystrokes/mouse movements ok, but on playback it halts when it reaches a mouse playback and generates a step failed error message. :(
.....

QuickKeys records the macro without incident in native Win7 - yes?

I'm no guru on this, but doesn't QuickKeys provide the macro playback. I'm confused by when I try and capture it using the likes of Cameyo, BoxedApp, Evalaze, etc the resultant output fails to run correctly.

If I'm reading this correctly - you're running a VM to create the macro and then bundling the macro into a package (Cameyo, BoxedApp, Evalaze) that runs in a virtualized environment. Device drivers need to be accessible in any virtualized computing environment (although a mouse is fairly basic)

I am also by no means a guru on VMs, but found something that might point you in the right direction:
Forwarding USB devices on Oracle VirtualBox | arvydas.co.uk

Good luck, that's about the extent of what I can think of to offer.
+edit
Searched a little more and found this:
http://blogs.msdn.com/b/patricka/ar...eirdness-demystifying-uac-virtualization.aspx
and this
http://www.sevenforums.com/virtuali...file-registry-virtualization.html#post1591493

There are other possibles in that thread - see if any help.​
-edit

Bill
.
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
Hi Slartybart,

Many thanks for the pointers. It's much appreciated.

As indicated Quickeys works fine on a native Windows 7 machine providing that the UAC is switched off.

When the UAC is switched on it will still record mouse/keystrokes ok, but won't play them back correctly. The keyboard strokes do still play back ok, but any mouse movements cause a QuicKeys "Step Failed" error. :cry: It's as though the UAC is blocking the mouse movement playback. If I switch the UAC off the same macro will then play with no errors.

Therefore, my plan is to try and create a virtual version of Quickeys (using a VM version of XP)

However, none of the packages which I have tried (e.g. Cameyo, BoxedApp, etc) seem to work. The resultant output fails to run on the VM even though QuicKeys itself does work without a hitch on the same VM. Each attempt is done on a clean build.

As an added check I did capture some unrelated programs on the VM, which was just to make sure that the packages weren't missing any system software. They worked ok. Only seems to be QuicKeys that is having problems being captured.

It's all very strange :confused:
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32 bit
Can you run QuickKeys debug (step) playback in native Win7 with UAC on and try to capture the exact error. If it's just Step Failed, I'm not sure how to help.

A possible workaround:
Use Mouse Keys to move the mouse pointer
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
It would be very helpful to know if you're running a laptop with a touchpad and an external mouse, or a desktop with a wired or wireless mouse. I'm finding that a few drivers (Logitech) have issues with elevated priviliges - the solution isn't clear, but some suggest rolling back the mouse driver to the base MS driver - you'll lose the add-ons provided by the device mfgr, but if it solves the issue ....

These two reports will provide a lot of information about the hardware so members don't have to ask.
  1. Please add your SF Systems Specs by following this tutorial: http://www.sevenforums.com/tutorials/180324-system-info-see-your-system-specs.html
    • In the System Manufacturer/Model Number field, manually type Desktop or Laptop adding it to the information already in the field.
      The specific model number is important - there are often many models of a given series. For example, my machine is a HP Pavilion dv6, but there are tens of the dv6 series, so dv6-6c10us is the specific model.

    • Specify Custom Build as the manufacturer if it is not an OEM machine.

    • The tool does not fill in this information but it is very important if someone has to research drivers or hardware for your machine.
    Log on to Sevenforums (SF) and let the tool fill in you System specs on your SF profile.

    Full instructions are in the tutorial. It's a simple process and it makes that information readily available on your posts. You don't have to retype the information in any thread.

    Click here to view your system specs on SevenForums.

    Click on My System Specs in the lower left of any post by any member to see what is presented about their machine.

  2. Please follow this tutorial to provide the current operating environment of your machine.
    http://www.sevenforums.com/tutorials/311593-speccy-publish-snapshot-your-system-specs.html


Thanks
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
Back
Top