Page 2 of 2 <12
Topic Options
#204131 - 2012-01-27 06:25 PM Re: BGinfo display a part of the Hostname [Re: ShaneEP]
arjanv Offline
Fresh Scripter

Registered: 2010-03-11
Posts: 49
Loc: netherlands
hmm, good point.....i'll try that.

also in my batch i'll run bginfo directly from the netlogon share
 Code:
If Exist %WINDIR%\BGInfo.bmp Del %WINDIR%\BGInfo.bmp
\\server\netlogon\bginfo\Bginfo.exe /timer:0 /silent /NOLICPROMPT \\server\NetLogon\bginfo\hostname.bgi



and my kix is this:
 Code:
$=SetOption("Explicit","ON")
Dim $sLocalDir	$sLocalDir="C:\BGInfo"

If Not Exist($sLocalDir) MD $sLocalDir EndIf
If Not Exist($sLocalDir+"\bginfo.exe") COPY @LSERVER+"\NETLOGON\bginfo\bginfo.exe" $sLocalDir EndIf
If Not Exist($sLocalDir+"\custom.bgi") COPY @LSERVER+"\NETLOGON\bginfo\custom.bgi" $sLocalDir EndIf

Run $sLocalDir+"\Bginfo.exe "+$sLocalDir+"\custom.bgi /timer:0 /silent /NOLICPROMPT /LOG:"+%TEMP%+"\bginfo.log"


to run bginfo directly from the server with kix is this the way?
 Code:
If Exist %WINDIR%\BGInfo.bmp Del %WINDIR%\BGInfo.bmp
RUN \\server\netlogon\bginfo\Bginfo.exe /timer:0 /silent /NOLICPROMPT \\server\NetLogon\bginfo\hostname.bgi


thanks all for help.

Top
#204132 - 2012-01-27 06:49 PM Re: BGinfo display a part of the Hostname [Re: arjanv]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
FYI - \\server\netlogon is not a good idea.. \\MyDomain\netlogon is preferred.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#204133 - 2012-01-27 07:31 PM Re: BGinfo display a part of the Hostname [Re: Glenn Barnas]
arjanv Offline
Fresh Scripter

Registered: 2010-03-11
Posts: 49
Loc: netherlands
 Originally Posted By: Glenn Barnas
FYI - \\server\netlogon is not a good idea.. \\MyDomain\netlogon is preferred.

Glenn


indeed, thats what i meant by server. sorry

Top
#204134 - 2012-01-27 07:50 PM Re: BGinfo display a part of the Hostname [Re: arjanv]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
If you wanted to run it from your netlogon, it would be something like this.

 Code:
If Exist("%WINDIR%\BGInfo.bmp")
   Del "%WINDIR%\BGInfo.bmp"
Endif

Shell "\\server\netlogon\bginfo\Bginfo.exe /timer:0 /silent /NOLICPROMPT \\server\NetLogon\bginfo\hostname.bgi"

Top
#204137 - 2012-01-30 11:07 AM Re: BGinfo display a part of the Hostname [Re: ShaneEP]
arjanv Offline
Fresh Scripter

Registered: 2010-03-11
Posts: 49
Loc: netherlands
thanks

now both ways works now.

again all of you! Thanks

Top
#204212 - 2012-02-06 11:46 AM Re: BGinfo display a part of the Hostname [Re: arjanv]
arjanv Offline
Fresh Scripter

Registered: 2010-03-11
Posts: 49
Loc: netherlands
hi,

it works, but it takes about 3~5 minuten to load the policy.

when i disable this computerlogon policy the computer boots normal.

Top
#204214 - 2012-02-06 02:20 PM Re: BGinfo display a part of the Hostname [Re: arjanv]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
3 to 5 minutes is not normal.

Can you post the code? Can you also zip the bginfo and text file you use and attach it to the post?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#204285 - 2012-02-13 11:24 AM Re: BGinfo display a part of the Hostname [Re: Mart]
arjanv Offline
Fresh Scripter

Registered: 2010-03-11
Posts: 49
Loc: netherlands
works now.

problem was something else.

Top
#206610 - 2013-01-31 08:15 PM Re: BGinfo display a part of the Hostname [Re: arjanv]
Robdutoit Offline
Hey THIS is FUN
***

Registered: 2012-03-27
Posts: 363
Loc: London, England
It certainly pays to browse forums that are currently being viewed. Had no idea that you could modify what BGinfo displays and I noticed this forum in the being viewed list. I use bginfo and it would be great to tweak some of the display slightly. Great forum. Thanks guys.
Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 242 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.418 seconds in which 0.016 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org