Solved

Backinfo.exe deployment

Posted on 2014-02-19
1
3,197 Views
Last Modified: 2014-02-26
I have been asked to deploy backinfo.exe (similiar to bginfo.exe) with the relevant backinfo.ini file containing all the relevant settings to a group of devices using GPO.

I am looking at doing this as a GPO startup script.

Has anyone deployed backinfo as a startup script and if so can you please give me the script you used for the same?
0
Comment
Question by:tedcbe
1 Comment
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 500 total points
Comment Utility
I guess you can just use a BAT-file to copy "backinfo.exe" and "backinfo.ini" to a folder on the client, and then start the exe.

example.bat:
copy "\\srv\share\sourcedir\backinfo.exe" "%TEMP%\backinfo.exe"
copy "\\srv\share\sourcedir\backinfo.ini" "%TEMP%\backinfo.ini"
cd "%TEMP%"
start "%TEMP%\backinfo.exe"

Open in new window


And you have to modify the backinfo.ini to suit your own needs:
;; Version: 2.1.331.0
;; This INI file should use the following format
;;
;; [General]
;; BackgroundColor = <COLORREF value>       ; The background color to use (default = 0 (black))
;; AutoBackground = [0 | 1]                 ; Use background color of current desktop (default = 0)
;; BackgroundBitmap = <path to BMP file>    ; Overrides AutoBackground and BackgroundColor values. Loads background bitmap from BMP file
;; XOffset = <horizontal offset in pixels>  ; Horizontal offest of the entire text block from the bitmap's center. Can be negative. Default = 0
;; YOffset = <vertical offset in pixels>    ; Vertical offest of the entire text block from the bitmap's center. Can be negative. Default = 0
;; Output = <file name>                     ; Name of output bitmap file (default = "", use popup message)
;; UpdateDesktop = [0 | 1]                  ; Update background desktop bitmap (default = 0)
;; ForceDesktopCenter = [0 | 1]             ; Force the desktop to display the bitmap as cenetered (instead of tiled / streched). Default = 1
;;
;; LineSpacing = <value>                    ; Line spacing (default = 3)
;; SuppressErrors = [0 | 1]                 ; If 1, errors are NOT displayed (default = 0)
;;
;; [LineN]                                  ; Text settings for line N, where N between [1..20]
;; Type = [CompName | UserName | SysVer  |  ; Type of information to display on the line
;;         SysInfo  | NetInfo  | FileVer | 
;;         RegValue | FreeText | 
;;         UpdateTime | Unused] 
;;                                          ; CompName - Computer name
;;                                          ; UserName - User name
;;                                          ; SysVer   - Operating system version
;;                                          ; SysInfo  - Hardware information
;;                                          ; NetInfo  - Network information
;;                                          ; FileVer  - Version of a file specified in 'FileName' option
;;                                          ; RegValue - Registry string value. 
;;                                          ; Reg root from 'RegRoot' (e.g. HKLM)
;;                                          ; Reg path from 'RegPath' (e.g. SOFTWARE\Microsoft\Windows NT\CurrentVersion)
;;                                          ; Reg value from 'RegValue' (e.g. CurrentType)
;;                                          ; Reg title from 'RegTitle' (e.g. "The value of X is")
;;                                          ; FreeText - Text specified in 'Text' will be displayed as is
;;                                          ; UpdateTime - The date and time the bitmap was created
;;                                          ; Unused   - Line will not be displayed
;;
;; Font = <Face name>                       ; Font name (default = "Arial")
;; Size = <Font size>                       ; Font size (default = 22)
;; Color = <COLORREF value>                 ; Font color (default = WHITE)
;; Bold = [0 | 1]                           ; Font boldness (default = 0)
;; Italic = [0 | 1]                         ; Font italicness (default = 0)
;; Alignment = [Left | Right | Center]      ; Font alignment (default = Left)
;;
;; ShadowX = <X offset value>               ; Shadow X offset (positive only, 0 = No X shadow. Default = 0)
;; ShadowY = <Y offset value>               ; Shadow Y offset (positive only, 0 = No Y shadow. Default = 0)
;; ShadowColor = <COLORREF value>           ; Shadow Color (default = 0 (black))
;;
;; RegRoot = [HKLM | HKCU]                  ; Registry root to use for 'Type' = 'RegValue'
;; RegPath = <Registry path to read from>   ; Registry path to use for 'Type' = 'RegValue'
;; RegValue = <Registry value to read from> ; Registry value to use for 'Type' = 'RegValue'. Must be of type REG_SZ
;; RegTitle = <Display title of read value> ; Registry value to use for 'Type' = 'RegValue'
;;
;; Text = <free text to display>            ; Free text to display. Used if 'Type' = 'FreeText'
;;
;; FilePath = <full path to file>           ; Path to file to display version for. Used if 'Type' = 'FileVer'
;; FileName = <display name of file>        ; Display name of file specified in 'FilePath'. Used if 'Type' = 'FileVer'
;;

[General]
BackgroundColor = 0
AutoBackground = 1
XOffset = 0
YOffset = 0
Output = %temp%\backinfo.bmp
UpdateDesktop = 1
LineSpacing = 2
ForceDesktopCenter = 1

[Line1]
Font = Trebuchet MS
Size = 42
Color = 16777215
Bold = 1
Italic = 0
Alignment = Center
ShadowX = 2
ShadowY = 2
ShadowColor = 4210752
Type = CompName

[Line2]
Font = Trebuchet MS
Size = 20
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = UserName

[Line3]
Font = Trebuchet MS
Size = 20
Color = 10526880
Bold = 1
Italic = 0
Alignment = Center
ShadowX = 1
ShadowY = 1
ShadowColor = 4210752
Type = SysVer

[Line4]
Font = Trebuchet MS
Size = 20
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = SysInfo

[Line5]
Font = Trebuchet MS
Size = 20
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = NetInfo

[Line6]
Font = Wingdings
Size = 20
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = FreeText
Text = v

[Line7]
Font = Trebuchet MS
Size = 36
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = FreeText
Text = Windows Server System Reference Architecture

[Line8]
Font = Trebuchet MS
Size = 24
Color = 10526880
Bold = 0
Italic = 0
Alignment = Center
ShadowX = 0
ShadowY = 0
ShadowColor = 4210752
Type = FreeText
Text = http://www.microsoft.com/wssra

;; 
;; SAMPLE - how to display free text lines
;;
;  [Line6]
;  Font = Trebuchet MS
;  Size = 20
;  Color = 10526880
;  Bold = 0
;  Italic = 0
;  Alignment = Center
;  ShadowX = 0
;  ShadowY = 0
;  ShadowColor = 4210752
;  Type = FreeText
;  Text = System path is %windir%
;;; 
;; SAMPLE - how to display file version
;;
;  [Line7]
;  Font = Trebuchet MS
;  Size = 20
;  Color = 10526880
;  Bold = 0
;  Italic = 0
;  Alignment = Center
;  ShadowX = 0
;  ShadowY = 0
;  ShadowColor = 4210752
;  Type = FileVer
;  FilePath = %ProgramFiles%\backinfo\backinfo.exe
;  FileName = backinfo.exe
;; 
;; SAMPLE - how to display registry value
;;
;  [Line8]
;  Font = Trebuchet MS
;  Size = 20
;  Color = 10526880
;  Bold = 0
;  Italic = 0
;  Alignment = Center
;  ShadowX = 0
;  ShadowY = 0
;  ShadowColor = 4210752
;  Type = RegValue
;  RegRoot = HKLM
;  RegPath = SOFTWARE\Microsoft\Windows NT\CurrentVersion
;  RegValue = CurrentType
;  RegTitle = OS type

Open in new window

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now