none
Startup scripts not running and gpt.ini inaccessible on only Windows 10 clients

    Question

  • I have a peculiar problem. My brand new Windows 10 clean installs does not run our domain startup scripts.

    Everything runs fine in Windows 7 with no errors in the event viewer.

    I've turned of the 5 min execution delay for startup/logon scripts and tuned everything I can find regarding slow network connections etc. I've also health checked AD and weeded out any bugs there. The 2 domain controllers have the active network card listed first in bindings.

    Everything works fine on all Windows 7 clients, but my Win 10 clients fail. The strange part is that it is only the GPO containing the startup scripts that fail.

    Both my scripts fail with error: unable to find file

    The gpt.ini is listed as inaccesible which is strange as all the Win 7 clients read it just fine.
    I've tried making a fresh GPO with just the 2 scripts, which also fails with the same errors.
    This could be related to Windows 10 acting differently than Win 7 when reading GPOs etc, but I a at an impasse here.

    Anyone have some input?

    Our domain is Windows 2008 R2 Replicating with DFS. The domain has been migrated since Windows NT 4.0

    Replication was FRS so I migrated it to DFRS and debugged replication which had errors, but nothing helped. I will submit the errors from the event viewer in the next post.


    • Edited by ArildAS Tuesday, October 27, 2015 12:52 PM More info
    Monday, October 26, 2015 12:16 PM

All replies

  • Remember that the gpt.ini shows as 'Network access is denied', and the startup script is 'The system cannot find the file specified'.
    Both work fine in Windows 7.

    The processing of Group Policy failed. Windows attempted to read the file \\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:
    a) Name Resolution/Network Connectivity to the current domain controller.
    b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
    c) The Distributed File System (DFS) client has been disabled.


    Log Name:      System
    Source:        Microsoft-Windows-GroupPolicy
    Date:          27.10.2015 13.30.24
    Event ID:      1058
    Task Category: None
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      VSWS10.mydomain.no
    Description:
    The processing of Group Policy failed. Windows attempted to read the file \\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:
    a) Name Resolution/Network Connectivity to the current domain controller.
    b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
    c) The Distributed File System (DFS) client has been disabled.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-GroupPolicy" Guid="{AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}" />
        <EventID>1058</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>1</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2015-10-27T12:30:24.300739300Z" />
        <EventRecordID>2071</EventRecordID>
        <Correlation ActivityID="{917E5214-F6C8-4F69-B238-9B74CE9DEB52}" />
        <Execution ProcessID="996" ThreadID="1112" />
        <Channel>System</Channel>
        <Computer>VSWS10.mydomain.no</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="SupportInfo1">4</Data>
        <Data Name="SupportInfo2">912</Data>
        <Data Name="ProcessingMode">1</Data>
        <Data Name="ProcessingTimeInMilliseconds">1031</Data>
        <Data Name="ErrorCode">65</Data>
        <Data Name="ErrorDescription">Network access is denied. </Data>
        <Data Name="DCName">\\VSNTS10.mydomain.no</Data>
        <Data Name="GPOCNName">cn={ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC},cn=policies,cn=system,DC=mydomain,DC=no</Data>
        <Data Name="FilePath">\\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\gpt.ini</Data>
      </EventData>
    </Event>






    Start-up script failed.
        GPO Name: mydomainArbeidsstasjoner2 - Computer
        GPO File System Path: \\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\Machine
        Script Name: mydomainScripts\Harddisk_V2.bat


    Log Name:      System
    Source:        Microsoft-Windows-GroupPolicy
    Date:          27.10.2015 13.30.24
    Event ID:      1130
    Task Category: None
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      VSWS10.mydomain.no
    Description:
    Start-up script failed.
        GPO Name: mydomainArbeidsstasjoner2 - Computer
        GPO File System Path: \\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\Machine
        Script Name: mydomainScripts\Harddisk_V2.bat
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-GroupPolicy" Guid="{AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}" />
        <EventID>1130</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2015-10-27T12:30:24.365209200Z" />
        <EventRecordID>2072</EventRecordID>
        <Correlation ActivityID="{917E5214-F6C8-4F69-B238-9B74CE9DEB52}" />
        <Execution ProcessID="996" ThreadID="1112" />
        <Channel>System</Channel>
        <Computer>VSWS10.mydomain.no</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="SupportInfo1">4226021176</Data>
        <Data Name="SupportInfo2">0</Data>
        <Data Name="ErrorCode">2</Data>
        <Data Name="ErrorDescription">The system cannot find the file specified. </Data>
        <Data Name="ScriptType">0</Data>
        <Data Name="GPODisplayName">mydomainArbeidsstasjoner2 - Computer</Data>
        <Data Name="GPOFileSystemPath">\\mydomain.no\sysvol\mydomain.no\Policies\{ADE4E5CE-3D26-47D4-B18C-B97E7EE816EC}\Machine</Data>
        <Data Name="GPOScriptCommandString">mydomainScripts\Harddisk_V2.bat</Data>
      </EventData>
    </Event>

    Tuesday, October 27, 2015 12:58 PM
  • Hm. As it tuns out, all I ha to do was turn off HiberbootEnabled.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled

    I set that to 0 and it worked fine (it seemed, but not so). Seems Microsoft is in such a rush to boot their computers that essential services can't be bothered with when using default settings.

    EDIT: Was a little fast there. Seems it worked on 1 computer setting it to 0. Need to investigate more.

    Tuesday, October 27, 2015 1:35 PM
  • HI. Did you manage to get it work ?

    I have exactly the same problem on all of my win10 pcs..

    Wednesday, December 30, 2015 8:23 AM