Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a scheduled task which should enable my hotspot when my wifi connects to a network, only, it doesn't do what it should do. I've tried both basic task and task with:
-'Event' as the Trigger and
-'Microsoft-Windows-NetworkProfile/Operational' as Log and
-'NetworkProfile' as Source and
-'10000' as EventID.
-'Run with highest privileges' is checked and the task is
-configured for Win8.1
- I've now only set a really simple batch script as action which echoes only one word to avoid any errors here
-Event logging was disabled once but it is enabled now i believe. Services.msc says it's auto-started, and currently running.

It just doesn't do anything when i connect my wifi, but when i manually demand the task to run, it runs fine. I really don't know what i did wrong, is it the ID number? Or still this event logging?
i don't know.. I have the Windows 8.1 system.
any help would be greatly appreciated!
let me know if more info is needed to answer this question.

share|improve this question
up vote 0 down vote accepted

Nevermind, i started eventvwr.exe and searched for the used source and event to check the values.
I attached a task to ID 10000 which seriously exactly does the same thing i did when i manually created a task with these properties.
Now it works somehow. In addition i disabled UAC. Don't know if that matters.
Another option is to replace the .bat file with a shortcut to the batfile, but of course this is less decently programmed.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .