What I’m looking for is a VBscript that I can use as a logon script in Group Policy to run BGinfo from Sysinternals. I have a batch script setup that works, but we block the CMD prompt for users in group policy, so the script doesn’t run. I have a VBscript that works to open BGinfo.exe, but I don’t know how to get the switches that you would use in CMD to work in VBscript. Here is what my VBscript looks like:
Set objShell = CreateObject(“WScript.Shell”)
objShell.Run “C:\bginfo.exe”
My batch script that works is:
@ECHO OFF
cd\
%LOCALDIR%\Bginfo.exe %LOCALDIR%\bgconfig.bgi /timer:0 /nolicprompt
@ECHO OFF
exit
I hope what I need is clear in my description, if not I’ll explain further.