Wallpaper trick (screen orientation)


  1. Posts : 10
    Windows 10
       #1

    [Trick] How to use two wallpapers in different orientation


    Hello. I give trick how to use different wallpapers in different display orientation. And give some info for future. Do it at your own risk!

    Experimental:
    Wallpaper trick (screen orientation) - Windows 10 Forums

    Prelude: Microsoft maked "Hero" wallpaper for multi resolution usage. For example in portrait one wallpaper ("img0_1200x1920.jpg"), in landscape second wallpaper ("img0.jpg"). This working for 1920x1200, 1920x1080 and 1280x800 resolutions. For replace in different resolution need replace different files. These wallpaper located in "Windows/Web/Wallpaper/Windows" and "Windows/Web/4K/Wallpaper/Windows". This wallpaper are hardcoded.

    I give trick how to replace and use multi resolution and per-orientation wallpaper.

    1. Give permission for these wallpaper. Need run at admin rights these script. Unlocks "1200x1920" and default resolution wallpapers.
    Code:
    TakeOwn.exe /F %SystemRoot%\Web\Wallpaper\Windows\img0.jpg 
    icacls %SystemRoot%\Web\Wallpaper\Windows\img0.jpg /reset
    
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1200x1920.jpg 
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1200x1920.jpg /reset
    2. Make reserve copy of system wallpapers. Rename: "img0.jpg" and "img0_1200x1920.jpg" to "img0.jpg.bak" and "img0_1200x1920.jpg.bak".

    3. Rename your new wallpapers to "img0.jpg" and "img0_1200x1920.jpg".
    4. Paste to system wallpapers folder (see batch script locations).
    5. Go to personalization and re-set default wallpaper. Also you may see own image in settings instead of "Hero".

    Try rotate screen of your tablet. You must see changes of wallpapers.
    For ASUS T100 need change "1366x768" and "768x1366" wallpapers. Both in 4K folder.

    Update! Final screenshots. From Lenovo Thinkpad 8.

    Wallpaper trick (screen orientation)-screenshot-2-.jpg

    Wallpaper trick (screen orientation)-screenshot-3-.jpg

    Give me your screenshots of results.

    Update 2! Full unlock code:
    Code:
    echo "allow change default wallpaper"
    TakeOwn.exe /F %SystemRoot%\Web\Wallpaper\Windows\img0.jpg 
    icacls %SystemRoot%\Web\Wallpaper\Windows\img0.jpg /reset
    
    echo "allow 4K wallpapers"
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1200x1920.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1366x768.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_768x1366.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_3840x2160.jpg 
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_2160x3840.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_2560x1600.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1600x2560.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1024x768.jpg
    TakeOwn.exe /F %SystemRoot%\Web\4K\Wallpaper\Windows\img0_768x1024.jpg
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1200x1920.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1366x768.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_768x1366.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_3840x2160.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_2160x3840.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_2560x1600.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1600x2560.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_1024x768.jpg /reset
    icacls %SystemRoot%\Web\4K\Wallpaper\Windows\img0_768x1024.jpg /reset
    
    pause
    Last edited by acterhd; 14 Aug 2015 at 11:50.
      My Computer


  2. Posts : 10
    Windows 10
    Thread Starter
       #2

    Take 2 - hardcore method.

    Means need change cached image. Main feature - no need change system images.
    1. Go to to deeeeeeeeeeeeeeeeeeeeeep folder.
    Code:
    C:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles
    2. If you see CachedImage_1920_1080_POS5.jpg paste your new background as CachedImage_1080_1920_POS5.jpg i.e. swap resolution numbers.
    3. You can rotate screen and see another wallpaper.

    Warning! Changes resets after restart PC.
      My Computer


  3. Posts : 10
    Windows 10
    Thread Starter
       #3

    Bonus! Add to startup this script.
    Before using this script, apply one of two wallpaper through state tool, then replace cached images.
    I'm tried remove or replace transcoded but gets glitches. So I recommend apply wallpaper before and, next, use script.

    Code:
    echo "replace transcoded wallpaper (don't forbid)"
    :: del %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper
    :: copy /Y CachedImage_1200_1920_POS5.jpg %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper
    :: pause
    
    echo "restore FullHD 16:10 oriented image"
    copy /Y CachedImage_1200_1920_POS5.jpg %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles\CachedImage_1200_1920_POS5.jpg
    copy /Y CachedImage_1920_1200_POS5.jpg %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles\CachedImage_1920_1200_POS5.jpg
    :: pause
    
    :: echo "restore FullHD 16:9 oriented image"
    :: copy /Y CachedImage_1080_1920_POS5.jpg %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles\CachedImage_1080_1920_POS5.jpg
    :: copy /Y CachedImage_1920_1080_POS5.jpg %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles\CachedImage_1920_1080_POS5.jpg
    :: pause
    And paste CachedImage_1920_1200_POS5.jpg and CachedImage_1200_1920_POS5.jpg with script. Script with wallpapers may be located in any directory. Main - add to startup!

    Wallpaper trick (screen orientation)-capture.png

    Not tested, but may working in Windows 8.1.
    Last edited by acterhd; 14 Aug 2015 at 12:20.
      My Computer


  4. Posts : 10
    Windows 10
    Thread Starter
       #4

    I think first method are better. But need always refresh background after restart your PC. In Windows 10 have bug with Hero wallpaper. But first method have less glitches. I'm not found method for make multi resolution wallpaper for "Custom" folder, not "Windows/img0.jpg".

    These glitches:
    - In start menu (tablet mode) uses system or changed wallpaper i.e. pick up from register. With Hero wallpaper no this glitch.
    - Resets background to default (setted by CP)

    I'm recommend read: Windows 10 - CCMEXEC.COM System Center blog
    He speak about, how to replace default wallpapers.
    Wallpaper trick (screen orientation) Attached Files
    Last edited by acterhd; 14 Aug 2015 at 11:28.
      My Computer


  5. Posts : 10
    Windows 10
    Thread Starter
       #5

    I give you experimental link. Also included C# project that draw cached image into desktop.
    Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
    Added Method_1 and Method_2 folders. Try!
    Last edited by acterhd; 14 Aug 2015 at 11:21.
      My Computer


  6. Posts : 2
    Windows 10
       #6

    Maybe, it is not the newest thread, but i may have a solution which one could use.
    With this way of solving the problem, no hacks are needed.

    I wrote a small program, which allows you to define a path where your images are stored and the name of the images.
    The names must contain the resolution. So it knows, when to use which wallpaper.
    (If the images are in the same folder as the application, the path can be ignored).

    Simply, an image says more than 1000 words.

    Wallpaper trick (screen orientation)-resolution-based-wallpaper.png

    The Applications runs in the background and has a small symbol in your sys tray.
    You can create a link in your startup folder, so it automatically starts with Windows.

    The applications was tested with Windows 10 on a surface 2 and my personal notebook.
    Actually .NET Framework 4.5.2 has to be installed (at least).
    Download link: http://ul.to/lpnpgnqe or http://www.share-online.biz/dl/Z0GSZE4OL6


    Edit: 22.03.2016
    Added New Version:
    - It is now possible, to set a fix name for the landscape or portrait image. These parameters are checked first.
    It is still possible, to define a variable file name.
    - The Lock Screen image is now also supported with the same parameters
    - The user can also set a custom image for the Login Screen. Caution: This could probably harm your system in case of an error, because it overwrites the file "Windows.UI.Logon.pri" of windows. If something happens, just replace the file in "C:\Windows\SystemResources\Windows.UI.Logon" with the automatically created backup in your application folder or "C:\Windows\SystemResources\Windows.UI.Logon\Windows.UI.Logon.pri.bak".
    Last edited by deforation; 21 Mar 2016 at 19:36. Reason: Updated Version
      My Computer


  7. Posts : 2
    Windows 10
       #7

    Hello Together.
    Just added a new Version.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:36.
Find Us




Windows 10 Forums