Windows 10: Help: prevent sleep when using an app & run script on program start

Discus and support Help: prevent sleep when using an app & run script on program start in Windows 10 Ask Insider to solve the problem; I would like to prevent my laptop from entering sleep mode when running a certain desktop application (Dopamine, a mp3 player). Playing music through... Discussion in 'Windows 10 Ask Insider' started by /u/olivierhacking, Dec 8, 2019.

  1. Help: prevent sleep when using an app & run script on program start


    1. I would like to prevent my laptop from entering sleep mode when running a certain desktop application (Dopamine, a mp3 player). Playing music through Spotify prevents sleep, but the laptop sleeps while playing from Dopamine...
    2. I would like to create a simple script to press Alt+2 when I start a program (Steam). Any ideas on how to do this?

    Thanks! =)

    submitted by /u/olivierhacking
    [link] [comments]

    :)
     
    /u/olivierhacking, Dec 8, 2019
    #1

  2. Unwanted Apps in Start, Need help with script

    Hi Denis

    Thanks for the Suggestion, but only if it were that easy...There is no such option as you can see by the image below.


    Help: prevent sleep when using an app & run script on program start [​IMG]
     
    MrWhispers, Dec 8, 2019
    #2
  3. Helmut Win User
    Unwanted Apps in Start, Need help with script

    All I do is uninstall as you show, and that deletes the icon in All Programs list & the Start Tile, don't see your problem.
    All those you have listed that is all I have ever done. None are now in the All Programs list.

    There is no right click to Open program locations with these UWP/Apps.

    You have to do a lot of updating of UWP or Apps after the 1803 update.
    I would ensure everything is updated including MS Store before doing the uninstalls.

    I don't run any scripts at all. Very few of these re-appear after one of those 6 monthly version updates.

    I don't see the point in making a meal out of a 1 minute job.
     
    Helmut, Dec 8, 2019
    #3
  4. Help: prevent sleep when using an app & run script on program start

    Unwanted Apps in Start, Need help with script

    The whole purpose of this is to complete a unfinished script I have set in place already that I'm using which works well without any integrity violations...but

    The point is that I'm trying to come up with a simple script addition, that automates this such described manual 1-minute job, and to turn that in to a 1-second script...

    In the original post I explain that I have a script that removes everything pre-installed already except for these few unwanted items which are left behind listed as tiles on start.

    The only pre-installed apps I have included to stay in my current script i'm working on are listed in my photo below, but the problem still remains as I have unwanted tiles listed in start I would like remove via a script so that could be included in the final one I'm working on.
     
    MrWhispers, Dec 8, 2019
    #4
Thema:

Help: prevent sleep when using an app & run script on program start

Loading...
  1. Help: prevent sleep when using an app & run script on program start - Similar Threads - Help prevent sleep

  2. Notify users when there are apps preventing computer into sleep

    in Windows 10 Performance & Maintenance
    Notify users when there are apps preventing computer into sleep: Close the lip to sleep is a convenient feature only if it behaves well every time, otherwise you will have a low-battery computer next time you open the lid. Sometimes apps may request to prevent computer into sleep (as can be checked in CMD with "powercfg -requests"). in...
  3. Script running

    in Windows 10 BSOD Crashes and Debugging
    Script running: Every so often my computer will freeze on a page. I get a message push this button to stop the script, when I do this the page will unfreeze. https://answers.microsoft.com/en-us/windows/forum/all/script-running/95442ea7-9470-4cf6-815a-b9a626b9af61
  4. Programs that are supposed to run when my computer is started.

    in Windows 10 Customization
    Programs that are supposed to run when my computer is started.: When I start my computer, two of my favorite programs no longer start. Why has this happened and how do I fix it? https://answers.microsoft.com/en-us/windows/forum/all/programs-that-are-supposed-to-run-when-my-computer/72930fac-9d6e-45be-996a-1d4722782670
  5. Word 2003 on Windows 10, script errors when using Help

    in Windows 10 BSOD Crashes and Debugging
    Word 2003 on Windows 10, script errors when using Help: Since shortly, I receive errors when using the Word 2003 Help running on Windows 10. The Help pages itself look 'simplified', but when clicking a link, a script error is generated. This happens for all users, on two computers. Nothing has been changed on the computers,...
  6. Programs won't start when trying to run as administrator

    in Windows 10 Software and Apps
    Programs won't start when trying to run as administrator: Hello. I have run into an interesting issue. User needs an application installed from Software Center (SCCM package is ok, since I have done this 10 times already without any issues) User is signed in and this software in questions needs to be installed by administrator....
  7. Trying to run Powershell script to install a program but it doesnt start the installation

    in Windows 10 Installation and Upgrade
    Trying to run Powershell script to install a program but it doesnt start the installation: Hi Team, I have written a powershell script to run the installation in a remote machine. However the installation seems to be running in task manager on remote machine but it is not happening or progressing. Can you help me here?...
  8. Unwanted Apps in Start, Need help with script

    in Windows 10 Software and Apps
    Unwanted Apps in Start, Need help with script: I Created a few scripts that removes all bloat preinstalled and unpins everything, but some items remain... .Having trouble to create a script that will "uninstall / unpin" the following apps listed below from start Candy Crush Soda Saga Disney Magic Kingdoms Bubble Witch...
  9. Programs will not start running minimised

    in Windows 10 Software and Apps
    Programs will not start running minimised: I have Win 10 Home x64. I cannot run programs to start minimized. Specifically, I cannot get Thunderbird and Calibre to do this. At the moment I have these 2 programs as shortcuts on the Desktop. If I open them then I can minimise them by the normal method of clicking...
  10. Running Script

    in Windows 10 Support
    Running Script: I am running Windows 10 / IE 11 and I keep getting a running script error (“Do you want to continue running scripts on this page”?) and it is driving me crazy. I am not real tech savvy so I don’t know where to look on how to. It just started doing it and I have been using...