Solved

Windows 8.1 GPO for Scheduled Startup Task

Posted on 2014-07-29
16
1,420 Views
Last Modified: 2014-07-31
We use a program called Ninite to do updates of Java, Adobe, etc.  We have a domain GPO scheduled to run a .cmd file at startup.  this worked very smoothly on Win 7 Pro x32 and x64  We are completing a migration to Windows 8.1 and this startup is not working at all.  I can still run it manually if logged in as a domain or local admin but it will not run via GPO (tired gpupdate, etc.).  Our users cannot have local admin rights to the machine so please don't tell me to try that.  This was working (and is still working) in the Win 7 and Server 2008 R2 domain but does not work at all in Windows 8.1 and Server 2012 R2 land.
0
Comment
Question by:BradKopecky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 7
16 Comments
 
LVL 55

Expert Comment

by:McKnife
ID: 40228451
So This is a scheduled Task or a startup script?
Win8 is over optimized for startup performance and sometimes startup scripts do not run because the network is not initialized in time.
Scheduled tasks have no problems, at least not for our network.

There are two policies to try, will tell you later, right now on the phone.
0
 

Author Comment

by:BradKopecky
ID: 40228467
Scheduled task in the go is how we have it now
0
 
LVL 55

Accepted Solution

by:
McKnife earned 500 total points
ID: 40228572
"in the go"?
Policies: http://support.microsoft.com/kb/2421599 and http://technet.microsoft.com/en-us/magazine/gg486839.aspx acti´vate both (first set to 60)
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:BradKopecky
ID: 40229584
Sorry, the hassles of swype.  I meant GPO
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40229747
Ok, so the task trigger is really "at system startup"? That is a big difference to "at logon"
If so, what does the task history show you?
0
 

Author Comment

by:BradKopecky
ID: 40230482
The GPO establishes it as a scheduled task on the computer configuration with a timing of At Logon.  I have tired setting that with a timing of At System Startup but that did not yield a change.  The Events log does not show the GPO as failing and the GP modeling shows it running okay.  Part of the process is to write a log file of activity so we know it is not running since there is not a log entry (coupled with the fact that the updates are not happening).
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40230586
0
 

Author Comment

by:BradKopecky
ID: 40230602
Interesting.  The task does not appear in that listing at all.  Would that be a permission issue of some kind?
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40230612
No, it seems the task did not deploy at all. use the command
gpresult /h %temp%\results.html
at the client and afterwards check %temp%\results.html - does it appear in there?
0
 

Author Comment

by:BradKopecky
ID: 40230681
It does not.  A folder redirection GPO noted it need to be applied at log on but the scheduled task is not showing up.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40230684
I don't understand. Does the result page show the GPO with the task inside got applied or not?
0
 

Author Comment

by:BradKopecky
ID: 40230698
It does not show the task at all, either applied or not applied.  Is there a way to call gpresult, to log through the restart process?
0
 

Author Comment

by:BradKopecky
ID: 40230705
Let me look at the GPO a bit more, this is odd as I just did the test on a Windows 7 machine and it runs.  There has got to be something wrong with how we have this GPO setup or there is something different in how we are applying things in Windows 8.  I know the batch file works when run manually under a local or domain admin login so it has to be the GPO itself.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40231224
GPResult tells you what GPO names did apply - did it apply? It seems not.
0
 

Author Comment

by:BradKopecky
ID: 40232193
You were correct in one of your earlier check points.  A Restart did not trigger the updates, we had to do a full shutdown and then do the restart.  We'll have to check on a few other things around this one as I like doing the fast boots for staff.  I'll award full points as it was your suggestion around the startup that clued us in.  I really like Windows 8 for the most part but I wish Microsoft did a bit better documentation on the GPO changes between 7 and 8.

Thanks for all of your help!
0
 

Author Closing Comment

by:BradKopecky
ID: 40232199
I really appreciated McKnife staying with the thread and not just tossing links and disappearing.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the recent demise of Windows XP support, you may be a new convert to Windows 7 or Windows 8. Or perhaps you've been on W7 or W8 for a while, but just recently acquired your first scanner for the new OS. In either case, you are likely to be very…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question