Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Autorun as admin blocked after Windows 8.1 August Update


  • Please log in to reply
13 replies to this topic

#1
oomek

oomek

    Junior

  • Member
  • Pip
  • 77 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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, 27 August 2014 - 08:11 PM.

Xbox controller navigation for Windows 8.1 www.xbstart.info


How to remove advertisement from MSFN

#2
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,990 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

what do you mean with registry? Use the old Task Scheduler Trick which still works fine:

 

http://www.msfn.org/...howtopic=135472


Posted Image

#3
oomek

oomek

    Junior

  • Member
  • Pip
  • 77 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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, 28 August 2014 - 07:36 AM.

Xbox controller navigation for Windows 8.1 www.xbstart.info

#4
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,990 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.


Posted Image

#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

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



#6
NoelC

NoelC

    Software Engineer

  • Member
  • PipPipPipPipPipPip
  • 1,014 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

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



#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

 

 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



#8
NoelC

NoelC

    Software Engineer

  • Member
  • PipPipPipPipPipPip
  • 1,014 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

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



#9
oomek

oomek

    Junior

  • Member
  • Pip
  • 77 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

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.


Xbox controller navigation for Windows 8.1 www.xbstart.info

#10
xpclient

xpclient

    XP was my idea. 3rd party apps make NT6 my idea.

  • Member
  • PipPipPip
  • 331 posts
  • OS:XP Pro x64
  • Country: Country Flag

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.co...ntent.aspx?id=2 which uses the Task Scheduler API to create the Task.


Impossible to run NT6 without third party fixes.


#11
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

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.c...mpt-after-execu
http://www.msfn.org/...ase-cmdhideexe/
etc.
What I personally have on all my systems is nircmd (that can do that and much more):
http://www.nirsoft.n...ils/nircmd.html
but as said you will have to check if these programs work on your version of windows.

jaclaz

#12
oomek

oomek

    Junior

  • Member
  • Pip
  • 77 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

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.


Xbox controller navigation for Windows 8.1 www.xbstart.info

#13
NoelC

NoelC

    Software Engineer

  • Member
  • PipPipPipPipPipPip
  • 1,014 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

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

 

-Noel



#14
oomek

oomek

    Junior

  • Member
  • Pip
  • 77 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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, Today, 05:30 PM.

Xbox controller navigation for Windows 8.1 www.xbstart.info




1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users


    NoelC


How to remove advertisement from MSFN