?
Solved

Custom ADM File from a Reg Key

Posted on 2009-06-29
6
Medium Priority
?
1,029 Views
Last Modified: 2012-08-13
Hi,

I have a reg file that I would like to set on all desktop machines.

It adds Mplayer app to the DVD file association and also makes Mplayer an option when you insert a DVD.

THe keys looks like this

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DVD\shell]
@="Mplayer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DVD\shell\Mplayer\command]
@="\"C:\\Program Files\\SMPlayer\\smplayer.exe\" %1"

Is it possible to create a custom ADM file from this?

0
Comment
Question by:Sudoku_Warriors
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 74

Expert Comment

by:Glen Knight
ID: 24742780
Download the nuts toolkit fr here http://yizhar.mvps.org/ and you can convert any reg file to a custom ADM
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 24742784
Sorry forgot to say using regtoadm in the nuts toolkit.
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 24742858
Creating a custom ADM like mentioned above is definitely a way to go.  Do you have at least one Windows 2008 or one Vista machine on your network?   If you do you can do this using group policy preferences.
Great overview of preferences by group policy MVP Darren Mar-Elia
http://sdmsoftware.com/blog/2008/09/whitepaper_on_group_policy_pre.html
Thanks
Mike
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 1

Author Comment

by:Sudoku_Warriors
ID: 24743004
Hi,

We dont have any 2008 machines or vista.

I tried the NUTS regtoadm before posting and it didnt work.

I get the attached message

I have attached the NUTS adm output too. Saved as a txt file though.
Thanks

adm-error.doc
Copy-of-dvd-test.txt
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 24743041
Have you created the keys in refedit and then export them before doing the conversion?
I had a similar issue recently where I hadn't created the TEG file quite right and it didn't work correctly
0
 
LVL 74

Accepted Solution

by:
Glen Knight earned 1000 total points
ID: 24743081
Sorry didn't see the error message.
This is because of the quotes in the line:

  DEFAULT "\"C:\Program Files\Windows Media Player\wmplayer.exe\" /prefetch:4 /device:DVD \"%L\""

Remove all bar the first and last Quotes, the ADM is being read as the end of the string at the second set
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

765 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