Solved

Group Policy Preferences

Posted on 2010-09-14
3
909 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:DrUltima
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now