Is it possible to make a shortcut that restarts a program?

Page 1 of 2 12 LastLast

  1. Posts : 6
    Windows 10 Home
       #1

    Is it possible to make a shortcut that restarts a program?


    Short version: Can I make a shortcut that restarts a program?

    Long version: I absolutely love Windows 10 and am so glad I upgraded! The only bad thing about it that I can find so far is that every once in a while the start menu and Cortana will stop working. Well, I did some research and found out that if you go into the task manager and restart "explorer.exe" that it reloads the start menu and Cortana so I tried it and it worked! The only problem now is that I don't want to have to go into the task manager and restart explorer.exe every time so I was wondering... is it possible to make a shortcut that restarts explorer.exe?

    Thanks!
      My Computer


  2. Posts : 2,834
    Windows 11 Home (x64) Version 21H1 (build 19043.1202)
       #2

    Why don't you do what I did and I posted about it put the programs you want straight into the Favourites bar and then click straight into them.
    Look at my post Edge Browser

    Edge Browser - Windows 10 Forums
    Last edited by Samsung User; 18 Sep 2015 at 15:30. Reason: added
      My Computer


  3. Posts : 703
    Windows 10 Pro x64
       #3

    SEC07 said:
    ... is it possible to make a shortcut that restarts explorer.exe?
    A batch file:
    Is there a way to kill explorer.exe and then run a batch file that starts it again?

    And someone wrote a little app too:
    Two tools to exit and restart the explorer shell properly
      My Computer


  4. Posts : 5,478
    2004
       #4

    Whatever you do don't use a script to restart explorer.exe and right click and run it as Admin. It messes up all your permissions.

    Anyway this powershell will stop (and restart) explorer.exe: stop-process -processname explorer
      My Computer


  5. Posts : 1,255
    Windows 10 Pro
       #5

    halasz said:
    Whatever you do don't use a script to restart explorer.exe and right click and run it as Admin. It messes up all your permissions.

    Anyway this powershell will stop (and restart) explorer.exe: stop-process -processname explorer
    By default a process will run with the rights and permissions of the process that started it and almost everything you run will be directly or indirectly started by explorer.exe. That would be convenient, but not very secure. That is why the warning.
      My Computer


  6. Posts : 572
    Windows 10 Pro/Windows 7 Ultimate
       #6

    SEC07 said:
    Short version: Can I make a shortcut that restarts a program?

    Long version: I absolutely love Windows 10 and am so glad I upgraded! The only bad thing about it that I can find so far is that every once in a while the start menu and Cortana will stop working. Well, I did some research and found out that if you go into the task manager and restart "explorer.exe" that it reloads the start menu and Cortana so I tried it and it worked! The only problem now is that I don't want to have to go into the task manager and restart explorer.exe every time so I was wondering... is it possible to make a shortcut that restarts explorer.exe?

    Thanks!
    Read this: I set up a toggle to start/stop airprint. a couple of good solutions in there, Batch file are still useful!
      My Computer


  7. Posts : 5,707
    insider build 10586.3 win10 pro 64
       #7

    makes me wonder ,, if explorer.exe is not working how you gona run the batch file or what ever you create ...

    seems to me you need to try and fix what ever is causing explorer to crash..
    maybe start with opening a admin command prompt and typing in , sfc /scannow to see if it finds any thing
      My Computer


  8. Posts : 703
    Windows 10 Pro x64
       #8

    caperjack said:
    makes me wonder ,, if explorer.exe is not working how you gona run the batch file or what ever you create ...

    seems to me you need to try and fix what ever is causing explorer to crash..
    maybe start with opening a admin command prompt and typing in , sfc /scannow to see if it finds any thing
    Yes indeed. The problem won't go away by just treating the symptom
      My Computer


  9. Posts : 68,893
    64-bit Windows 11 Pro for Workstations
       #9
      My Computers


  10. Posts : 6
    Windows 10 Home
    Thread Starter
       #10

    caperjack said:
    makes me wonder ,, if explorer.exe is not working how you gona run the batch file or what ever you create ...

    seems to me you need to try and fix what ever is causing explorer to crash..
    maybe start with opening a admin command prompt and typing in , sfc /scannow to see if it finds any thing
    The start menu and Cortana not working seems to be a common problem. Everything else is working fine. Any idea what could be wrong?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:33.
Find Us




Windows 10 Forums