CoreTemp - Startup with Vista x64 and UAC - Solution

A place to discuss anything related to Core Temp and temperature reading in general
Post Reply
CoreTemp-User072
Registered User
Registered User
Posts: 3
Joined: Thu Jan 01, 1970 12:00 am

CoreTemp - Startup with Vista x64 and UAC - Solution

Post by CoreTemp-User072 »

I noticed a lot of people are trying to make Core Temp start-up on Windows Vista x64 with UAC enabled and finding it constantly asks for permission to run. Here is how to get legally get around UAC. This is all tested with 0.99.3 on Vista x64. Vista x32 should work equally well. This may seem like a long post, but actually the instructions are very detailed - you should have no problem with Core Temp or any other app with the same issue (eg. Rocket Dock) in the future.
So on with the show.

0. Run core temp and
disable 'Start Core Temp with windows'
enable 'start minimized'
enable 'enable plugins' if using the vista sidebar gadget or anything that needs CT access.
all other options are at the discretion of the user.
Click OK.

1. Remove the program from the Startup folder or any RUN/STARTUP registry key. - Disabling 'start CT with Windows' should actually have removed the registry key entry anyway.

2. Move Core Temp.exe to a directory that is NOT 'Programs x86' or anywhere else controlled by Windows. I created a directory in my 'Users/my login name' directory called 'startupapps' and put 'Core Temp.exe' in there. (Note: strictly speaking this is not required, but some have reported they needed to do this so I simply wrote what I tested and checked as working.)

3. Launch the Task Scheduler (Control Panel -> Administration Tools -> Task Scheduler)

4. From the Actions panel on the right, select Create Task...

5. Give the Task a description of 'CoreTemp' (or anything else you feel like if you want to be cryptic)

6. Go to the Security Options on the General tab

7. Select an user account with administrative privileges

8. Select the radio button Run only when user is logged on

9. Check the box Run with highest privileges

10. Go to the Triggers tab and click New...

11. In Begin the task, select At log on

12. In the Settings options, select All users

13. In the Advanced Settings options, check the box Enabled

14. Click OK to close the dialog

15. Go to the Actions tab and click New...

16. For Action, select Start a program

17. In the Settings options, browse for the Program/Script you want to execute on startup

18. Click OK to close the dialog

19. Go to the Settings tab

20. Check the box Run task as soon as possible after a scheduled start is missed

21. Uncheck the box Stop the task if it runs longer than

22. Click OK to save and close the task properties

23. Logout.

24. Login.

25. Wait - Core Temp will eventually load - usually instantly, but may be up to 30 seconds or so.

Core Temp will now start when you login *without* any request for permissions even when UAC is enabled.

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Good post.
Stickied.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User093
Registered User
Registered User
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User093 »

Great, but since it uses a valid Certificate why does CoreTemp still ask for UAC confirmation anyway? Vista should not ask for UAC permission for correctly certified programs as far as I can understand...

And I add: it opens an orange UAC requester that means it's not certified.

Read what UAC docs says explained by Russinovich: http://technet.microsoft.com/en-us/maga ... 38019.aspx

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Thanks, but the link is dead.
We’re sorry! The page you were expecting to see has been removed or is unavailable.

Visit a TechCenter from the list below, or visit the TechNet home page.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User093
Registered User
Registered User
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User093 »

Strange... it works for me... have you tried through proxy?

Try http://social.technet.microsoft.com/sea ... nt+control
should give you those results... e.g. http://download.microsoft.com/download/ ... /58_64.pdf

CoreTemp-User093
Registered User
Registered User
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User093 »

News about this strange fact?

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

haven't had the time to research this yet.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User093
Registered User
Registered User
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User093 »

I've seen 0.99.4 still has same behaviour and pops up an orange (not certified) UAC requester...

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Yes, I currently don't have a solution for this.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User072
Registered User
Registered User
Posts: 3
Joined: Thu Jan 01, 1970 12:00 am

Your missing now UAC works.

Post by CoreTemp-User072 »

In this case you will never be able to simply set the application in startup because of number of things it does at a time when the system is flip-flopping between secure states. You have the same situation with linux and to a lesser extent BSD.

If you had a pure driver starting - not problem,
If you have a pure user mode app running at startup - no problem.

Mix the two and UAC has to pop up to request confirmation that app can start.

Using the method I specified does not trick UAC in any way, it is how you pre-authorise the app and driver to run in a safe an legitimate fashion.

The actual explaination is very complicated, so I have simplified it a huge amount in this post.
The method for starting CoreTemp using the Task Scheduler is the 'legal' way for such an application. It waits until all priviledges are known and then starts Core Temp with the appropriate permissions. There is no way around this - if there were it would lead to a fully exploitable attack vector for trojans and viruses. Indeed this type of attack is the only sort of thing that works on Linux and BSD. And yes, I know nix and Windows are different because I do Kernel programing in both!!!!

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Thank you for the great explanation! :)
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User093
Registered User
Registered User
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am

Re: Your missing now UAC works.

Post by CoreTemp-User093 »

aeomer wrote:In this case you will never be able to simply set the application in startup because of number of things it does at a time when the system is flip-flopping between secure states. You have the same situation with linux and to a lesser extent BSD.

If you had a pure driver starting - not problem,
If you have a pure user mode app running at startup - no problem.

Mix the two and UAC has to pop up to request confirmation that app can start.

Using the method I specified does not trick UAC in any way, it is how you pre-authorise the app and driver to run in a safe an legitimate fashion.

The actual explaination is very complicated, so I have simplified it a huge amount in this post.
The method for starting CoreTemp using the Task Scheduler is the 'legal' way for such an application. It waits until all priviledges are known and then starts Core Temp with the appropriate permissions. There is no way around this - if there were it would lead to a fully exploitable attack vector for trojans and viruses. Indeed this type of attack is the only sort of thing that works on Linux and BSD. And yes, I know nix and Windows are different because I do Kernel programing in both!!!!
This doesn't change the fact that CoreTemp pops-up an Orange UAC requester: it means the sys identifies it as not certified, as it should be...
There is something wrong IMHO....

CoreTemp-User072
Registered User
Registered User
Posts: 3
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User072 »

Hello, rolloLG.

The orange UAC requester will not pop up if you follow the instructions at the beginning of this thread. As I said, as long as the driver is signed it will be allowed to run, but running it from a user level app is a security issue and hence the the UAC message. Follow the instructions and the whole thing is 'pre-authorised'.

If the driver where installed separately from the Core Temp application then there are valid ways around the UAC requester, but as they are bundled together - which in my opinion is the correct option for a smallish app - then you need to follow the installation instructions.

That's just the way it is - and in this case it is certainly correct, if annoying. Try spending a day with driver access stuff in KDE and you will start to find UAC ain't that bad :-) - Though I must say Gnome does it better, and the latest Mac (leopard) is just plain annoying (like UAC). Maybe Snow Leopard will show a better way ;-)

CoreTemp-User296
Registered User
Registered User
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User296 »

Hi all, i just joined today to ask about an issue i have running both Coretemp
9.4 and the beta 9.5 in Vista Home Premium sp2. I have Core Temp running as a scheduled task and it runs without UAC prompt only it is only running in Task manager and Not in the System tray. So i have to kill it and restart to get it in the tray. How come?

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Not quite sure why it would happen.
Did you set the program to start minimized? Because if Windows starts Core Temp before the taskbar is loaded and it's set to start minimized, you won't be able to bring it back up.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User296
Registered User
Registered User
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User296 »

The Coolest wrote:Not quite sure why it would happen.
Did you set the program to start minimized? Because if Windows starts Core Temp before the taskbar is loaded and it's set to start minimized, you won't be able to bring it back up.
Yes. It is always minimized to the tray. The first time I restarted the computer after making the Scheduled task yesterday it worked fine.
Today I have rebooted twice and both times it is running but only in Task manager, no icon in the tray.So load order may have something to do with it huh?

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Most likely, I see what can be done.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User296
Registered User
Registered User
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User296 »

The Coolest wrote:Most likely, I see what can be done.
Ok thanks.

CoreTemp-User296
Registered User
Registered User
Posts: 4
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User296 »

The Coolest wrote:Not quite sure why it would happen.
Did you set the program to start minimized? Because if Windows starts Core Temp before the taskbar is loaded and it's set to start minimized, you won't be able to bring it back up.
Follow-up . This morning the 9th I booted my computer twice and both times Core-temp was in the Tray where it belongs. So you are probably right that is a boot anomaly which I will live with because I only reboot my computer once a month on average. Thanks.

Post Reply

Return to “Core Temp - Discussion”