How to get a scheduled task to run when disconnected, but do not run hidden

Under XP, I had an installation where I created a scheduled task to open a playlist of music at 07:00 every day which was basically I woke up.  In the evening, I would put my computer to sleep and in the morning, the scheduled task would automatically wake the computer, log in my user account and open the playlist with my music program.   In Windows 7, it's is not possible because:

1. If I put the "execute task if the user is connected or not," the music program opened by the task is hidden, and I can't control or turn off the music player, because it is hidden.

2. If I put the task 'Run only when the user is connected', the music player is is more hidden when it is launched, but it does not work in my situation because my computer is configured to automatically disconnect when it goes into sleep mode, and which is usually the case when I want the scheduled task to run.

It worked perfectly well under XP but under Windows 7 it is broken, because, for some reason if a scheduled task is set on "Run If the user is logged in or not ', the window opened by the scheduled task is always hidden.  This was not the case in XP.  Why is this the case in Windows 7, and is there a way to make it work like it did in XP?

It's a real shame, because it worked perfectly under XP without the need of any additional software overhead.

It is the same for Vista. The cause is SECURITY!

Learn more about it here:
http://windowsteamblog.com/Windows/b/developers/archive/2009/10/01/session-0-isolation.aspx

André

"A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

Tags: Windows

Similar Questions

  • How to make a scheduled task to close after 5 minutes?

    I have a program that should run for a minute or two, but sometimes crashes.  I created a scheduled task to run every hour, 10-minute course.  Everyonce in a while, however, he crashes and prevents it from running again the next time.  How can I stop the program after 5 minutes?

    Hello

    1. Are what program you referring?
    2. What scheduled task you are trying to run for each hour, 10-minute courses?

    You will get an adjustment to close the task if it runs for more than an hour.

    I suggest you try these methods and check the status of the issue.

    Method 1:

    I would say allows you to delete a scheduled task, restart the computer and re-scheduled task and check the status of the issue.

    Schedule a task.

    http://Windows.Microsoft.com/en-us/Windows7/schedule-a-task

    Method 2:

    Keep the computer in a clean boot and check the status of the issue.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7.

    http://support.Microsoft.com/kb/929135

    Note: Please, go to step 7 of the Kb to maintain the computer to a normal startup after you fix the problem.

  • Can I get a "schedule" of labview makes when it runs the program?

    Can I get a "schedule" of labview makes when it runs the program? that is how long it spends making each sub vi, and what order it's them.

    See you soon

    The execution Trace Tool kit is an add-on. If you do not your package of discs... maybe try a demo version?

    Spy OR get loaded with BT (or one of these things).

    Start > programs > National instruments > NI Spy?

    Ben

  • whenever I start my pc it automatically opens the disc clean up, I don't want that. How to stop this scheduled task?

    whenever I start my pc it automatically opens the disc clean up, I don't want that. How to stop this scheduled task?

    Ive tried to delete, but I don't think that it wrks. It appears again on the performance of the tasks. I actually put it to daily nd now I can't undo this action. is it possible to change the disc clean up [Settings?] I can't find it. Ive tried properties, but it will not let u

    Hello

    read this information on the Defender:

    ·                         If you use microsoft security essentials avg avira mcafee norton etc they disable the vista version of windows defender by default

    the basics of Microsoft security has its own version of windows defender

    and other anti-virus programs use their own particular type of application to scan for spyware and malware

    It of nothing to worry and is the default action, which is designed for them to do

    and if you need to change startup programs read this information on the other methods of doing it without using defender

    using msconfig read this tutorial:

    How to use MSCONFIG in Windows Vista

    Here's how to use MSCONFIG in Windows Vista to disable some unnecessary programs that load automatically at startup

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    and also try this FREE program Autoruns:

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services more

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

  • Scheduled task (dba_job) running immediately after starting

    Hello


    Clone of post a scheduled task (dba_job) runs immediately after startup. This task must be performed only in Production - not in the test environment.


    I know that we can stop the task to run using exec dbms_job.broken (42, TRUE), but to do this, I have to start the database.

    The job runs as soon as I start the database. This creates problems.


    Could someone help to prevent the execution of this work.


    Thank you
    Prasad Arava

    JOB_QUEUE_PROCESSES = 0

  • I'm new to CC.  I discovered that I had to download first CS6 inorder to get it. (May not yet know how to get the title templates, etc. cannot understand instructions; but I spread) I see that it still says trial.  How can I get the

    I'm new to CC.  I discovered that I had to download first CS6 in@order to get it. (May not yet know how to get the title templates, etc. cannot understand instructions; but I spread) I see that it still says trial.  How can I get the full thing.  I am a Subscriber complete cc

    I don't know what you've done, but here are the instructions to install the PProCS6 and the callback with a cloud account

    Yet the instructions http://helpx.adobe.com/encore/kb/encore-cs6-installed-cc.html if you have a subscription

    - and the difference in the Cloud application manager 2015 https://forums.adobe.com/thread/1906752

    Still will not run as a trial, it is enabled when you install and activate PProCS6

  • How to get rid of adds tht come when I browse

    How to get rid of adds that come when I browse

    Scan your PC with antimalware program.

    You should consider removing some plugins too, for example game loader Plugin for Power Challenge Games,.

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Could not get a scheduled task runs

    Hi people,

    Google a lot for it but can't find the answer. Sorry to have to post.

    When I find the file it works fine, but the usual run of cfadmin. Can anyone help?

    I checked the permissions and they seem to be ok.

    Any help much appreciated.

    Thank you

    matthisco wrote:

    Any ideas?

    Disable the "Windows integrated security" feature in your server control panel web IIS for this file from ColdFusion can not send a WWW-Authenticate header for an HTTP request for the scheduled task.

  • Can we prevent the popup Scheduler task Service at the start of the system for a scheduled task to run periodically?

    When I have any task scheduled to run periodically (for example, daily, weekly), the Task Scheduler Service dialog box always appears on the logon screen if the computer was turned off at the time of day the task should run. From my experiences, it seems as the process that determines a spot missed his scheduled time does not consider that the PC is turned off. There seems to be no way to prevent this. Even when a task is scheduled to run at the system startup and periodically, the dialog box appears when the login screen appears.

    This analysis is correct?

    I have three tasks in Task Scheduler. I didn't know anything about the task scheduler until I started having the popup. The first time I looked at Task Scheduler these three tasks have been implemented as follows.

    Adobe Flash Player Updater - Annex: every 1 hour (s) 03:05 for 24 hour (s) on every day...

    GoogleUpdateTaskMachineCore - Annex: Run when the user login

    GoogleUpdateTaskMachineUA - Annex: every 1 hour (s) 20:51 24 hour (s) on every day...

    I have no idea how or when it has been implemented in this way, but I only started to receive this dialog box by the end of 2011. Would it have happened during an Adobe Flash Player update or update of Google?

    I changed the calendar. I've now set up three tasks to run at startup of the system. The popup appears now. Is there a reason why I have to trigger these tasks once per hour?

    CSF

    You don't need these tasks scheduled at all.

    You can go to each site and look for updates when you want.

    If you have installed google something he will continue to try to catch up, and if you have installed adobe you can disable automatic updating.

  • Scheduler task does SyncToy as expected but Will Run On Demand

    Vista Home Premium (32 bit), SnycToy 2.1

    I tried to implement a daily local sync automated using the Task Scheduler and SyncToy.  I put in place a task in Task Scheduler task instructions of SyncToy.  I am using the command line option (..) (SyncToyCmd.exe option' - R) for all pairs of batch record.  I can run the synchronization to the application successfully, but the scheduled synchronization does not work.

    • The task is enabled.
    • I delivering the option 'run with highest privileges '.
    • There is no set of conditions
    • I am the only user on this computer and I am the administrator.  The computer has a password.

    As time passes, the "next time" recovering the next day, but the Sync does not work and there is no error generated.  It appears as if he had run, but cmd window doesn't pop up (as it does when running on-demand) and files are not synchronized.  Nothing happens.

    A test, I chose to program using the... SyncToy.exe file (without the - R) argument and the Scheduler will be launching the program successfully, but of course, is not sync.

    Any ideas why Task Scheduler is not running the... SyncToyCmd.exe as expected?  Any help would be appreciated.

    Thank you!

    Hello

    Please check with the Experts in the Forums of SyncToy

    SyncToy - Forums
    http://social.Microsoft.com/forums/en-us/SyncToy/threads/

    Happy holidays.
    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Define a scheduled task to run at multiple intervals

    Hello

    I have a scheduled task that is configured to run every day @ 03:00. Is there a way to put this work to run twice a day... I mean, to run every day at 03:00 and 10:00.

    Please suggest

    Thank you

    IF the interval does not work for you then you can just create several instances of employment and put them at daily intervals at different moments you want.

    -Kevin

  • How to get the name of the element when running from popup menue?

    Hello

    I am using the 10.2 forms and a form with 2 listitems (mouse and keyboard navigable = No./false) with the same popup menu.
    When I'm currently running then menu-trigger point: system.mouse_item is not defined and: system.cursor_item the value von hase something else.

    How to get the itemname of the element that is currently leading the context menu?

    Robert

    Hello!
    Can create a PRE-POPUP-MENU trigger on block level
    with a call to go_item (: system.mouse_item)
    You know, you're on what item in the list when the context menu is active.
    Concerning

  • How to get an Image.height who created when running?

    Hello

    I create an image to the length and adding it to a control group. After that, I want to get this image width and height.

    but when I get the image like this:

    var bgImg:Image = group_createdMenu.getElementAt (imageIndex) as Image;

    bgImg.height = 0; -> don't just not the height of sources.

    I think because of the image that is not yet drawn. What can I do?

    So thank you, have a nice day.

    Hello

    without seeing your code it is difficult to assess what may be the problem, but these options can help troubleshoot/fix:

    Check group_createdMenu.getElementAt (imageIndex) is to return an image - add path (bgImg); After var bgImg:Image =--if it displays "null" then it isn't an image type (so you can't get its height)

    try to get the dimensions of the object bitmapData instead: bgImg.bitmapData.height

    or the postal code where you create the image - you load a bitmap of runtime or it generate with the code?

  • Task Scheduler task shows as completed successfully, but nothing happened

    I have some .bat files I created added to my task scheduler on our server at the fire every day from 05:00.  Tasks run a series of SQL commands and a find and replace the application third for updating a MySQL database that we use for a web application.  SQL event on demand are not an option for us.

    When I run the task manually it works fine (I'm an administrator has full permissions), either by double-clicking the .bat file, either by selecting the task in the Task Scheduler task by clicking on 'run '.

    Tasks have been reportedly shot every day for more than a week and all history journals say the operation completed successfully, but when I check the MySQL database, that nothing has actually happened.

    To add to the confusion, what is happening on 2 3 .bat files that I wrote.  One works perfectly, not.

    I have the defined task to "Run if the user is logged in or not", and "Run with the highest privileges" and our server, Windows 2012 R2.

    My apologies if I'm missing something obvious, I am a JavaScript/PHP web developer, who was lifted in the server environment and, although most of this is logical on a base level for me, a lot of nuances are lost.

    Thanks in advance for any help.

    Hello

    Please post your request in the forum for better support.

    TechNet

    Thank you.

Maybe you are looking for