Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 7 start up script

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
Hi,

On our network we have a group policy set up to run a vbscript that connects to a SQL database and posts some information about the PC (mac address, hostname, make, model etc.)

The group policy is set at the computer configuration level and runs at start up not at logon.

On our XP machines it runs fine but on the windows 7 machine it does not. We know GPO is working as other scripts are running (although the only difference is they are set at the user config level to run at logon).

If I run the script manually after the PC has logged in it runs fine without any problems so I know the code is OK.

The only articles I have been able to find after searching for "windows 7 start up vbscript" seem to refer to people having problems with logon scripts not start up scripts.

Has anyone had similar problems - I would be very grateful for any help.

Thanks very much

Ed
 
I enabled logging on the machine in question and found the following:

Code:
GPSVC(39c.ce8) 12:58:10:343 ProcessGPO:  GPO passes the filter check.
GPSVC(39c.ce8) 12:58:10:343 ProcessGPO:  Found functionality version of:  2
GPSVC(39c.ce8) 12:58:10:343 ProcessGPO:  Found file system path of:  <\\bb01.com\sysvol\bb01.com\Policies\{7B50FC35-D8DE-4B20-845A-5829D51254BE}>
GPSVC(39c.ce8) 12:58:10:359 ProcessGPO:  Found common name of:  <{7B50FC35-D8DE-4B20-845A-5829D51254BE}>
GPSVC(39c.ce8) 12:58:10:359 ProcessGPO:  Found display name of:  <Win7_Log_Switch_On_GPO>
GPSVC(39c.ce8) 12:58:10:359 ProcessGPO:  Found user version of:  GPC is 1, GPT is 1
GPSVC(39c.ce8) 12:58:10:359 ProcessGPO:  Found flags of:  1
GPSVC(39c.ce8) 12:58:10:359 ProcessGPO:  No client-side extensions for this object.
GPSVC(39c.ce8) 12:58:10:374 ProcessGPO:  GPO Win7_Log_Switch_On_GPO is disabled.  It will be skipped.

What does this mean?

Thanks

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top