Solved

Backinfo.exe deployment

Posted on 2014-02-19
1
3,272 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
ID: 39874896
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to update exe applicatio from internet ? 6 66
Base1 Encode/Decode 3 67
Basic Java Case or If-Else statement... 3 43
Bulk Reorder File Names 4 53
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

948 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

22 Experts available now in Live!

Get 1:1 Help Now