That's given me something to go with, but do you have any further details to help me along the way?
Main Topics
Browse All TopicsI'm trying to roll out a change of file extension association across the network which is running with a Windows 2000 server running AD.
I've followed the steps in this question:
www.experts-exchange.com/O
But it only explains how to add an extension, not how to set it to use a particular program.
Is this possible via a group policy, or perhaps by a custom registry setting that is pushed out by a policy?
Any help would be greatly appreciated and it's quite urgent this one too, so plenty of points available.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Download RegShot http://www.snapfiles.com/g
Take the first shot of the registry
Now right click on the TIF file and select Open With
Browse to the program or select the program from the list of programs available.
Click Apply - OK
Take the second shot of the registry and than click Compare
You should now see what registry changes were created, you than can create a .reg file to be imported via a login script for e.g. regedit /s \\share\tifext.reg
Hope that helps.
Cheers
Thanks for that, but unfortunately Regshot is not currently available to download from that site. There is another listing for the program when searching on Google at http://regshot.blog.google
Do you know if that one would be safe, or whether there's somewhere else to download it?
You can use "RegMon" (freeware) to capture registry changes (use the filter to precise result)
Download it from Microsoft site:
http://www.microsoft.com/t
Hi Dubberdan
RegMon will be fine as well
http://regshot.blog.google
Also noted on the developers website a couple of extensions that will create your reg file for you, which would be very handy.
Cheers
Hi DubberDan
Q. If I need to make changes to both Windows 2000 and Win XP pc's, will the registry entries be the same or are they likely to be different?
A. 99.9% cases no, the only difference usually is if the program being used is stored under the Winnt (2000) or Windows (XP) although this is usually highly unlikely.
Q. So can you give me an idea of how to create the custom reg file?
A. Sure
1. Copy the following text into Notepad and Save it with a .reg extension.
(Note: to save in NotePad as a .reg you'll need to change "Save as type:" from Text Documents to All Files)
--- Copy Start Here ---
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/jpeg"
@="Fireworks.tiff"
"PerceivedType"="image"
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\Op
[HKEY_CLASSES_ROOT\.tif\Op
@=""
[HKEY_CLASSES_ROOT\.tif\Pe
@="{58F2E3BB-72BD-46DF-B13
--- Copy End Here ---
The information above is what I use for .tif files, in your regshot comparison you should note something very similar, all you need to do is make the changes to the reg file above, by modifying the contents. If you need feel free to copy the contents of your compare file here.
Cheers
Been one of those weeks it seems, so only just getting round to it now!
Here's my compare file:
--------------------------
Values added:18
--------------------------
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
--------------------------
Values modified:3
--------------------------
HKLM\SOFTWARE\Microsoft\Wi
HKLM\SOFTWARE\Microsoft\Wi
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
HKU\S-1-5-21-1659004503-14
--------------------------
Total changes:21
--------------------------
The relevant line I beleive is the one near the top that mentions "SAWF_STUB.exe" so would all I need to change be the ois.exe for that?
Hi DubberDan
Before I can continue I actually need a couple of things from you:
1. Is the program you wish to use registerd on the computer? i.e. was it installed or is it just an executable?
2. When you ran regshot capture did you run this on a new machine? i.e. prior to associating the program aka a newly reimaged computer.
3. When you ran regshot capture did you use these steps:
a. Run Regshot
b. Click 1st shot
c. Right Clicked .tif file
d. Selected Open With > Choose Program
e. Check Always use the selected program to open this kind of file.
f. Click Browse...
g. Select the correct Program
h. Click Open
i. Click OK
Once you confirm this I'll be able complete the reg file. If you're unsure do you have that particular execuable available for download so I can verify the settings I give you work? Although I could give you a registry key for importing, if that file is not registered correctly on the computer than it won't know where to find the executable, if you get my meaning.
Cheers
1. Yep it's an installed program used for document management for which a recent update has required a slightly different viewer to be used. Both the old and new viewer are located in the same folder on a server. So it's just the file association that needs chaning from one to the other
2. No it wasn't a newly imaged pc, but an existing pc. Between snapshots I changed the file association. I also ran it on our terminal server (Win 2k3) as we have some users that access the network at a remote site as well as our main one. The changes in that case were the same
3. Not quite. I went into Tools > Folder Options > File Types, then selected the .tif from the list and browsed to the location of the new program
Hi DubberDan
Would highly suggest redoing the snapshot on a clean machine using the steps I set out above. The reason being, you need to make sure that SAWF_STUB.exe has been registered correctly.
Also please export the following three registry keys and post them here.
1. HKEY_CURRENT_USER\Software
2. HKEY_CURRENT_USER\Software
3. HKEY_CLASSES_ROOT\.tif\
Basically, we're trying to verify that the path etc.. to SAWF_STUB.exe are in place, otherwise the system won't know where to look for SAWF_STUB.exe if you get my meaning.
Cheers
Surely the only way to get a clean snapshot as you say is from a fresh imaged pc, something I'm not in a position to do. It should be registered fine as there is a line in the login script that runs a reregdll batch file specifically for this program
Reg keys as requested, 1st from my laptop:
1.
[HKEY_CURRENT_USER\Softwar
"Progid"="TIFImage.Documen
[HKEY_CURRENT_USER\Softwar
"a"="SAWFADO_IMG.exe"
"MRUList"="bdca"
"b"="mspaint.exe"
"c"="Photoshop.exe"
"d"="SAWF_STUB.exe"
[HKEY_CURRENT_USER\Softwar
"TIFImage.Document"=hex(0)
"Photoshop.TIFFFile.9"=hex
"MSPaper.Document"=hex(0):
"PCTI Workflow File Viewer.Document"=hex(0):
2.
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"C:\\Program Files\\7-Zip\\7zFM.exe\" \"%1\""
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"C:\\Program Files\\Adobe\\Acrobat 6.0\\Acrobat\\Acrobat.exe\
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"C:\\Program Files\\Crimson Editor\\cedt.exe\" \"%1\""
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"C:\\Program Files\\CyberLink\\PowerCin
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"P:\\PCTI\\ScanAgent_W
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="Open"
[HKEY_CURRENT_USER\Softwar
@="Open"
[HKEY_CURRENT_USER\Softwar
@="\"C:\\Program Files\\Whorld\\Whorld.exe\
"command"=hex(7):60,00,3f,
29,00,25,00,77,00,54,00,56
00,4c,00,53,00,5e,00,36,00
4a,00,26,00,7e,00,40,00,30
00
3.
[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
@="PCTI Workflow File Viewer.Document"
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\Op
[HKEY_CLASSES_ROOT\.tif\Op
@=""
and now from the terminal server:
1.
[HKEY_CURRENT_USER\Softwar
"Application"="SAWF_STUB.e
[HKEY_CURRENT_USER\Softwar
"a"="SAWF_STUB.exe"
"MRUList"="ab"
"b"="SAWFADO_IMG.exe"
[HKEY_CURRENT_USER\Softwar
"PCTI Workflow File Viewer.Document"=hex(0):
2.
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
[HKEY_CURRENT_USER\Softwar
@="\"P:\\PCTI\\ScanAgent_W
3.
[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
@="MSPaper.Document"
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\MS
[HKEY_CLASSES_ROOT\.tif\Op
[HKEY_CLASSES_ROOT\.tif\Op
@=""
Hi DubberDan
Well from what you sent me I've put togeather the .reg file you'd need, now there is a couple things to consider
1. If the program is registered correctly you shouldn't need the [HKEY_CLASSES_ROOT\.tif] at all and because you need privleges to insert this key, I recommend trying it without it in the reg file, it should work, but if you find it doesn't than just insert the following:
[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
@="PCTI Workflow File Viewer.Document"
2. Recommend you use UNC path to the application rather than a Mapped Drive, i.e. \\MYSERVER\... Mapped Drives can are ok when mapped but if for some reason the drive becomes disconnected than users will have problems opening the tifs.
Here is the Reg file I believe you'd need, tell me if you have any issues.
Cheers
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Softwar
"Application"="SAWF_STUB.e
[HKEY_CURRENT_USER\Softwar
"PCTI Workflow File Viewer.Document"=hex(0):
[HKEY_CURRENT_USER\Softwar
@="\"P:\\PCTI\\ScanAgent_W
Business Accounts
Answer for Membership
by: matrixnzPosted on 2007-07-11 at 04:28:56ID: 19461440
It's best to capture this from within the registry and import it directly using login script or by creating a custom ADM file. The extension information is held in the registry under HKEY_Classes.
Hope that helps.
Cheers