Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
oomek

Autorun as admin blocked after Windows 8.1 August Update

Recommended Posts

After the last update from August there is no way to autorun an app through the registry in Windows 8.1. Do you have any idea how to overcome that limitation?

Edited by oomek

Share this post


Link to post
Share on other sites

By saying to autorun through the registry I meant

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run or HKLM\..\Run

I thought such an obvious thing doesn't need explaining.

Also I'm aware of the old TaskScheduler trick, but the side effect of that is a flash of a command prompt window which for a person with an OCD is not fully acceptable :)

Edited by oomek

Share this post


Link to post
Share on other sites

I don't see a cmd. The normal Run entries still work for me and tool which require admin rights are always blocked since Vista.

Share this post


Link to post
Share on other sites

Also I'm aware of the old TaskScheduler trick, but the side effect of that is a flash of a command prompt window which for a person with an OCD is not fully acceptable  :)

Wouldn't be more important to get cured for the OCD? :unsure:

 

Can you post the specific command line that produces the "command prompt windows flashing" when added to SCHTASKS?

 

If this is confirmed, you can use any among the various different tools that "hide" that "command prompt window flashing", though I haven't tested any of them on 8/8.1 there are at first sight no reasons for them to not work.

 

jaclaz

Share this post


Link to post
Share on other sites

This just makes me all the more glad I've disabled UAC.

 

And jaclaz, there's nothing wrong with a bit of healthy OCD.  It's not a disease, it's what should be considered normal.  It's all the sloppy folks who need to be cured.  :angel

 

-Noel

Share this post


Link to post
Share on other sites

 

 It's not a disease, it's what should be considered normal.  

 

 

Sure :), but if the OCD actually causes "fits" when (if) a black window flashes briefly, it sounds as being at a rather preoccupying level.

 

jaclaz

Share this post


Link to post
Share on other sites

Anyone with computer experience knows that the flashing CMD window is just the tip of the iceberg.  A Windows system is barely functional when it looks perfect.  If it looks a bit off, it is close to catastrophic failure.

 

"Oi!  Command Window Right Ahead, Captain!"

 

-Noel

Share this post


Link to post
Share on other sites

I don't see a cmd. The normal Run entries still work for me and tool which require admin rights are always blocked since Vista.

 

Since schtasks.exe is a console application I don't see a reason why you shouldn't see a CMD box. If you don't see that though it means you are doing it wrong :)

 

And btw, I like my OCD, or as I call it, a chronic attention to detail.

Share this post


Link to post
Share on other sites

There is also a GUI tool called Task Scheduler which doesn't show console windows. :) If the Task Scheduler's crappy and slow UI is annoying you, use a tool like Startup Unblocker: http://www.jimmah.com/vista/content.aspx?id=2 which uses the Task Scheduler API to create the Task.

Share this post


Link to post
Share on other sites

Since schtasks.exe is a console application I don't see a reason why you shouldn't see a CMD box. If you don't see that though it means you are doing it wrong :)

 

And btw, I like my OCD, or as I call it, a chronic attention to detail.

Yep :), but usually people that are allergic to command prompt window know how to hide it, as said there are tens of utilities that can have it hidden, but also making a batch and "wrapping it" in a .vbs should do, like:

http://serverfault.com/questions/522255/how-to-prevent-schtasks-on-windows-7-from-showing-the-command-prompt-after-execu

http://www.msfn.org/board/topic/78097-release-cmdhideexe/

etc.

What I personally have on all my systems is nircmd (that can do that and much more):

http://www.nirsoft.net/utils/nircmd.html

but as said you will have to check if these programs work on your version of windows.

jaclaz

Share this post


Link to post
Share on other sites

I know how to hide it, but wrapping it into an installer is firstly to intrusive to the end user, secondly not always foolproof. Since the last Windows update my app needs an admin rights, can't do much about it as the on screen keyboard won't receive clicks when I call mouse_event or SendInput in C# with standard privileges.

Share this post


Link to post
Share on other sites

Do you know what update, specifically, changed Windows' behavior and make life difficult for your application?

 

-Noel

Share this post


Link to post
Share on other sites

Most likely that recent cummulative August update blocked the autostart of the apps with admin privileges, so I will have to go through that list one by one. I've only identified the one which adds restrictions to the on screen keyboard. It's KB2973201 but those files have been updated again in another update so I had to uninstall all the updates which came out after that one.

Edited by oomek

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...