Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

BgInfo : BGInfo Bugs or Feature Request

$
0
0
Author: alastair_c
Subject: BGInfo Bugs or Feature Request
Posted: 26 April 2013 at 3:32am

This may be of use to some people: Although BGInfo doesn't currently have the functionality to set wallpaper to stretch, I simply run the following commands as part of the batch file that calls BGinfo:


:: Call BGInfo to set background
c:\batches\bginfo.exe /nolicprompt /ic:\batches\bginfo.bgi /timer:0

:: Configure wallpaper to stretch. Prevents tiling when users resize their sessions.
reg add "HKCU\Control Panel\Desktop" /v WallpaperStyle /d 2 /f
reg add "HKCU\Control Panel\Desktop" /v TileWallpaper /d 0 /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

This sets the wallpaper type to strech and forces the desktop to re-read the registry and apply these settings. This seems to get the job done for XenApp sessions where previously users were resizing their session or connecting from a different device at a different resolution and finding the BGinfo wallpaper was tiled.

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>