+ Reply to Thread
Results 1 to 7 of 7

Thread: BGinfo problem

  1. Member
    Join Date
    May 2008
    Posts
    37

    Certifications
    MCSA 2003
    #1

    Default BGinfo problem

    Hi guys,

    At work we have set up a brand new server 2003 domain, and are now putting the finishing touches on it. However we are having a really strange / annoying issue with BGinfo.

    Basically it only works for the domain admin account, or for a user who has local admin right on their client machine.

    We have the GPO set correctly and have checked settings with another domain we manage. We have also checked the bginfo.vbs file and all is fine there ( it has to be because it works, albeit with admin rights).

    When logging onto a client machine with a normal user, the background doesnt display but when running GPresult, the policy is being applied so to speak. As soon as you grant local admin rights and log out and back in, it appears.

    We have never had this trouble before - Can anyone shed any light on this or anyone had this issue before?

    I would have thought this is to do with permissions somewhere but have checked. Ive even granted domain users access to the netlogon share and tried. My virtual machines on my laptop at home also do the same thing? HELP!

    cheers, Mipo
    Reply With Quote Quote  

  2. SS -->
  3. Self-Described Huguenot blargoe's Avatar
    Join Date
    Nov 2005
    Location
    NC
    Posts
    4,088

    Certifications
    VCAP5-DCA; VCP 3/4/5/6 (DCV); EMCSA:CLARiiON; Linux+; MCSE:M 2000/2003; MCSE:S 2000/2003; MCTS:Exch2007; Security+; A+; CCNA (expired)
    #2
    Do you have something else in place the blocks access to vbs files? What happens when you execute it manually under a normal user?
    IT guy since 12/00

    Recent: 3/22/2017 - Passed Microsoft 70-412; 2/11/2017 - Completed VCP6-DCV (passed 2V0-621)
    Working on: MCSA 2012 upgrade from 2003 (to heck with 2008!!), more Linux, AWS Solution Architect (Associate)
    Thinking about: VCP6-CMA, MCSA 2016, Python, VCAP6-DCD (for completing VCIX)
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    Mar 2007
    Posts
    12,308
    #3
    I take it you're calling bginfo from within the .vbs. What switches are you using? I believe some only work as an admin.

    Edit: It looks like the /all switch is what does it.
    Last edited by dynamik; 02-01-2009 at 02:10 PM.
    Reply With Quote Quote  

  5. Member
    Join Date
    May 2008
    Posts
    37

    Certifications
    MCSA 2003
    #4
    Hi Dynamik,

    Its weird how we have copied the below script from another domain, and it works fine on there. I havent got the /all switch, would i just pop it after the /silent?



    Set objShell = WScript.CreateObject("WScript.Shell")
    '-------- DEFINE THE PROGRAM FILE LOCATION ---------
    strExecuteFile = "\\mydomain.com\NETLOGON\bginfo.exe /TIMER:0 /NOLICPROMPT /SILENT"

    '-------- DEFINE THE CONFIGURATION FILE LOCATION ---------
    strConfigurationFile = ("\\mydomain.com\NETLOGON\background.bgi")

    '-------- RUN COMMAND ---------
    objShell.Exec strExecuteFile & " " & strConfigurationFile


    cheers,
    Reply With Quote Quote  

  6. Senior Member
    Join Date
    Mar 2007
    Posts
    12,308
    #5
    Sorry, I meant the /all is what causes the problems with non-admin users.

    Why don't you take off /silent and see if it gives you any clues as to what the problem is?
    Reply With Quote Quote  

  7. Member
    Join Date
    May 2008
    Posts
    37

    Certifications
    MCSA 2003
    #6
    Hi Dynamik,

    Ive taken the /silent off and get an interesting error message when logging in with a non admin user.

    "error creating the ouput bitmap file c:\windows\bginfo.bmp - access is denied. Please ensure the path exists and you have permission to write it"

    Any ideas how i can grant access to allow this on all the domain pcs in the organisation?

    cheers
    Reply With Quote Quote  

  8. Senior Member
    Join Date
    Mar 2007
    Posts
    12,308
    #7
    Yea, you can use group policy, but you probably don't want to give everyone write access to the system directory.

    Check out RT's script for ideas: BGINFO.exe
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks