none
Windows Server 2012R2 Computer Startup Script GPO not applying

    Question

  • Hello Experts,

    I'm having an issue where my computer startup script(bat or VBS) is not applying.

    I cannot use logon script 

    I investigated throughout and see no answer except that Local system account does not permission to my sysvol share for the computer startup GPO.

    while i do have other alternative for example (scheduled task to run the script), but am just anticipating for any future use of startup script.

    Any help would be much appreciated.

    Thnx 

    Tuesday, May 19, 2015 11:52 AM

Answers

  • Ok, are you sure the policy is being applied? GPresult

    Also you can try and download psexec and try to run the script in system context to see if it works as system which is what a startup script will do

    https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

    Monday, May 25, 2015 11:49 AM
  • Hello All,

    Actually, I managed to find the issue. Infact all was done according to standards (Since i'm not too new with GPO & AD). The issue was only with Windows 8/8.1 machines.

    Startup script would apply only on machine 'Restart' and strangely not on normal 'Shutdown & Start'.

    This is due to 'Fast-Start' option being enabled by default on Windows 8/8.1. Check out link: https://technet.microsoft.com/en-us/library/jj573586.aspx

    This in itself is not an issue but can be misleading and impractical for Windows 8/8.1 PCs having 'Restart' option disabled from power options.

    Hope this helps. 

    • Marked as answer by Siddhartd Thursday, June 4, 2015 10:45 AM
    Thursday, June 4, 2015 10:45 AM

All replies

  • does the script run manually? 

    is it user or computer policy?

    can the location be browsed to?

    Tuesday, May 19, 2015 8:36 PM
  • Hello Alex,

    Thnx for the reply.

    Script runs manually (but as administrator), that's why I made it run as Startup (computer policy) script instead of logon script since std. users are not admins.

    Location is normal share of GPO in sysvol of DC and is accessible from standard user profile (but not from non-domain account)

    It's a VBS script btw which is used with ManageEngine Asset Explorer to scan workstations.


    Wednesday, May 20, 2015 8:14 AM
  • I have seen many start up scripts fail as they are not configured correctly

    Did you click show files then paste the script into that GPO location

    then Add\browse and select the script you just pasted ?

    this is a logon script but explains where im going

    https://www.petri.com/setting-up-logon-script-through-gpo-windows-server-2008




    Wednesday, May 20, 2015 3:37 PM
  • Hi,

    Yes Alex, exactly...that's the way it is configured but still no luck.

    Monday, May 25, 2015 11:10 AM
  • Ok, are you sure the policy is being applied? GPresult

    Also you can try and download psexec and try to run the script in system context to see if it works as system which is what a startup script will do

    https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

    Monday, May 25, 2015 11:49 AM
  • Hello All,

    Actually, I managed to find the issue. Infact all was done according to standards (Since i'm not too new with GPO & AD). The issue was only with Windows 8/8.1 machines.

    Startup script would apply only on machine 'Restart' and strangely not on normal 'Shutdown & Start'.

    This is due to 'Fast-Start' option being enabled by default on Windows 8/8.1. Check out link: https://technet.microsoft.com/en-us/library/jj573586.aspx

    This in itself is not an issue but can be misleading and impractical for Windows 8/8.1 PCs having 'Restart' option disabled from power options.

    Hope this helps. 

    • Marked as answer by Siddhartd Thursday, June 4, 2015 10:45 AM
    Thursday, June 4, 2015 10:45 AM