Solved

Group Policy Preferences

Posted on 2010-09-14
3
910 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

910 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

20 Experts available now in Live!

Get 1:1 Help Now