Launching programs at Windows 10 startup

Hello,
When starting Windows 10, I want to execute automatically two (or more) different programs in two (or more) virtual desktops.
Thanks for your answers,
Jean EVRARD

Hi Jean,
According to my observation, if you restart system, the task view would be reset to default, that is one single desktop.
So, logically,  we need add desktops in first, and then launch applications.
Currently, there is no easy way to achieve this.
Alex Zhao
TechNet Community Support

Similar Messages

  • Error when launching vbscript at windows startup

    I have a thin client running WES 7 Standard trying to launch a powerpoint file without loading the shell(explorer). I've done this with other applications like IE and Citrix Apps but am getting an error that I don't understand. Below is the script i'm using.
    Set WshShell = Wscript.CreateObject("WScript.Shell")
    CMD = "C:\slideshow.pptx /F"
    strComputer = "."
    WshShell.Run CMD,3,True
    Do While (1)
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colProcesses = objWMIService.ExecQuery _
    ("Select * from Win32_Process Where Name = 'pptview.exe'")
    If colProcesses.Count = 0 Then
    WshShell.Run CMD,3,True
    End If
    Wscript.Sleep (2000)
    Loop
    I've tried various combinations in the CMD field for launching the file. These include using a batch file to pointing to powerpoint viewer and using the command line switches to launch file. Every method so far gives me error dialog from the viewer saying
    there was an error accessing "the location of the powerpoint file." I have placed this file all over windows and get the same error and even tried this with an administrator account. I suspect it may have to do with the way I am launching this script
    but do not understand why as I can launch it manually and it works no problem.
    I launch the script by modifying the the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit key to point to a userinit.bat file.
    @echo off
    if not exist c:\%username%.lck goto Reg
    Start c:\windows\system32\applaunch.vbs
    exit
    goto End
    :Reg
    start C:\WINDOWS\system32\userinit.exe
    :End
    Exit
    Any ideas why I am getting this error? Any suggested alternatives? I am getting close to conceding and setting it up to launch after explorer loads because this particular machine and it's purpose won't be within easy reach of people accessing it but I do use
    this method for other functions where we do not want explorer access available at all. i.e no start menu/taskbar loaded

    What you are trying to do is not supported on Windows.
    You mention a thin client.  This has nothing to do with thin clients.  Thin clients are just dumb monitors that run a remote RDP session.
    If you are connecting to a terminal server there is a configuration in GP or in the terminal server configuration that let you specify an alternate shell.  If you are running this as a remote to a workstation then you need to specify the shell in the
    user profile.  THis can be done through group policy or via a registry edit.
    You cannot use a script for this and you cannot use an Office program without Explorer.  Office requires Explorer to run which is why you are getting that error.
    Redirecting userinit for the whole machine will likely create many bad side effects as it is a fundamental process.  It is called multiple times during logon.  Replacing it with a batch file will cause you script to be executed multiple times. 
    Usually userinit is called at least three times.  In a domain with Group Policy it can be called a dozen times.  I am pretty sure the only reason for it being in the registry is to allow for debugging.
    Another this folder.ng to knowis that userinit has to complete before many things in Office will work correctly dependin on you implementation.
    You can load the powerpoint viewer and directly launch that with the file name from the
    "startup"  .  You can also try and set the powerpoint viewer as the alternate shell.  It just might work because it is designed to run completely stand alone with no Office and is used in kiosks which generally run without Explorer. 
    You can also try to use IE to launch the ppt as it can host this with the viewer installed.  It can be set to fullscreen and it will re-launch  when exited just like Explorer does,
    ¯\_(ツ)_/¯

  • Prevent elevation message for some programs at windows startup

    Hi
    I'm using Windows 8.1 in a 2012 R2 Domain.
    When my main computer starts, 3 Programs require elevation to run.
    When I logon my adminstrator account I know the password but for my non administrator user, it's an issue.
    Is it possible to setup startup of those programs to run without elevation or to type the password once for all lauches ?
    Thanks for your answers,
    Laurent

    Hi,
    In this situation, it means when you want to run this kind of applications, you need the administrative token, basically, this is designed by the application provider:
    Running with Administrator Privileges
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms717801(v=vs.85).aspx
    Alex Zhao
    TechNet Community Support

  • Running java program at windows startup

    I need to run java program at startup and then it will continue to run in its own thread.
    Any body having idea how to do that programmatically?
    Zeeshan

    This is one option but this is not feasible in my scenario as this application will be running over a network which involves hundreds of computer so is there any way to do it programatically?
    I mean if I can load java class file through an exe file then I can load my class file in the startup using C++.
    Any Suggestions.
    thanks for the help
    regards,
    Zeeshan

  • Launching Programs and Windows from Flash

    Hi,
    I am new to flash having done most of my previous work as
    HTML. I am trying to create a CD-ROM which I want to open seperate
    swf files as exe's in new windows. When I do it at the moment it
    treats it like a web page and asks if i want to open. Is it
    possible to do this seamlessly so they just open as if it was
    written in Visual Basic etc?
    Any help would be appreciated.

    You will want to look at the docs on fscommand and publishing
    the .swf files as .exe. The other windows you will want to open
    will need to be opened using the fscommand from the main .exe file,
    these exe files will need to be stored in the fscommand folder in
    the same root as your main .exe file.

  • Launch firefox automatically windows 8.1 on startup

    how to launch firefox automatically windows 8.1 on startup

    I don't have Windows 8 or 8.1 handy to experiment, but based on the long heritage of use of the Startup folder, and a bunch of online articles, I think this is worth a try.
    Launch the File Explorer (new name for Windows Explorer) using whatever method you usually use. Based on its new search based metaphor, Microsoft suggest opening the charms bar on the right side and using the search box to find File Explorer. Or you probably can find it on the all programs screen down from the start page.
    Navigate to your personal Startup folder by pasting this in the File Explorer address bar and pressing Enter:
    %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
    Leave that window open and find your desktop. Select and copy your Firefox program shortcut. (Not sure this will work if it's pinned.)
    Then, click in the Startup folder and paste. Any luck?
    ''Note: An alternate way to start Firefox is to use the Task Scheduler. This has the nice feature than you can set a deferral period so that Windows has a minute or two to settle down before starting Firefox. However, this seems to be harder to find in Windows 8.''

  • Power Manager issues at Windows startup and launching PWMUI.EXE

    Hello everybody.
    I looked up the forum, but did not find appropriate solutions.
    My OS is MS XP Professional SP3 with the lates updates from MS. And I have 2 issues (seems like interrelated)
    Issue-1. An exception occurs on Windows startup: 
    “RUNDLL: An exception occurred while trying to run “C:\PROGRA~1\ThinkPad\UTILIT~1\PWRMGTR.DLL, PwrMgrBkGndMonitor””. 
    After pressing “OK”:
    “.NET-BroadcastEventWindow.2.0.0.0.6e8caf.0: rundll32.exe – Application Error: The instruction at “0x783a3457” referenced memory at “0x10069de4”. The memory could not be “read””.
    After pressing “OK” following message says that DLL can not be executed or something like that, to send error report to MS.
    Issue-2. Power Manager does not launch
    When I press Fn+F3 combination, and click “Manage Settings …”, error messages appears:
    “Power Manager: Power Manager has encountered a problem and needs to close. We are sorry for the inconvenience”. The same situation if I launch “C:\Program Files\ThinkPad\Utilities PWMUI.EXE” directly.
    Re-installation doesn’t help.
    Current version of Power Manager is 1.0.0.0. However , it offered to download another version 1.3.5 (or something like that) via ThinkVantage System Update.
    Thank you in advance!
    Solved!
    Go to Solution.

    Thank you very much.
    I tried so: 1) uninstall Power Manger (+ ThinkPad PM Driver), 2) launch Cleaner, 3) download and install PM ver 1.89.
    The first Windows start was without initial error. I tried to launch PM from Start menu, previous (well known) error message appeared.
    After I rebooted, all started from the beginning…
    Then I restored my old (shipped from the factory) PM from “C:\SWTOOLS\DRIVERS\PWRMGR”. I saw something strange on the monitor: some windows were with new User Interface, some with old one. “About…” command didn’t respond.
    I launched ThinkVantage System Update again. It offered to install new version of PM (in Recommended updated tab) and PM Driver (in Optional updated tab).
    After acceptation, installation and restart everything started to work!
    To sum up I guess that the root cause was obsolete Driver and System Update utility does not check for driver update (only is absent). Practical evidence says so.
    However, now in Advanced mode I have only one Power Scheme: “Timers Off (Presentation)”, in contrast I had several ones in previous version of PM (Energy Star, Maximum Performance, Maximum Battery Life, Source Power Optimized and Timers Off). Is it normal for PM ver 1.89? When I had updated my XP up to SP3, and firstly installed new version of PM, I saw “Video Playback” mode in “Choose Power Scheme” window. Then my PM  broken down.
    Of course, it is not so critical for my work, but when you use ThinkPad you always except flatness in HW and SW operation…
    Thank you again.

  • To run a java program on windows xp startup

    hi ,
    i have a sample HelloWorld.java program.
    i wrote a batch file to run this program as follows:
    set PATH=%PATH%;C:\Program Files\Java\jre1.6.0\bin;
    cd c:\test
    java HelloWorld
    This program runs when i click on the bat file.
    Next i add this batch file to registry to auto-start on windows startup
    However, on windows startup, i get the following:
    Exception in thread "main" java.lang.NoClassDefFoundError
    Anyone can help me? Thank you in advance!

    Hi Sergi,
    Thanks for the info. I couldn't able to login because of my internet connection.
    Thanks,
    --Srini                                                                                                                                                                                                                           

  • Program start/restart when windows startup

    Hi, I have a java program which I currently compile and run using "Command Prompt".
    However, I would like my program start running every time the window startup. How can I do that?
    Thanks in advance.

    http://jakarta.apache.org/commons/daemon/
    http://wrapper.tanukisoftware.org/doc/english/introduction.html

  • Upgrade to Acrobat Pro XI on Window 8.1 downloads, installs and configures. Then pressing the launch button in the dialog box doesn't launch program.

    Upgrade to Acrobat Pro XI on Window 8.1 downloads, installs and configures. Then pressing the launch button in the dialog box doesn't launch program.

    Using the start button, Acrobat Pro should appear. But it might not, being Windows 8. Maybe it puts an icon on your desktop, maybe not.
    How about checking c:\program files (X86)\adobe\acrobat 11.0\acrobat. If you have this folder, look for Acrobat.exe.

  • Apple Mail with OSX 10.9.5 quits on launch when mail window opens. May be related to install of Security update 2014-005. Any suggestions on fixing this?

    Apple Mail with OSX 10.9.5 quits on launch when mail window opens. May be related to install of Security update 2014-005. Any suggestions on fixing this?
    Here is the beginning of the  Problem details error message:
    Process:    
    Mail [763]
    Path:       
    /Applications/Mail.app/Contents/MacOS/Mail
    Identifier: 
    com.apple.mail
    Version:    
    7.3 (1878.6)
    Build Info: 
    Mail-1878006000000000~1
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [264]
    Responsible:
    Mail [763]
    User ID:    
    501
    Date/Time:  
    2014-10-20 15:23:32.902 -0800
    OS Version: 
    Mac OS X 10.9.5 (13F34)
    Report Version:  11
    Anonymous UUID:  1058C7CE-141A-982C-2F1D-4F0EB47F37A1
    Crashed Thread:  10  Dispatch queue: NSOperationQueue Serial Queue
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSKeyPathExpression objectForKey:]: unrecognized selector sent to instance 0x60000045ff20'
    abort() called
    terminating with uncaught exception of type NSException

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - Mavericks
    Safe Mode - About

  • How to disable automatic launch of WIE in startup configurat​ion with no options to do so?

    Thinkpad T400 2764CTO running Windows 7 Home Premium 64
    PC only 2 weeks old, very little on it, but getting slower and slower. Finally found the configuration for the startup menu and disabled several things I knew I didn't want at startup. One problem that I can't seem to figure out, is how to disable Windows Internet Explorer from being launched at startup? I have tried disabling every Microsoft option, and it still launches. Is there a specific Lenovo option [that does not obviously have anything to to with WIE] in the startup menu that, if disabled, will stop the WIE browser from being launched? How do I know which options are not safe to disable when attempting to slim down startup configuration for faster/more reliable performance?
    Thanks,
    Ann

    Either I *completely* misread your instructions; that fix is major overkill for what I was trying to do; that fix does not apply to my problem; that fix is only for XP or Vista and not W7; or my PC is already so messed up (despite clean hardware diagnostics, no viruses, no malware, and it is only 2 weeks old), that it performed unexpected and unwanted actions when trying to use the Windows features on/off program control panel options.
    Opened Control Panel, went to Programs, and finally found the option on the left for turning Windows features on and off. Unchecked the box for IE8, which required a restart. The restart time was 4-5 times longer than usual, even when launching superfluous programs from the startup menu, since it had to "reconfigure Windows." After restarting, WIE did not automatically launch, and its toolbar icon was gone too. Tried to turn it back on like you said, which also required a restart, which didn't make sense to me, since I expected the browser to launch again following another extra long restart once the box was re-selected. Although, surprisingly, it didn't, so for a moment thought it had somehow worked. Then I realized that my WIE icon was still missing from the toolbar, so there was no way to launch it even if I wanted to. Went back into the Control panel and checked every Windows feature box possible; another extra-long restart; still no toolbar icon for WIE. Had to go into the computer files to find WIE so that I could create a desktop shortcut icon so I could manually launch the browser from that. However, when I clicked on the shortcut, it went into a browser setup mode, as if it was being set up for the first time. Finished setup and tried to go to a webpage, but kept getting a connection error.
    Diagnosed it, and it said that the Local Area Connection had no valid IP address. Waited on hold with Mediacom for a hour before being disconnected, trying to find out what the IP address was and where to re-enter it, since unchecking the IE8 box in the Windows features part of the Control Panel, doesn't just temporarily disable the function, but apparently actually deletes the toolbar icon, as well as the IP address. Took several more attempts over several hours to get ahold of Mediacom reset the signal to get the IP address back and get back online. So that really does not seem like a viable solution for trying to save time and resources by removing something from the startup menu, if it just quadruples startup time, deletes WIE toolbar icon and IP address permanently, requires creating a desktop shortcut, and then requires several more hours on phone with ISP for signal reset to get the IP address back. Would have been much faster and done less apparent damage than just going ahead and letting it launch at startup and then just closing it. *sigh*
    I know that just having an icon in the toolbar does not mean that that particular program will launch at startup, as I have several others that have toolbar icons that I have been able to uncheck in the startup menu, so I can use the toolbar icons to launch each program manually. There just doesn't seem to be any program active in the startup menu that would be launching the browser, and still concerned about unchecking something necessary in startup that could screw it up even more.
    Is there any way to get my toolbar WIE icon back without a full system restore, so that I have less shortcut clutter on my desktop?

  • Launching programs from python and ncurses

    I've made a little menu launcher with python and ncurses. It works most of the time, but occationally it does nothing when I select a program to launch.
    This is how it works:
    1. A keyboard shortcut launches an xterm window that runs the program.
    2. I select some program, which is launched via this command:
    os.system("nohup " + "program_name" + "> /dev/null &")
    3. ncurses cleans up and python calls "sys.exit()"
    The whole idea with nohup is that the xterm window will close after I select an application, but the application will still start normally (this was a bit of a problem). This works most of the time, but sometimes nothing happens (it never works the first time I try launching a program after starting the computer, the other times are more random).
    So, has anyone got an idea of what's going on or a better solution than the nohup hack?
    The whole code for the menu launcher is below. It's quite hackish, but then again it was just meant for me. The file's called "curmenu.py", and I launch it with an xbindkeys shortcut that runs "xterm -e curmenu.py".
    #!/usr/bin/env python
    import os,sys
    import curses
    ## Variables one might like to configure
    programs = ["Sonata", "sonata", "Ncmpc", "xterm -e ncmpc", "Emacs", "emacs", "Firefox", "swiftfox",\
    "Pidgin", "pidgin", "Screen", "xterm -e screen", "Thunar", "thunar", \
    "Gimp", "gimp", "Vlc", "vlc", "Skype", "skype"]
    highlight = 3
    on_screen = 7
    ## Functions
    # Gets a list of strings, figures out the middle one
    # and highlights it. Draws strings on screen.
    def drawStrings(strings):
    length = len(strings)
    middle = (length - 1)/2
    for num in range(length):
    addString(strings[num], middle, num, length)
    stdscr.refresh()
    def addString(string, middle, iter_step, iter_max):
    if iter_step < iter_max:
    string = string + "\n"
    if iter_step == middle:
    stdscr.addstr(iter_step + 1, 1, string, curses.A_REVERSE)
    else:
    stdscr.addstr(iter_step + 1, 1, string)
    # Returns a list of strings to draw on screen. The
    # strings chosen are centered around position.
    def listStrings(strings, position, on_screen):
    length = len(strings)
    low = (on_screen - 1)/2
    start = position - low
    str = []
    for num in range(start, start + on_screen):
    str = str + [strings[num % length]]
    return str
    ## Start doing stuff
    names = programs[::2]
    longest = max(map(lambda x: len(x), names))
    # Start our screen
    stdscr=curses.initscr()
    # Enable noecho and keyboard input
    curses.curs_set(0)
    curses.noecho()
    curses.cbreak()
    stdscr.keypad(1)
    # Display strings
    drawStrings(listStrings(names, highlight, on_screen))
    # Wait for response
    num_progs = len(names)
    low = (on_screen - 1)/2
    while 1:
    c = stdscr.getch()
    if c == ord("q") or c == 27: # 27 = "Escape"
    break
    elif c == curses.KEY_DOWN:
    highlight = (highlight + 1)%num_progs
    elif c == curses.KEY_UP:
    highlight = (highlight - 1)%num_progs
    elif c == curses.KEY_NPAGE:
    highlight = (highlight + low)%num_progs
    elif c == curses.KEY_PPAGE:
    highlight = (highlight - low)%num_progs
    elif c == 10: # actually "Enter", but hey
    os.system("nohup " + programs[2*highlight + 1] + "> /dev/null &")
    break
    drawStrings(listStrings(names, highlight, on_screen))
    # Close the program
    curses.nocbreak()
    stdscr.keypad(0)
    curses.echo()
    curses.endwin()
    sys.exit()

    Try:
    http://docs.python.org/lib/module-subprocess.html
    Should let you fork programs off into the background.

  • How do I permanently REMOVE the Face Recognition program in Windows 8.1?

    I want to Uninstall, permanently REMOVE, the Face Recognition program from Windows 8.1.  When I select this program from the list of all programs displayed, I am not given an "uninstall" option, only the option to "change", which
    then begins to install.  I was able to uninstall once before, but somehow the program was placed back onto my computer and now the "uninstall" option is no longer available.  Thanks!

    Hello DePaix,
    What is your current situation?
    Have you tried the solution as MVP Cyber_Defend_Team mentioned?
    Do this program preinstalled? If yes, we need to contact the manufacturer to receive better support.
    If my understanding is right, you uninstalled it once, but the program was back and only the option to ‘change’.
    Could you please provide us a screenshot to avoid misunderstanding if you willing to?
    Can you run the program? If the program runs in the startup, we could use the tool System Configuration (msconfig) to disable apps or services that normally run at startup.
    For more information, please take a look at the following article about using system configuration.
    http://windows.microsoft.com/en-hk/windows/using-system-configuration#1TC=windows-8
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Launch programs with User defined Keys?

    Im using 10.6.4 on a Macbook Pro and on the 1 screen im using 3 different programs at once (2 music programs and Parallels / Windows Program)
    Is there a quick way to flip between the 3 very quickly as I like to view all 3 very quickly and chop and change between them on the Macbook Pro screen
    I use Apple + Tab but this gets tedious trying to flip around between them going left and right
    Does 10.6.4 allow you to user define keys to certain programs so you can launch and they become active?
    ie: F1 - launch program 1, F2 - Launch Program 2 etc
    So 1 button push makes a certain program active?
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    I love Mac OS X but the only way I can find is either the Apple+Tab which gets tedious, or a Hot corner which i have set up and "spreads out" the programs : then again with hot corners your still having to chase around all your open windows!
    Is there a quick easy solution for having up to 3 programs at once and instant access that I don't know about? With audio editing, i chop and change edits to see how they fit between programs so this would be invaluable
    I'm pretty sure OSX would have something under the bonnet to do this?
    Thanks

    pitchfork wrote:
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    Hi,
    Um, so far as I'm aware this is the same behaviour in OS X. Launched programs that are not added to the Dock are appended to the right of the Dock, but applications in the dock do not move randomly - unless you count the fact that the Dock expands to include newly-added or -launched applications. To achieve what I think you're referring to, simply add the applications you use frequently to the Dock permanently, and use the same behaviour you were accustomed to in Windows to switch applications.
    However, if you want to create a simple keystroke to switch to another application (whether open already or not), then try creating a new Automator Service to activate a given application, and assigning a keystroke to it. I've never actually created a working Automator action before, but I believe the following should work:
    1) Launch Automator
    2) Select "Library" in the left-hand column, and type "Applescript" in the search box.
    3) There will be only one result, "Run Applescript." Drag this into the right-hand column.
    4) Copy and paste the following script to replace the words "(* Your script goes here *)":
    tell application "Amadeus Pro"
    activate # switch to your application, launch if necessary
    end tell
    5) Replace "Amadeus Pro" with the name of the application you want to switch to. KEEP the inverted commas.
    6) Make sure the drop-down menu in the top-right is set to "any application."
    7) Choose "Save" from the File menu, and assign an appropriate name; this is how your Service will appear in the Services menu. You can now close Automator.
    8) Finally, assign a shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services.
    Give that a shot and see whether you're happy with it. Rinse and repeat with the names of the other applications if satisfied
    Hope that helps,
    S.

Maybe you are looking for