BGinfo through GPO

Soldato
Joined
28 Sep 2008
Posts
14,184
Location
Britain
I've googled this as I'd like to get it running properly now.

I've put BGInfo.exe and bginfo.cfg into the %logonserver%\netlogon\LogonScripts\BGInfo and I've got a bat file called bginfo in the %logonserver%\netlogon folder.

If I double click the bat file, it runs and the bginfo is loaded.

I've shoved this into a GPO under "user config", policies, windows settings, scripts, logon/logoff as a logon script (i've browsed to the bat file location).

But it never seems to work.

Here's the bat file too:

Code:
%logonserver%\netlogon\LogonScripts\BGInfo\bginfo.exe %logonserver%\netlogon\LogonScripts\BGInfo\bginfo.bgi /timer:0 /silent

Any ideas?
 
Also, don't put the files in %logonserver%, put them in sysvol

\\domainname.tld\sysvol\domainname.tld\

That way it won't matter which logon server is up/active.

EDIT: Great minds eh sp00n ;)
 
ok, but if I go to \\mydomain.ltd\sysvol\scripts

I see them in there anyway (as per logonserver). Do I just need to ammend the bat file then? :)
 
Hmm, I reckon it's a permission issue. When I run the bat file it keeps saying Run or Cancel (with cancel highlighted). If I run the bat as Run As Admin it just prompts the EULA.

Is there a way to counteract the Run/Cancel window?

capturezm.png
 
Hmm, I reckon it's a permission issue. When I run the bat file it keeps saying Run or Cancel (with cancel highlighted). If I run the bat as Run As Admin it just prompts the EULA.

Is there a way to counteract the Run/Cancel window?

http://img710.imageshack.us/img710/8334/capturezm.png
This is gonna sound daft, but have you tried running it from the command prompt with a '/?' on the end to see if any the command switches there will help you out....?
 
Yeah, tried. Strange things are a foot. If I put it on to the server I RDP to its fine, it will stay there for ever. If I rdp from that server to another, it then disappears

Stupid
 
we have laptop users, so i send it to the local drive then put a shortcut in the startup folder. it's sloppy but I was having weird issues and i wanted to get it rolled out so it'll do for the time being.

my startup icon reads: "C:\Logon\Bginfo.exe C:\Logon\config.bgi /timer:0 /nolicprompt"
 
Hmm, I reckon it's a permission issue. When I run the bat file it keeps saying Run or Cancel (with cancel highlighted). If I run the bat as Run As Admin it just prompts the EULA.

Is there a way to counteract the Run/Cancel window?

capturezm.png

GPO

gpedit.msc >
User Configuration >
Administrative Templates >
Windows Components >
Attachment Manager >

In the right pane, double click on 'Inclusion list for moderate risk file types' >
Enabled >
Under 'Inclusion list for moderate risk file types' >
*.bat* > OK

Do the same for 'Inclusion list for low risk file types'.
 
Ok lol, what the hell.

A Windows 7 client I've just logged on to has the wallpaper, even though it's not even in the applicable GP!

Oddage!
 
Back
Top Bottom