+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Windows Thread, BGInfo via VBS startup script? in Technical; Got bored with fighting BGInfo in the end and did the logon background with a scripted reg hack and copying ...
  1. #16
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66
    Got bored with fighting BGInfo in the end and did the logon background with a scripted reg hack and copying the bitmap over... can live with doing it manually for that one.

  2. #17

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Quote Originally Posted by gshaw View Post
    Hmmmm I wonder if that's it... maniac what version are you running exactly? Any chance of posting it up so I can try the older one?

    Just checked, got v4.14 on one network, v4.12 on the other (that version isn't working via VBS on startup at the moment) and the website shows a v4.15 as the latest one

    If not I'll leave BGInfo and just use a reg hack pointing to BMP files I create manually
    Actually funny enough it's 4.15 I'm using, it must have been out for a while as I downloaded it quite a while back so I kinda assumed it would be an older version.

    Mike.

  3. #18

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    ::ho hum::

    Re. my mysteriously slow BGInfo times it was obvious really.

    Screamingly, screamingly obvious.

    As usual, if there's no sane reason for [some behaviour] then it's:

    A/V interfering!

  4. #19
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,650
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66
    Quote Originally Posted by PiqueABoo View Post
    ::ho hum::

    Re. my mysteriously slow BGInfo times it was obvious really.

    Screamingly, screamingly obvious.

    As usual, if there's no sane reason for [some behaviour] then it's:

    A/V interfering!
    Haha welcome to my world... AV is messing up my Computer Settings loading times but no fix as yet

  5. #20

    Join Date
    Jul 2012
    Location
    United States
    Posts
    1
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I know this is an old thread, but we just ran into this issue at our company. Just wanted to post what we saw and the solution we implemented.

    For our company, the issue was with the WScript.Shell Run method. This method has a syntax of WScript.Shell.Run (strCommand, [intWindowStyle], [bWaitOnReturn]). In our environment we were, originally, specifying False for bWaitOnReturn (and it worked). At some point, this stopped working. When we changed bWaitOnReturn to True, it started working as expected.

    Keep in-mind, that in the code mentioned in the original post, no bWaitOnReturn parameter is provided, which is the same as stating False.

    In our environment, I believe a Group Policy Object (GPO) changed that also changed the functionality (possibly Synchronous vs Asynchronous execution); but I have not verified this.

    I hope this helps others experiencing this same issue.

    Also, adding a WScript.Shell.Run command for %WinDir%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters will allow the logon screen to update after execution of BGInfo. Be sure to use the same WScript.Shell.Run method format.
    Last edited by MyITGuy; 18th July 2012 at 03:04 AM. Reason: Grammar

  6. Thanks to MyITGuy from:

    gshaw (18th July 2012)

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VBS startup scripts won't run
    By GoldenWonder in forum Windows
    Replies: 2
    Last Post: 10th September 2009, 10:38 PM
  2. Startup Script
    By Chuckster in forum Windows
    Replies: 5
    Last Post: 26th February 2009, 12:53 PM
  3. Sub within a sub - VBS Script
    By FN-GM in forum Scripts
    Replies: 5
    Last Post: 18th May 2008, 06:30 PM
  4. BGInfo in logon script example?
    By ninjabeaver in forum How do you do....it?
    Replies: 16
    Last Post: 24th August 2007, 12:49 PM
  5. RM CC3 Startup Script
    By randle in forum Windows
    Replies: 4
    Last Post: 30th July 2007, 02:56 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •