Windows 10: "Allowing the use of remote paths in file shortcut icons can expose users' computers to...

Discus and support "Allowing the use of remote paths in file shortcut icons can expose users' computers to... in Windows 10 Gaming to solve the problem; Hi all,Can you please help me with this?I'm troubleshooting a change that I'm having to implement for a Group policy issue with Windows 11 and I'd like... Discussion in 'Windows 10 Gaming' started by Fellipe de Lima Silva, Dec 28, 2022.

  1. "Allowing the use of remote paths in file shortcut icons can expose users' computers to...


    Hi all,Can you please help me with this?I'm troubleshooting a change that I'm having to implement for a Group policy issue with Windows 11 and I'd like to hear from you if this represents a security risk of any kind. If yes what would you recommend? The issue is some GPO-pushed icons are showing "blank" on Windows 11.So I'm following the solution to this question here: https://answers.microsoft.com/en-us/windows/forum/all/my-custom-icons-no-longer-works-in-windows-11/b0d7663d-8694-4933-acb9-9f7b6f028e00The solution is working for us since I've tested it on 3 desktops.Before I proceed with all

    :)
     
    Fellipe de Lima Silva, Dec 28, 2022
    #1

  2. Creating Shortcuts with Batch File

    Threw a program together quick for you. It is attached with source in the other. Use it in place of your VBScript.

    It supports:
    CreateShortcut [save shortcut] [path to run]
    CreateShortcut [save shortcut] [path to run] [icon index]
    CreateShortcut [save shortcut] [path to run] [icon file]
    CreateShortcut [save shortcut] [path to run] [icon file] [icon index]

    If "icon index" is missing, it assumes 0. If "icon file" is missing it assumes "path to run." It doesn't presently support arguments to be added to the shortcut nor modifying the working directory (always assumes same directory as "path to run").

    Requires .NET Framework 4.0 to run. Will run natively on 32-bit and 64-bit versions of Windows.
     
    FordGT90Concept, Dec 28, 2022
    #2
  3. Flava0ne Win User
    Creating Shortcuts with Batch File

    So basically my Batch File will now look like this:

    Code: @Echo off CreateShortcut.exe "C:\Users\Administrator\Desktop\Notepad.lnk" "C:\Windows\System32\notepad.exe"[/quote] Thanks man! *Big Grin "Allowing the use of remote paths in file shortcut icons can expose users' computers to... :D This does exactly what I want done and I'm able to customize the icon for the shortcut without problems. But I'm not quite sure how to use the [icon file] portion you mentioned that it supports. I tried the following Batch File:

    Code: @Echo off CreateShortcut.exe "C:\Users\Administrator\Desktop\Notepad.lnk" "C:\Windows\System32\notepad.exe" "C:\Users\Administrator\Pictures\Notepad.ico"[/quote] It created the shortcut but didn't change the icon.
     
    Flava0ne, Dec 28, 2022
    #3
  4. "Allowing the use of remote paths in file shortcut icons can expose users' computers to...

    Creating Shortcuts with Batch File

    That's what the icon index is for. This one:
    CreateShortcut [save shortcut] [path to run] [icon index]

    You can use Resource Hacker to view the indices. Or you can just guess and check.
     
    FordGT90Concept, Dec 28, 2022
    #4
Thema:

"Allowing the use of remote paths in file shortcut icons can expose users' computers to...

Loading...
  1. "Allowing the use of remote paths in file shortcut icons can expose users' computers to... - Similar Threads - Allowing remote paths

  2. shortcut to copy a file's path in windows 11

    in Windows 10 Gaming
    shortcut to copy a file's path in windows 11: In FileExplorer using Windows 11 build 26120.3576when I try CONTROL - SHIFT - C, the copied path is appended to the clipboard's contentwe need a shortcut to replace the clipboard's content with the file's pathThank you...
  3. shortcut to copy a file's path in windows 11

    in Windows 10 Software and Apps
    shortcut to copy a file's path in windows 11: In FileExplorer using Windows 11 build 26120.3576when I try CONTROL - SHIFT - C, the copied path is appended to the clipboard's contentwe need a shortcut to replace the clipboard's content with the file's pathThank you...
  4. Make file shortcut but NOT change the path

    in Windows 10 Ask Insider
    Make file shortcut but NOT change the path: I want to print files for work but I'm wanting to put a shortcut on my desktop. When I do this and print it shows a different path than the original file (obviously) But can I make this shortcut in a way it pulls from the original path. And actually prints and shows the...
  5. Can not change a shortcut's icon

    in Windows 10 Customization
    Can not change a shortcut's icon: I am trying to change a shortcut's icon to an icon from a .dll in a linked drive. I can view the icons, from the .dll, in the icon menu but when I select an icon and apply it I get the default icon, the Dog-eared sheet of paper, instead of my custom logo. However, if I have...
  6. Can not change a shortcut's icon

    in Windows 10 Gaming
    Can not change a shortcut's icon: I am trying to change a shortcut's icon to an icon from a .dll in a linked drive. I can view the icons, from the .dll, in the icon menu but when I select an icon and apply it I get the default icon, the Dog-eared sheet of paper, instead of my custom logo. However, if I have...
  7. "Allowing the use of remote paths in file shortcut icons can expose users' computers to...

    in Windows 10 Software and Apps
    "Allowing the use of remote paths in file shortcut icons can expose users' computers to...: Hi all,Can you please help me with this?I'm troubleshooting a change that I'm having to implement for a Group policy issue with Windows 11 and I'd like to hear from you if this represents a security risk of any kind. If yes what would you recommend? The issue is some...
  8. Shortcut: Change path to open specific file.

    in Windows 10 Support
    Shortcut: Change path to open specific file.: I encountered this on a forum years ago. In a shortcut's Properties it is possible to add a specific file for the program to open to by default. Can't remember the correct syntax. The program: "C:\Program Files\paint.net\PaintDotNet.exe" The file I want to use:...
  9. How can I use a relative path for a shortcut icon?

    in Windows 10 Ask Insider
    How can I use a relative path for a shortcut icon?: I have some shortcuts with custom icons on a flash drive, and I’d like them to retain the custom icons even when the drive letter changes. I made the functional (shortcut) part work no matter the drive letter, but the icon is bugging me. The icon is nonstandard and is...
  10. Desktop shortcut with a path to"AppData" loses it's icon.

    in Windows 10 Support
    Desktop shortcut with a path to"AppData" loses it's icon.: path: C:\Users\name\AppData\Roaming\ For some reason any Desktop shortcut with a path to"AppData" loses it's icon. The first shortcut looks correct, but after a restart, it becomes blank even with: Properties> Change icon. 115123