[TUTO] – Desktop Info: how to configure and deploy Desktop Info by GPO

29
22218

Sommaire

Desktop Info displays information about your system in real time directly on your screen. This application is fully customizable via its configuration file, it will be possible to adjust the information displayed, adjust the position of the display, set the display colors and etc…

The application is self-contained and requires no installation on your system, simply run the program to start the process. It is also good to note that this application uses only very little system resource and will work perfectly in all your environments.

A little more information about Desktop Info: http://www.glenn.delahoy.com/software/

 

Download sources

The sources are available via the official website here: http://www.glenn.delahoy.com/software/

Several files will be present:

  • DesktopInfo.exe: This is the application executable.
  • Desktopinfo.ini: This is the configuration file, we will return later on.
  • Readme.txt: This is a help file.

 

Copy these files in a share, we will use later with the script.

 

The application configuration

Edit the file “desktopinfo.ini”.

 

For each category, you can configure:

  • Activation or not of the display
  • The refresh interval
  • The display color

 

Here is an example of my configuration file (see image above for example) :

[options]
top=15
#left=5
#bottom=40
right=15
width=600
fontface=Arial
fontsize=13
cleartype=0
ssfontsize=17
formcolor=000000
contextmenu=1
allowdrag=0
offset=1
#language=english.ini
msnstatus=0
inimonitortime=10
#log=desktopinfo.log

[items]
# date / time
COMMENT=active:0,interval:0,color:aaaaaa,style:biu,text:Desktop Info
DATETIME=active:0,interval:1,color:EECC00
TIMEZONE=active:1,interval:60,color:EECC00
HOST=active:1,interval:0,color:EECC00,style:b
USER=active:1,interval:0,color:EECC00
BOOTTIME=active:1,interval:0,color:EECC00
UPTIME=active:0,interval:1,color:EECC00

# hardware
COMMENT=active:0,interval:0,color:aaaaaa,style:i,text:Hardware
OEMINFO=active:0,interval:0,color:0099EE
CPUTYPE=active:0,interval:0,color:0099EE
CPUCOUNT=active:0,interval:0,color:0099EE
CPUTEMP=active:0,interval:10,color:00CCEE
BATTERY=active:0,interval:60,color:00CCEE,chart:1
MOTHERBOARD=active:0,interval:0,color:0099EE
BIOS=active:0,interval:0,color:0099EE
DISPLAYCONTROLLER=active:0,interval:0,color:0099EE
AUDIOCONTROLLER=active:0,interval:0,color:0099ee
SERIALNUMBER=active:0,interval:0,color:0099ee

# windows configuration
COMMENT=active:0,interval:0,color:aaaaaa,text:Windows Configuration
OSVERSION=active:1,interval:0,color:CCCCEE
OSBUILD=active:1,interval:0,color:CCCCEE
SERVICEPACK=active:1,interval:0,color:CCCCEE
IEVERSION=active:0,interval:0,color:CCCCEE
DIRECTX=active:0,interval:0,color:CCCCEE
SCREEN=active:0,interval:120,color:CCCCEE

# network adapters
COMMENT=active:0,interval:0,color:aaaaaa,text:Network Adapters
NETWORKADAPTER=active:1,interval:30,color:55CC77,activeonly:1,count:8,filter:
IPADDRESS=active:1,interval:30,color:55CC77,offset=1
MACADDRESS=active:1,interval:60,color:55CC77,offset=1
GATEWAY=active:1,interval:30,color:55CC77,offset=1
DHCPSERVER=active:0,interval:30,color:55CC77,offset=1
WINSSERVER=active:0,interval:30,color:55CC77,offset=1
# network stack
COMMENT=active:0,interval:0,color:aaaaaa,text:Network Stack
DNSSERVER=active:0,interval:30,color:55CC77
LEASEEXPIRY=active:0,interval:30,color:55CC77
PROXY=active:0,interval:60,color:55cc77
DOMAIN=active:1,interval:30,color:55CC77
DOMAINCONTROLLER=active:1,interval:30,color:55CC77
WORKGROUP=active:0,interval:30,color:55CC77
NETCONNECTIONS=active:0,interval:10,color:55CC77,chart:0,threshold:150,tcolor:0000FF
NETPACKETS=active:0,interval:10,color:55CC77
NETPACKETSRATE=active:0,interval:10,color:55CC77,chart:2,threshold:500,tcolor:0000FF

# disks
COMMENT=active:0,interval:0,color:aaaaaa,text: 
FIXEDDISK=active:1,interval:10,color:FF9955,chart:1,threshold:90,tcolor:0000FF,count:8,shortdisplay:1,filter:
DISKIO=active:0,interval:10,color:FF9955,chart:0,threshold:10000,tcolor:0000FF

# processes
COMMENT=active:0,interval:0,color:aaaaaa,text:Processes
CPU=active:1,interval:5,color:00CCEE,chart:2,threshold:95,tcolor:0000FF
CPUUSAGE=active:0,interval:5,color:00CCEE,chart:2,threshold:95,tcolor:0000FF,count:8
PROCESSCOUNT=active:0,interval:5,color:00CCEE,chart:0,threshold:100,tcolor:0000FF
TOPPROCESSCPU=active:0,interval:5,color:00CCEE,chart:0,threshold:95,tcolor:0000FF
TOPPROCESSMEM=active:0,interval:5,color:00CCEE,chart:0,threshold:500,tcolor:0000FF
TOPPROCESSPF=active:0,interval:5,color:00CCEE,chart:0,threshold:5000,tcolor:0000FF

# memory
COMMENT=active:0,interval:0,color:aaaaaa,text:Memory
PHYSICALRAM=active:1,interval:5,color:AA77AA,chart:1,threshold:90,tcolor:0000FF,shortdisplay:1
VIRTUALMEMORY=active:0,interval:5,color:AA77AA,chart:0,threshold:90,tcolor:0000FF,shortdisplay:1
PAGEFILE=active:0,interval:5,color:AA77AA,chart:0,threshold:90,tcolor:0000FF,shortdisplay:1
PAGEFAULTS=active:0,interval:5,color:AA77AA,chart:0,threshold:5000,tcolor:0000FF

# printers
COMMENT=active:0,interval:0,color:aaaaaa,text:Printers
PRINTER=active:0,interval:60,color:888888,count:8
PRINTERSTATUS=active:0,interval:60,color:888888
DEFAULTPRINTER=active:0,interval:60,color:888888
# misc
COMMENT=active:0,interval:0,color:aaaaaa,style:iu,text:Miscellaneous - Testing
FILE=active:0,interval:10,color:ff8888,type:text,text:Setup,file:
REGISTRY=active:0,interval:10,color:ff8888,tree:0,text:Run Key,key:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\
EVENTLOG=active:0,interval:10,color:ff8888,text:System Events,log:System
TSSESSIONS=active:0,interval:10,color:888888
UNREADMAIL=active:0,interval:60,color:888888,chart:0,threshold:10,tcolor:0000FF
ENVVAR=active:0,interval:60,color:888888,text:Logon Server,key:logonserver
LOGONSESSION=active:0,interval:60,color:888888

 

Scripting and deployment

We will now focus on scripting and automatic deployment of Desktop Info. The goal is to automate the launching of the application when you open a new session on a server.

The script will be performed in Powershell and we automate the deployment by a GPO.

 

Scripting

Here is the script that I propose, it works like this:

  • Copy local sources (overwrites the configuration at each logon .ini file)
  • Local implementation of Desktop Info

Note: Remember to modify and adapt the variables of the scripts in your environment (see “Variables” block :)).

#########################################################################################
#
# (c) Copyright 2017 - Jérémy LEBON - sys-advisor.com
#  
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#  
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
#########################################################################################

# ---------------------------------------------------------------------------------------
# Script  :  Deploy_DesktopInfo.ps1
# Objet   :  Main Script
# Author  :  Jérémy LEBON, sys-advisor.com 
# Version :  1.2
# Date    :  29/09/2017
# ---------------------------------------------------------------------------------------

#########################################################################################
###### VARIABLES 
#########################################################################################

#Local computer/server folder created for DesktopInfo
$DesktopInfoLocalPath = "C:\Exploit\DesktopInfo\"
#Path where you keep DesktopInfo
$DesktopInfoSourcePath = "\\SourcePath\"
#DesktopInfo.exe => Default Name
$DesktopInfoExe = "DesktopInfo.exe"
#DesktopInfo.ini => Default Name
$DesktopInfoIniPath = "DesktopInfo.ini"

$DesktopInfoExePath = $DesktopInfoSourcePath + $DesktopInfoExe #DesktoInfo.exe Source Path
$DesktopInfoIniPath = $DesktopInfoSourcePath + $DesktopInfoIniPath #DesktoInfo.ini path
$DesktopInfoLocalExePath = $DesktopInfoLocalPath + $DesktopInfoExe #DesktoInfo.exe Local Path

#########################################################################################

#Check if folder exist
if (-NOT (Test-Path $DesktopInfoLocalPath)) {
    New-Item -ItemType Directory c:\Exploit\DesktopInfo #Create folder
    Copy-Item $DesktopInfoExePath -Destination $DesktopInfoLocalPath #Copy DesktopInfo.exe
    Copy-Item $DesktopInfoIniPath -Destination $DesktopInfoLocalPath #Copy DesktopInfo.ini
        
}
else {
    if (-NOT (Test-Path $DesktopInfoLocalExePath)) {
        Copy-Item $DesktopInfoExePath -Destination $DesktopInfoLocalPath #Copy DesktopInfo.exe
    }

        Copy-Item $DesktopInfoIniPath -Force -Destination $DesktopInfoLocalPath #Force Copy DesktopInfo.ini
}

$Command = $DesktopInfoLocalExePath
$Argument1 = "/ini=$DesktopInfoIniPath"

& $Command $Argument1

 

GPO deployment

Create a new GPO, and then edit the.

Appointment in :

  • User Configuration
    • Windows Settings
      • Scripts (Logon/Logoff)
        • Logon

 

Click on the tab “PowerShell Scripts”, then click on “Add…” to add the script that we just created.

 

Add the script via “Browse…” without entering parameters and then click “OK”

 

If you have configured everything correctly, then the Info Desktop application should automatically begin at each logon.

JL
Fondateur de sys-Advisor.com, Passionné avant tout, je partage mon quotidien à travers ce site. #sysadmin #microsoft #vmware #tech #geek @sysadvisor

29 Commentaires

  1. With over 6,300 games from leading studios such as Pragmatic Play
    and BGaming, it easily keeps up with the best-in-class.
    Spinando is the latest addition to the best new Australian casinos, launched in 2025.
    You’ll even find games that you didn’t necessarily expect to find, like Top Card, Cash Crab, or The Kickoff.
    It boasts a massive 600+ game library of live dealer tables and game shows.

    Some casinos also provide dedicated account managers for their VIP players.
    Cashback bonuses are a great way to recover a portion of your losses and keep your gameplay going longer.
    These bonuses effectively double your playing funds, allowing for extended gameplay and increased chances
    of winning. These promotions can boost bankrolls, allow players
    to try new games risk-free, and reward loyalty. Understanding RTP helps players make
    informed choices about which games to play, potentially maximising their chances of winning or minimising losses over time.

    It’s a simple game, but it comes in many variations with side bets and other exciting features.
    Canadian sites feature many roulette variations, including the three most popular ones — European, French, and American. It’s typically the most numerous table game category,
    known for having the lowest house edge.

    References:
    https://blackcoin.co/spanish-21-rules/

  2. From generous bonuses to thorough game libraries, these online sites
    cater to all types of players. There are many online casinos to consider, but here
    are our 5 best picks for Australian players. There’s a lot to take in when playing at an online
    casino in Australia for real money. You’ll also want to double-check the bonus terms as
    many AU online casinos won’t apply promos if you deposit
    this way. There’s no shortage of real money casino games at Aussie-facing sites.

    If you’re playing at an online casino in Australia for real money, a reload can give your balance a bit of extra kick.

    I test customer support at each casino, reaching out via live chat, email, and phone (if available).
    I also check if the casino supports Australian dollars to avoid currency conversion hassles and deposit fees.

    I used these methods at casinos such as Jet4Bet Casino and Win Maker Casino.

    We are a whole team behind our reviews of AU online casinos,
    but we’re testing hundreds of sites. You can now make crypto payments at virtually any real money Australian online casino.
    I’ve been using Neospin to play pokies ever
    since it was released in 2022 – it’s a very popular online casino here in Australia.
    I’ve spent years playing at Australian online casinos and reviewing them, so
    I can usually immediately tell if a casino is
    good or not.

    References:
    https://blackcoin.co/australian-no-deposit-bonus-codes/

  3. Understanding the terms of our promotions is key to making the most
    of them. As you play, you’ll accumulate loyalty points, which can be exchanged for cash and
    other rewards. Embark on your gaming journey with the spectacular Casino Mate Welcome Bonus.

    Although we won’t reveal specific licensing numbers, rest assured that our platform meets all
    the necessary industry standards. We are fully licensed and operate under strict
    regulations to provide a safe and fair gaming environment.

    The 3D slots which we have are of the best quality, and developed by Microgaming.

    You can access that section by clicking on the Club Mate
    link and enjoy special rewards and freebies. Registering on our
    platform is simple, also for the newbies.
    At Casino Mate, we believe in fair and legal play and it is for this reason that we are a
    licensed outlet under the Malta Gaming Authority.
    The casino has a license obtained from the Malta Gaming Authority and registered under the Malta Gambling Commission. Click the button and get your
    $1,400 + 80 Free Spins welcome bonus now.
    Casino-Mate provides a wide range of online casino games, including everything from pokies to roulette, baccarat to video poker, and table games to progressive jackpots.
    Online casinos are becoming more and more well-liked, and as technology advances,
    more and more players are turning to them for enjoyment.
    New Aussie players get a big welcome bonus spread
    across their first four deposits, including bonus cash and free spins.

    References:
    https://blackcoin.co/best-casinos-in-singapore/

  4. Ready to join the action at Royal Reels, Australia’s official online casino?
    Use your $10 Free Chip to take our premium online pokies
    for a spin, completely risk-free. We’ve meticulously curated
    a massive collection of over 2,000 top-tier titles
    to satisfy every type of Aussie player. Dive into a universe of spinning reels,
    explosive features, and massive payouts with the best online pokies at Royal Reels Casino Australia.
    Getting your hands on our exclusive no-deposit bonus is as quick and easy as
    it gets!
    Engaging walkthroughs introduce the game catalog, the variety
    of bonus offers available, and direct access to the customer support team.

    This customization capability ensures that each player can tailor their gaming experience at Royal Reels to suit personal preferences, fostering an environment
    of enhanced user satisfaction. Players at Royal Reels are offered a robust
    selection of over 2000 games, carefully curated to align with their preferences and backed
    by reputable gaming software providers for seamless experiences.
    This esteemed platform, known for its stellar variety of pokies and high-value bonuses, continues to redefine the digital casino landscape.

    Take the plunge into digital excellence with a registration process designed to enhance your gaming journey from the very beginning.
    Players continually benefit from a dynamic and
    enriching environment that meets the demands of modern gaming preferences and technological advancements.

    Engineered to function across all types of devices, the Royal Reels website utilizes responsive design principles, guaranteeing optimal functionality for both desktop and mobile users.
    Royal Reels Casino excels in user experience thanks to its intuitive design and state-of-the-art interface.
    Our customer service team is available through numerous channels, ensuring that
    any questions or issues are immediately addressed. Double the fun with our exclusive game selection

  5. Mittlerweile bieten viele Casinos diese Boni in Form von Paketen über mehrere Einzahlungen hinweg – oftmals in Kombination mit Freispielen. Doch es
    gibt auch eine Menge erfahrener Amateur- und Profispieler, die mit hohen Einsätzen spielen. Für neue Spieler gibt es einen Willkommensbonus bis
    100€ plus 50 Freispiele ab 10€ Mindesteinzahlung.
    Bei unseren Jokerstar Erfahrungen konnten wir zusätzlich 25 Freispiele für bekannte Slots wie Book of Dead aktivieren. Bei Jokerstar sticht das Willkommenspaket direkt hervor, denn
    neue Spieler erhalten einen 200% Bonus bis zu 100€ und 200 Freispiele.

    Dazu gibt es zusätzlich 50 Freispiele, allerdings mussten wir die passenden Bonus Codes nutzen, damit es mit der Freischaltung auch klappen konnte.
    Nach unserer ersten Anmeldung bei DrückGlück konnten wir uns dank der übersichtlichen Webseite sehr schnell zurechtfinden.
    Dabei testen wir neben dem Echtgeld Bonus auch Aspekte wie das Design, die Spielauswahl, Optionen für die Ein- und Auszahlung sowie die generelle Sicherheit.
    Wir haben einen Online Casino Test entwickelt, um die Spreu
    vom Weizen zu trennen und unter allen Anbietern die besten Online Casinos zu ermitteln.
    Wir haben die besten Online Casinos getestet und für euch
    eine Liste der Top-Anbieter im deutschsprachigen Raum zusammengestellt.
    Der TopsRank Score zeigt die durchschnittliche Bewertung, die von unseren führenden Bewertern für jeden Glücksspielanbieter vergeben wird.
    Nur mit dieser GGL Lizenz dürfen die Casinos ihre Spiele unter Beachtung der Vorgaben aus dem Glücksspielstaatsvertrag 2021 anbieten.

    References:
    https://online-spielhallen.de/joo-casino-aktionscode-ihr-schlussel-zu-exklusiven-vorteilen/

  6. Bonusgeld fließt in die Bonus-Wallet, wenn Sie Slots
    spielen. Sie können Ihre Freispiele innerhalb von 24 Stunden nach der Anmeldung erhalten, indem Sie eine Einzahlung von €20 oder mehr tätigen und
    den Aktionscode in die Kasse eingeben. 5‑Walzenabenteuer fügen den einfachen 3‑Walzenspielen Funktionen wie Walking Wilds und
    Symbolsammlung hinzu. Dadurch bleibt das Casino sicher und übersichtlich, ohne dass es für Sie schwieriger wird, zu
    spielen.
    Die Lobby ist leicht zu umgehen, da sie Kategorien, eine
    Suche nach Titel und Filter nach Anbieter oder Funktion bietet.

    Windows-, macOS- und Android-Tablets können alle die
    Browserversion verwenden. Eine kleine App namens Dendera
    Casino bietet alles, was Sie brauchen.
    Bevor du mit dem Spielen beginnst, nimm dir
    einen Moment Zeit, um unsere Bonusregeln zu überprüfen, um eine reibungslose und angenehme Spielsitzung zu gewährleisten. Unser Freispiele-Bonus ist eine großartige Möglichkeit, neue Spielautomaten auszuprobieren und groß zu gewinnen.
    Die spezifischen Bedingungen für jeden Reload-Bonus variieren, also überprüfen Sie unsere Aktionsseite für die neuesten Angebote.

    Die Umsatzanforderungen können je nach Markt variieren, also überprüfen Sie die
    Allgemeinen Geschäftsbedingungen für weitere Informationen.

    References:
    https://online-spielhallen.de/monro-casino-deutschland-ihre-anlaufstelle-fur-online-glucksspiel/

  7. Wir bieten Ihnen Tausende kostenlose Slots mit über 80 Themen,
    die von den weltweit führenden Entwicklern von Online-Slot-Software entwickelt wurden. Social Casino Spiele
    dienen der reinen Unterhaltung und haben keinen Einfluss auf mögliche künftige Erfolge bei Glücksspielen mit Geldeinsatz.
    Kostenlos spielen ist auch eine Frage der persönlichen Freiheit, auf die wir alle Wert legen.
    Angeboten von so ziemlich jedem Software-Entwickler
    auf dem Markt, findest du hier die führenden Online-Casino-Seiten mit kostenlosem Übungsmodus.
    Wirf einen Blick auf unsere FAQs und sieh, warum kostenlose Online Casino Spiele so verlockend und nützlich
    sind. In vielen Fällen geben dir die Online-Casinos somit gewissermaßen eine unendliche Menge an kostenlosem Guthaben, mit denen du ein Casino Spiel kostenlos üben kannst.
    Schaue dir die verschiedenen Möglichkeiten zum kostenlosen Üben von Online Casino Spielen an, die auf dem Markt angeboten werden, um
    zu sehen, worauf bei den jeweiligen Spielen der Fokus liegt.

    Bei der überwiegenden Mehrheit der Spiele handelt es sich
    jedoch um Slotspiele. Sie müssen sich hierzu lediglich anmelden und (wahrscheinlich) auch eine Echtgeldeinzahlung tätigen. Kostenlose Casinospiele sind eine
    ausgezeichnete (und vor allem sichere) Möglichkeit, neue
    oder unbekannte Spiele auszuprobieren und dabei ein bisschen Spaß zu haben, ohne den Druck zu
    fühlen, eventuell Geld zu verlieren.

    References:
    https://online-spielhallen.de/bwin-casino-promo-code-maximieren-sie-ihr-spielerlebnis/

  8. Hi (does anybody read that?), I don’t get the configureation right, no matter what I do. Somehow I don’t get the IP Address (MAC aswell not) displayed.

    • Hello, Can you tell us what is absolutely wrong? I checked the powershell script and I agree with you, some characters have disappeard. I pasted back the script, it should be ok now. Do not hesitate to feedback me on this.
      Jérémy

      • Sorry for barking like that, I’m trying to get it work and I’m kinda in a hurry. It works now, but for some reason when I click on “open file location” of desktopinfo.exe process it opens the network location (the source path) instead of the local disc location created by the script. Looks like it still runs from the network.

        • Yea it runs from the local path now. I also use the english.ini for language corrections for my language so I modified your script (for my personal use only) to copy also english.ini and it works flawlessly. Thank you very much

        • Oh one more thing. After the first run of the script I deleted “desktopinfo.exe” and let ini files remain in the local folder and run the script. It threw an error. I think that the script should copy the exe file if it’s missing.

        • Very nice 🙂 looks like it is finished.

          I’m trying to make it so the script copies it to the %USERPROFILE%\Appdata\local\temp but even with powershell variable $ENV:UserProfile so far no luck.

  9. Hi, when I try to run the script on my DC it doesn’t run because the script is “not digitally signed. You cannot run this script on the current system”

    How can we fix that?

LAISSER UN COMMENTAIRE

Please enter your comment!
Please enter your name here