thisis1407
03-19-2011, 08:26 AM
Hi,buy win 7 generator key (http://www.windows-7-keys.net/),i've installed a script to launch bginfo by way of GPO. but it will not execute on startup of any machine.the script bginfo.cmd is here:::echo off:: If BGInfo exists inside of c:BGInfo launch itif exist C:BGInfoBGinfo.exe ( C:BGInfoBGinfo.exe %logonserver%NETLOGONLogonScriptsBGInfo.bgi /accepteula /timer:0 /log:"%temp%bginfo.log") else ( :: Create the programme folder and copy BGINfo.exe to the local disk mkdir C:BGinfo copy "%logonserver%NETLOGONLogonScriptsBGInfo.exe" C:BGInfoBGInfo.exe) :: Did we succeed? if exist C:BGInfoBGinfo.exe ( :: Yes,microsoft office Enterprise 2007 generator (http://www.windows-7-keys.net/office-2007-activation-key), so we launch BGInfo.exe from the local disk C:BGInfoBGinfo.exe %logonserver%NETLOGONLogonScriptsBGInfo.bgi /nolicprompt /timer:0 /Log:"%temp%BGInfo.Log" ) else ( :: No,windows 7 home premium x64 (http://www.windows-7-keys.net/), so we start BGInfo.exe from the server disk %logonserver%NETLOGONLogonScriptsBGInfo.exe %logonserver%NETLOGONLogonScriptsBGInfo.bgi /nolicprompt /timer:0 /Log:"%temp%BGInfo.Log"))I've edited gpedit.msc/computer config/windows settings/scripts/startup to point to the file at GP/Machine/scripts/starupit works on the server itself and updates correctly,genuine microsoft office 2010 code (http://www.windows-7-keys.net/office-2010-activation-key), but not on the workstations. all stations are win xp sp3if I run the cmd manually on the WS it runs just fine but not automatically during boot.also the bgifon.log file is not created anywhere... whats wrong with logging ?how do I get logging runnign and how do i get the .cmd to execute at boot of every machine ?cheerschris Edited by bubba - 24 January 2009 at 3:59am