GPO Computer startup script fails to run. (EventID 1130 Error code 267)
Hello All, 

I'm trying to apply the following computer startup script

I've set up the following powershell script to disable NetBIOS

$adapters=(gwmi win32_networkadapterconfiguration)
Foreach ($adapter in $adapters){
  Write-Host $adapter
  $adapter.settcpipnetbios(2)
  }



The script works fine locally. I added a schedule task under the SYSTEM account and it ran with no problems. It only fails in the computer startup via GPO
This is the error I'm receiving via event viewer

 EventData 

  SupportInfo1 900986720 
  SupportInfo2 90 
  ErrorCode 267 
  ErrorDescription The directory name is invalid.  
  ScriptType 0 
  GPODisplayName Computer Starup Script - Disable NetBIOS over TCP/IP 
  GPOFileSystemPath \\HERP\SysVol\DERP\Policies\{GUID}\Machine 
  GPOScriptCommandString Disable_NetBIOS_over_TCPIP.ps1 


Any help would be appreciated.
extra info. I'm testing this GPO on a windows 8.1 machine. This script works fine on a server 2008, server 2012, and server 2012 R2
June 5th, 2015 2:52pm

I see that you have created another thread here: http://community.spiceworks.com/topic/988490-gpo-computer-startup-script-fails-to-run-eventid-1130-error-code-267

If the recommendations still do not fix your problem then please update the thread here.

Free Windows Admin Tool Kit Click here and download it now
June 6th, 2015 3:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics