Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


March 2008

Use ADSI Edit to Associate File Extensions

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Executive Summary:

Microsoft's Group Policy Software Installation works in conjunction with Microsoft Group Policy and Microsoft Active Directory (AD) to manage applications' life cycles, including their deployment. Unfortunately, not all applications are designed to be deployed with Group Policy Software Installation. For example, Microsoft Visio 2007 Viewer wasn't designed to be deployed that way. Although you can make some tweaks that enable you use Group Policy Software Installation for deployment, one possible consequence is that these applications don't register their file extensions, so the auto-install feature doesn't work. Using Microsoft Visio 2007 Viewer as an example, here's how you can use ADSI Edit to manually add the file extensions to the appropriate Group Policy Object (GPO), thereby fixing the problem.


Applications that you deploy with Group Policy Software Installation sometimes don’t register their file extensions. Consequently, when someone double-clicks a file that has an extension of one of those published applications, the autoinstall feature doesn’t work. This situation most often occurs in applications that weren’t designed for deployment through Group Policy Software Installation but were deployed anyway through some minor tweaks. (If you’re unfamiliar with Group Policy Software Installation, see technet2.microsoft.com/windowsserver/en/library/4bdaf0f7-b7ac-41a6-9d25-9eab6aa1965c1033.mspx.)

One way to solve the file extension problem is to use ADSI Edit to manually add the file extensions to the Group Policy Object (GPO) that publishes the applications. To show you how this solution works, let’s walk through the steps you’d use to add the file extension for Microsoft Visio 2007 Viewer, which unfortunately wasn’t designed for deployment through Group Policy Software Installation. Here are the steps you need to follow:

1. Download Visio 2007 Viewer (visioviewer.exe) from the Microsoft Download Center (www.microsoft.com/downloads/details.aspx?FamilyId=D88E4542-B174-4198-AE31-6884E9EDD524&displaylang=en). You’ll need WinZip to unzip this file. If you don’t have WinZip, you can use 7-Zip, which is freeware that you can download from www.7-zip.org.

2. Double-click visioviewer .exe. In the window that appears, right-click visioviewer.exe and select the option to extract the files to a new folder. After the extraction operation completes, the folder should contain five files, including vviewer.msi. Copy that folder to the share you use for GPO-installed packages.

3. Create a new GPO, go to the User Configuration\Software Installation folder in the Microsoft Management Console (MMC) Group Policy snap-in, and use the vviewer.msi file to publish the application. Because Microsoft didn’t create Visio 2007 Viewer with GPO installation in mind, the file extension .vsd doesn’t get registered.

4. Obtain the globally unique identifier (GUID) of the GPO you used to publish Visio 2007 Viewer. To get it, open the GPO and move to the root level, which is the level above Computer Configuration. Right-click and select Properties. The GUID appears in the Unique name field.

5. Use ADSI Edit to edit the GPO. (If you don’t have this tool installed already, you can find it in the Windows Server 2003 Support Tools.) Under the Start menu, select Run. In the Run dialog box, type adsiedit.msc and click OK. After ADSI Edit opens, go to the Action menu and select the Connect to option to open the Connection Settings dialog box. In the dialog box’s Connection Point section, click Select a well known Naming Context and select Domain from the list. In the Computer section, enter the name of your nearest domain controller (DC).

Click OK.

6. Navigate to Domain, DC=<your AD domain’s LDAP name>,CN=System, CN=Policies,CN=<your GPO’s GUID>,CN=User,CN=Class Store,CN=Packages. Here you’ll find representations for all your GPOs. If you have more than one GPO, you’ll have to manually find the correct one by doubleclicking each GPO and checking the value of the displayName attribute, which needs to be Visio Viewer in this case.

7. After you find the correct GPO, look for its fileExtPriority attribute and open it. (If you don’t see this attribute, clear the Show only attributes that have values check box.) In the dialog box that appears, enter the extensions you want to associate with this package. Visio 2007 Viewer’s extension is .vsd, so you’d enter

Continue to page 2

   Previous  [1]  2  Next 


Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

The Desktop tab is missing from the Display Properties in Windows XP?

...

Are You an Ultimate Microsoft Customer ... Or Just a Good One?

Microsoft's trend toward making available multiple product editions has recently reached into surprising areas. ...


Related Articles The Group Policy Route to Office Deployment and Management

How can I use the ADSI Edit tool to check my domain and forest modes?

Using Group Policy to Deploy XP

A Warning About the ADSI Edit Tool

Active Directory (AD) Whitepapers An Introduction to Windows Server 2008 Server Manager

Get More from Active Directory—Easily Audit Changes, and Secure and Restore Objects

User Provisioning: Get the Most Bang for your IT Buck

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

WinConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

Deploying SharePoint! In-Person Event Series – 8 Cities
Discover best practices and tips for deploying the perfect SharePoint infrastructure. Early Bird Price of $99 extended till Sept. 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



When managing just VMware isn’t enough
Plan/Manage/Secure – NetIQ VMware management. Download whitepaper.

What’s up with your network? Find out with ipMonitor
Availability monitoring for servers, applications and networks – FREE trial

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16 in London.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing