Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 919
  • Last Modified:

Group Policy Preferences

I have been re-designing my AD structure and have started to explore GP Preferences in Server 2008, I have configured a policy to create some Desktop shortcuts and they work fine but the icons are the standard windows icon for no program associated such as the one in the top left of the attached image.

I have tried changing the icon index to icons  know exist on both the server and client PC but no change however if I add a file extension to the shortcut name (e.g ERANet.lnk) the icon appears fine.

I'd prefer to not have to name the shortcuts with an extension if I can, any suggestions?
shortcut.jpg
0
SectorX4
Asked:
SectorX4
  • 2
1 Solution
 
Justin OwensITIL Problem ManagerCommented:
The way Windows works requires icons to have extensions to have an associated icon.  I am unaware of a way to make an icon have a "known" icon (of any kind) if you don't assign the icon an extension first.  Image this logic train:

Does file exist? Yes/NoNo --> Do nothing (after all, nothing is there, right?) --> End of logic treeYes--> Determine file type.Is file type known? Yes/NoNo --> Display "Unknown File Type" icon --> End logic treeYes --> Determine Icon to use.

Does file have custom icon?  Yes/No
No --> Use default icon for file type. --> End of logic treeYes --> Use custom icon for file. --> End of logic tree

Granted that would look prettier in a flow chart, but I think you can see my point.  Windows does not even consider using a custom icon unless it knows the file type.

Justin
0
 
SectorX4Author Commented:
I thought I had posted a response to this but obviously not, I do follow your logic and I did some checking on this.


The file is technically already a shortcut (as shown in the properties of the GP Preferences shortcut that was created) but I'm still convinced that it's still the issue with the icon.

I did try to create a shortcut called "ERANet." with the dot at the end and this had better results so I might just use that as a fix.
0
 
SectorX4Author Commented:
I have decided to use a dot at the end of the filename to fix this
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now