Solved

Group Policy Preferences

Posted on 2010-09-14
3
911 Views
Last Modified: 2012-05-10
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
Comment
Question by:SectorX4
  • 2
3 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 33691431
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
 
LVL 2

Author Comment

by:SectorX4
ID: 33740867
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
 
LVL 2

Accepted Solution

by:
SectorX4 earned 0 total points
ID: 33804009
I have decided to use a dot at the end of the filename to fix this
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licenā€¦
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlleā€¦

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question