0

I set up a Cygwin/X environment in my Windows 10 computer and it created a Start Menu shortcut for all users, named XWin Server.

However, I need to change the shortcut to enable TCP connections. To do that, I just need to add -- -listen tcp to the end of the shortcut's Destination field.

The shortcut is located in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cygwin-X\.

But I can't change it because if I try to change the Destination directly in the shortcut in the folder, Windows asks for administrator privileges and even if I click in "Continue" icon (with the shield), the change fails reporting absence of administrator privileges.

If copy the shortcut to other folder (Desktop folder) and change it, it does change. However, when I copy the new shortcut back to the proper folder, it is not recognized as a shortcut and isn't listed in the Start Menu.

Ideas of how to proceed?

P.S.: I've done that in the past and I know that worked, but it doesn't work anymore. Windows 10 v1703.

8
  • Change ownership of that folder with command icacls "%ProgramData%\Microsoft\Windows\Start Menu" /grant Everyone:F /T
    – Biswapriyo
    Commented Nov 1, 2017 at 15:26
  • @Biswa, after I ran your command, I was able to change the properties directly in the icon in the global Start Menu folder. However, the shortcut stopped showing in the Start Menu. I opened Task Manager and restarted Windows Explorer, but the shortcut still isn't there. Commented Nov 1, 2017 at 15:41
  • 1
    Log on with an administrator account and make the changes.
    – DavidPostill
    Commented Nov 1, 2017 at 17:32
  • @DavidPostill, it is the work computer. I don't have an administrator password and I'd rather not open a ticket asking to just fix a shortcut. I already have the edited shortcut in my desktop, but it's not an elegant solution. Commented Nov 1, 2017 at 19:17
  • You could run the cygwin installer again (not selecting any packages) and when it comes to the menu bit at the end just install for you instead of all users ...
    – DavidPostill
    Commented Nov 1, 2017 at 19:33

0

You must log in to answer this question.