Solved

Custom ADM File from a Reg Key

Posted on 2009-06-29
6
1,027 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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 250 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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 …

726 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