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

11
301
1 Star2 Stars3 Stars4 Stars5 Stars (Aucun Vote)
Loading...

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) :

 

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 :)).

 

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.

Jérémy Lebon

Co-Fondateur de sys-Advisor.com, Ingénieur de production Informatique dans l’e-commerce mais passionné avant tout, je partage mon quotidien à travers ce site. #sysadmin #microsoft #vmware #tech #geek @sysadvisor

Contact Skype Enterprise : jeremy.lebon@sys-advisor.com

11 Commentaires

    • 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.

  1. 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