Tech

Deploy Windows Photo Viewer Automatically using Registry or GPO

Hi,

Recently I asked one question in this community regarding Windows Photo Viewer.

Using your helpful suggestion I was able to enable Windows Photo Viewer in my PC. But I have 55 PC which need to be enabled. Now I am looking to automatic this process.

As we need to edit the registry to enable the Windows Photo Viewer. I think its possible using some script or GPO setting to enable it in all the domain PC across the network.

I am searching for way, also I am pleased to hear any suggestion on this topic.

Thanks in advance.
AD

Hello @AnthonyD

Yes, You can use domain group policy in domain controller using gpmc.msc in run command.
you will have to download windows photo viewer with msi extension file and follow the step how to deploy software using group policy.
If you have any doubt feel free to contact me.

1 Like

Hi @VIkasmadan,

Thanks for the reply. Is there any other way instead of deploying the Photo viewer using msi. I have used deployment for some application. You can see the another post shared me. It has some PowerShell code I am looking for a way to import the registry setting and export to all the domain computer using GPO registry wizard.

1 Like

Hello @AnthonyD

registry settings is the warehouse of all configuration of computer hardware and user settings, each computer has different hardware,
so we can’t export the and import the settings of another computer.
You can create new software package in group policy.
Note: before deploy the software in real environment you can check in virtual setup.

Good Luck!!

1 Like

That’s a reasonable advice. Thankyou

1 Like

There is one easiest way to deploying registry setting using Group Policy to enable Windows Photo Viewer on all the domain computers automatically.

Script to Restore Windows Photo Viewer

Open a notepad and copy paste the below code and save the notepad file as .reg.

The registry code you need (highlight ALL of it) is:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
“MuiVerb”="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
“Clsid”="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
“Clsid”="{60fd46de-f830-4894-a628-6fa81bc0190d}"


Install the Restore Windows Photo Viewer script in Windows 10 computer:

As you can see in the below image I have saved the script as RestoreWindowsPhotoViewer and you can confirm the icon of the file showing as registry image.

As shown in the below image Double click the file and click Yes to install it on your Windows 10 computer.

image

Now, you have successfully Restore the Windows Photo Viewer on the new Windows 10 computer.

1 Like