Jan 28 2020 12:48 PM
Hi there,
Firstly, apologize if I am posting at the wrong group.
Anyway, we have a Windows server 2016 RDS cluster with 3 servers. We have users who have the need to use Windows Photoviewer. The app works (after we enabling it as it was hidden by default on server 2016). But once users have an image file opened to view, they found that if they right-click on the image, the "Copy" option is greyed out.
It seems to happen to files stored on network shares as, if we move the file to a local disk on the server, the "Copy" option is available.
Been doing some Google search. Most results were talking about that read-only files will cause the problem but we are sure users all have read/write access and image files are not read-only.
I suspect it is some sort of SMB issues. Just wondering if anyone has come across this and wold know a solution or workaround please?
Thanks,
Edmond.
Jan 28 2020 03:56 PM
SolutionPhoto viewer was a carry-over to windows 10 for those upgrades from windows 7/8.1 Even on windows 10 its been depreciated. https://support.microsoft.com/en-us/help/4027135/windows-10-photo-viewer
So it may stand to reason to see unexpected results especially when deploying to windows server.
Jan 28 2020 08:23 PM
@Dave PatrickThanks for the reply. I think you are right about it. But your link may help with me resolving the issues. I can see Windows 10 comes with the Photos app (not Photoviewer). Windows 2016 doesn't even have it. I need to see if I can extract the package and install the Photos app on a server and see if it will behave differently.
Thanks for the suggestion.
Cheers.
Edmond.
Jan 29 2020 05:34 AM
Sounds good, you're welcome.
(please don't forget to mark helpful replies)
Sep 23 2020 05:36 PM
@Emond Lo Were you able to get this resolved? Would be very interested in what ended up working for you on server 2016. Thanks.
Feb 09 2023 02:17 AM
Sep 11 2024 09:07 AM - edited Sep 11 2024 09:52 AM
@HAMMOU_REDOUANE The link you provided is now a default not found page. I wish you would have copied the relevant info so dead internet links don't overpower the internet. I found the following steps and links useful instead which I have copied to the fullest ability possible here.
From https://smarthomepursuits.com/enable-photo-viewer-on-server-2016-or-2019/
By default, Photo Viewer isn’t installed or active. The first thing we need to do is check whether or not the DLL’s exist on the server.
Browse to C:\Program Files (x86)\Windows Photo Viewer on the server. If you see .dll files there, that means the files exist but aren’t registered. It should look like this:
If you don’t see those files, simply browse to the path above from a Windows 10 PC & copy the folder contents to the same path on your server.
Now that we know the necessary files are present, we need to register them.
Open Command Prompt (type CMD into Start) and right-click to Run as Administrator. Then copy and paste the following code:
regsvr32 “C:\Program Files (x86)\Windows Photo Viewer\PhotoViewer.dll”
Now that the .dll’s are registered, we need to import the registry keys. This allows us to “Open With…” from File Explorer and choose Windows Photo Viewer, as well as set default file associations for various file types, such as .jpg, .jpe, or .jpeg.
Download registry files from here: MS Photoviewer Registry Files.zip
THE DOWNLOAD REGISTRY FILES LINK IS ALSO DEAD SO DO THIS INSTEAD FROM https://answers.microsoft.com/en-us/windows/forum/all/windows-photo-viewer-registry/e78030a1-739a-4c...
> If you are referring to the old Photo Viewer form WIndows 7, the registry fix is in Option 1 on this page:
https://www.tenforums.com/tutorials/14312-resto...
>> MORE COPIED DATA FROM THIS LINK SHOWN BELOW
This option will only affect the account that you are currently signed in to.
You do not need to be an administrator to do this option.
This is the default setting.
4 Save the .reg file to your desktop.
5 Double click/tap on the downloaded .reg file to merge it.
6 When prompted, click/tap on Run, Yes (UAC),Yes, andOK to approve the merge.
7 You can now delete the downloaded .reg file if you like.
8 If you selected toundo restore Windows Photo Viewer, thenselect a different app (ex: Photos) as the default app underPhoto viewer in Settings. (see screenshot below step 9)
9 If you selected torestore Windows Photo Viewer, thenselect "Windows Photo Viewer" as the default app underPhoto viewer in Settings. (see screenshots below)
If you do not see the restored Windows Photo Viewer in Default apps, then close and reopen the Default apps settings page to refresh it.
You must be signed in as an administrator to be able to restore Windows Photo Viewer using this option.
This option will override Option One above, and also adds the Image Preview context menu for Windows Photo Viewer.
This option does the same as step 2 above, but allows you to view files in the same order as they are arranged in the folder.
This...
This is the default setting.
5 Save the .reg file to your desktop.
6 Double click/tap on the downloaded .reg file to merge it.
7 When prompted, click/tap on Run, Yes (UAC),Yes, andOK to approve the merge.
8 You can now delete the downloaded .reg file if you like.
9 If you restoredWindows Photo Viewer, thenselect "Windows Photo Viewer" as the default app underPhoto viewer in Settings. Other users on the PC will also need to do this step if they want Windows Photo Viewer set as the default program in their account. (see screenshots below)
If you do not see the restored Windows Photo Viewer inDefault apps, then close and reopen the Default apps settings page to refresh it.
<< End of inner link copy
If you are referring to the Photos App in Windows 10:
Open the Settings App (gear icon on your Start Menu)
Go to Apps and find the Photos app in the list of installed Apps
Select that, choose Advanced Options - Reset
Then check the functionality of that App . . .
If you’d like to make Photo Viewer your default photo viewing application, search Windows for “Default Apps” and then change Photos to Windows Photo Viewer.
This step is optional, but if you’d like to see a preview of the images from File Explorer (instead of just icons), you can do that by changing the File Explorer options.
Search Windows for Folder Options. Change to the View tab and uncheck “Always show icons, never thumbnails”.
That will change it from looking like this:
to looking like this:
That’s all there is to it! Hopefully this guide helped you out.
I am not allowed to attach .reg files so here is the registry info after I imported the Restore_Windows_Photo_Viewer_ALL_USERS_with_Sort_order_fix.reg file on Windows Server 2016 successfully.
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerDropTarget.1
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Windows Photo Viewer DropTarget
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerDropTarget.1\CLSID
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {D63A1416-FCEC-4431-862F-E8056223DD03}
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerDropTarget
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Windows Photo Viewer DropTarget
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerDropTarget\CLSID
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {D63A1416-FCEC-4431-862F-E8056223DD03}
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerDropTarget\CurVer
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Microsoft.Photos.ViewerDropTarget.1
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerGalleryInterface.1
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Windows Photo Viewer DropTarget
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerGalleryInterface.1\CLSID
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {32624F4B-F1D5-4877-989E-555640109D2B}
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerGalleryInterface
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Windows Photo Viewer DropTarget
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerGalleryInterface\CLSID
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {32624F4B-F1D5-4877-989E-555640109D2B}
Key Name: HKEY_CLASSES_ROOT\Microsoft.Photos.ViewerGalleryInterface\CurVer
Class Name: <NO CLASS>
Last Write Time: 7/16/2016 - 9:23 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Microsoft.Photos.ViewerGalleryInterface.1
I hope this helps someone else 😉
Brian Hicks
Technology Enthusiast
Brevard Construction Company
Jan 28 2020 03:56 PM
SolutionPhoto viewer was a carry-over to windows 10 for those upgrades from windows 7/8.1 Even on windows 10 its been depreciated. https://support.microsoft.com/en-us/help/4027135/windows-10-photo-viewer
So it may stand to reason to see unexpected results especially when deploying to windows server.