none
How do I make Visual Studio IDE to automatically start on logon to Windows?

    Question

  • Howdy,

    This must be a joke, but I can't figure it out how to make Visual Studio automatically run when I sign in to Windows.

    I've tried adding C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe to

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
     

    but all to no avail.

    Visual Studio does not start when I sign in.

    I've UAC enabled and I have also enabled it to always run with full administrator token using this trick with application compatibility. (I know it's not recommended but I need it for a specific project).

    Any clues on how to start the IDE upon the logon?

    I am thinking about a local GPO with a batch file with

    @start "" "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"

    that I can enable with gpedit.msc, but this looks like an overkill.

    Any clues?


    Well this is the world we live in And these are the hands we're given...



    Tuesday, March 14, 2017 5:36 PM

Answers

  • Phew!

    How... Just had to add this

    cmd /c start "" "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"

    as a value of a string parameter here

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run


    Well this is the world we live in And these are the hands we're given...



    Tuesday, March 14, 2017 5:54 PM

All replies

  • Phew!

    How... Just had to add this

    cmd /c start "" "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"

    as a value of a string parameter here

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run


    Well this is the world we live in And these are the hands we're given...



    Tuesday, March 14, 2017 5:54 PM
  • Hi Exotic Hadron,

    Welcome to MSDN forum.

    Glad to know that you have got it by yourself and thank you for sharing your solutions here.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, March 15, 2017 5:18 AM