Windows 10: Acces Denied - trying to create shortcut launching program with CMD

Discus and support Acces Denied - trying to create shortcut launching program with CMD in Windows 10 Ask Insider to solve the problem; Hello! I am running Windows 10 and trying to adjust the affinity & the priority of Escape from Tarkov in the task manager automatically when I launch... Discussion in 'Windows 10 Ask Insider' started by /u/BasedPolarBear, Jan 6, 2021.

  1. Acces Denied - trying to create shortcut launching program with CMD


    Hello! I am running Windows 10 and trying to adjust the affinity & the priority of Escape from Tarkov in the task manager automatically when I launch the game. I am aware you can manually change it, but every time you close the session you have to re do it.

    It is my understanding it should be possible to do this with a little bit of 'scripting'.

    I tried creating the following shortcut on my desktop

    C:\Windows\System32\cmd.exe /c start "BsgLauncher" /high /affinity 55 "C:\Setups\Setups2\EFT\BsgLauncher"

    However nothing happens when I try to open it. Right clicking and running as administration doesn't work either. I then tried opening CMD as administrator and simply pasting the following

    start "BsgLauncher" /high /affinity 55 "C:\Setups\Setups2\EFT\BsgLauncher"

    but I get "Access denied". For curiositys sake I tried to start Paint through the CMD by using the same command (editing name & filepath), and I still get the access denied error.

    Any ideas on what I am doing wrong?

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

    :)
     
    /u/BasedPolarBear, Jan 6, 2021
    #1
  2. Try3 Win User

    To open cmd.exe as administrator without creating a shortcut for cmd

    How do you want to launch it?

     
    Try3, Jan 6, 2021
    #2
  3. Try3 Win User
    To open cmd.exe as administrator without creating a shortcut for cmd

    How do you want to launch it?

    Once you confirm that you are going to launch it using a shortcut [or explain how you are intending to do it] then this thread can start helping you get the job done.

    Denis
     
    Try3, Jan 6, 2021
    #3
  4. kkorotev Win User

    Acces Denied - trying to create shortcut launching program with CMD

    Access Denied


    EDIT: Here's a solution...
    Launch the shortcuts via CMD:

    1. Right-click the shortcut to Properties
    2. Click Change Icon, then click OK when its window pops up (necessary step to avoid losing the icon)
    3. Add the following, plus a space, to the beginning of the Target field, leaving the existing path at the end:
      Code:
      Code:
      cmd /c start ""

    I do this and the shortcut opens the command window
     
    kkorotev, Jan 6, 2021
    #4
Thema:

Acces Denied - trying to create shortcut launching program with CMD

Loading...
  1. Acces Denied - trying to create shortcut launching program with CMD - Similar Threads - Acces Denied trying

  2. Account acces denied

    in Windows 10 Gaming
    Account acces denied: Hi, i had installed win11 after cleaning all hd of my laptop lenovo Thinkpad. When i search to acced to my microsoft account, all is ok till i try to insert second time the psw. In this case, win say that psw is no correct....Naturally psw is the same...Thank for help. Pietro...
  3. Account acces denied

    in Windows 10 Software and Apps
    Account acces denied: Hi, i had installed win11 after cleaning all hd of my laptop lenovo Thinkpad. When i search to acced to my microsoft account, all is ok till i try to insert second time the psw. In this case, win say that psw is no correct....Naturally psw is the same...Thank for help. Pietro...
  4. Acces denied

    in Windows 10 Gaming
    Acces denied: Hello guys i have a big problem right now recently i was the owner of my computer but i did a test and i was wondering " what happend if i was put on guest "then i did that to see what happend it was funny at firts to se i cant do anything but now its a bit scary beacause i...
  5. Acces denied

    in Windows 10 Software and Apps
    Acces denied: Hello guys i have a big problem right now recently i was the owner of my computer but i did a test and i was wondering " what happend if i was put on guest "then i did that to see what happend it was funny at firts to se i cant do anything but now its a bit scary beacause i...
  6. Acces denied

    in Windows 10 Drivers and Hardware
    Acces denied: Hello guys i have a big problem right now recently i was the owner of my computer but i did a test and i was wondering " what happend if i was put on guest "then i did that to see what happend it was funny at firts to se i cant do anything but now its a bit scary beacause i...
  7. Access Denied when trying to acces mysynchrony.com

    in Windows 10 Network and Sharing
    Access Denied when trying to acces mysynchrony.com: How is this notice resolved when trying to log into the companies website? Never had this issue in the past. Access DeniedYou don't have permission to access "http://etail.mysynchrony.com/eapply/eapply.action" on this server. Reference #18.5767c917.1614721642.3bca18dc *...
  8. Shortcuts fail to launch the program

    in Windows 10 BSOD Crashes and Debugging
    Shortcuts fail to launch the program: For a few days now every time I double click a shortcut the screen flashes off then back on and the program fails to start. If I right click the program and chose properties to look at the shortcut I get the same thing. When I do this with taskmanager open "Windows Problem...
  9. Creating a shortcut to trigger a shortcut in a background program?

    in Windows 10 Support
    Creating a shortcut to trigger a shortcut in a background program?: I am transcribing audio, I have an audio program running in the background while I have a text program open to do the typing. I use ctrl + , as a shortcut in the audio program a lot, its the rewind function, but as it is, I have to keep switching out of the text program to...
  10. Delay launching programs with keyboard shortcuts

    in Windows 10 Support
    Delay launching programs with keyboard shortcuts: Hi Guys, Long time lurker but just registered ! So please bare with me. I just got a NEW PC so I installed Windows 10 Home on it. Now I am running into an issue that when starting a program via the Shortcut Key (Added via Right Click on Shortcut, and select Properties and...