1.    07 Dec 2016 #1
    Join Date : Sep 2015
    Posts : 297
    Windows 10

    Task scheduler Microsoft unaccessible


    In the Task Scheduler library there is a subdirectory "Microsoft." It is shown as blank, though I know there are tasks there. Is this intentional or a quirk in my setup?. The reason I am looking this time is an article about reducing the size of the WinSxS folder https://msdn.microsoft.com/en-us/win...or=-2147217396. This suggests to run the Task Scheduler Library\Microsoft\Windows\Servicing\StartComponentCleanup.
    tcebob
      My ComputerSystem Spec
  2.    08 Dec 2016 #2

    Though this article was written for Windows 8 it talks about this scheduled task: Clean Up the WinSxS Folder. You can always run the DISM command manually, but I agree that something is amiss with your system. Using Everything to search for "StartComponentCleanup" on my production desktop, here's what I get:
    Click image for larger version. 

Name:	find-scc.jpg 
Views:	1 
Size:	33.5 KB 
ID:	112836
    If you want to try the manual command, the syntax is:
    Click image for larger version. 

Name:	dism-scc-ex.jpg 
Views:	16 
Size:	13.0 KB 
ID:	112837
    HTH,
    --Ed--
      My ComputersSystem Spec
  3.    08 Dec 2016 #3
    Join Date : Sep 2015
    Posts : 297
    Windows 10
    Thread Starter

    Ed, Thanks for your advice. I was able to import the file into a new directory (\MS) -- but only after renaming it to *.xml, since that's what Task Scheduler is looking for. I ran it but couldn't tell if it was doing anything. Checked size of Winsxs folder. 3.8 G. That's better than the 5+ G that it was yesterday. So maybe it did work. When run manually in cmd, using dism.exe /online/ cleanup-image /startcomponentcleanup, there was an error comment: DISM doesn't recognize the command-line option "cleanup-image". So maybe it's changed since Win 8.
    Anyway, the system doesn't seem to mind that the Microsoft Task Scheduler folder is empty. Apparently it refers directly to the \servicing directory.

    I can only assume that MS moved all of its scheduled tasks out of public view to avoid tampering. Why they left the empty directory I can't guess. Or is it really empty? Are the files really there but invisible? Where will we all be on Coronation Day?
    tcebob
      My ComputerSystem Spec
  4.    08 Dec 2016 #4
    Join Date : Oct 2014
    Trnava
    Posts : 2,981
    10.4 Home 1709 x64

    You have put a space in front of "cleanup-image", that is the reason of the error.
    Tasks are still located at the suggested location, do you have system files un-hidden?
    If you can not see them directly in Task Scheduler, then there is definitely something wrong.
      My ComputerSystem Spec
  5.    08 Dec 2016 #5

    What TairikuOkami said: gotta put those slashes and spaces in the right places. Just ran this on my production PC at the (admin) command line to prove it to myself:
    Click image for larger version. 

Name:	dism-cucheck.jpg 
Views:	1 
Size:	44.5 KB 
ID:	112883
    Syntax details matter. If you like, cut'n'paste this string:
    dism /online /cleanup-image /startcomponentcleanup
    and everything should work fine.
    HTH,
    --Ed--
      My ComputersSystem Spec
  6.    08 Dec 2016 #6
    Join Date : Sep 2015
    Posts : 297
    Windows 10
    Thread Starter

    Right. The space belonged before the slash, not after. dism.exe /online /cleanup-image /startcomponentcleanup
    Click image for larger version. 

Name:	dism.jpg 
Views:	1 
Size:	77.9 KB 
ID:	112920
    Since the consensus is that my system is awry I hope I can find how to fix it. The Microsoft subdirectory has been blank ever since I first upgraded to Win 10, last year. This has been through numerous upgrades. I have to be cautious about completely reinstalling Windows considering the slight advantage of getting a few oddities corrected compared with the weeks of work reinstalling all my software. But if you have any less drastic suggestions I'd like to hear them.
    tcebob
      My ComputerSystem Spec
  7.    09 Dec 2016 #7

    If you're not getting any repairs from
    sfc /scannow
    dism /online /cleanup-image /restorehealth /source:WIM:<repairsource>\install.wim
    you might want to consider an in-place upgrade/repair install. Here's a tutorial on that subject: Repair Install Windows 10 with an In-place Upgrade - Windows 10 Tutorials.
    HTH,
    --Ed--

    PS: For DISM details see also DISM - Repair Windows 10 Image - Windows 10 Tutorials
      My ComputersSystem Spec
  8.    09 Dec 2016 #8
    Join Date : Sep 2015
    Posts : 297
    Windows 10
    Thread Starter

    Ed, good tips. I'll pursue them. I have tried repair install before without much success, but did not see the tutorial.
    tcebob
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Backup & Restore Import Task to Task Scheduler in Windows
How to Import a Task to Task Scheduler in Windows The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks (referred...
Tutorials
Backup & Restore Export Task from Task Scheduler in Windows
How to Export a Task from Task Scheduler in Windows The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks...
Tutorials
How to show Command Prompt Window when running task in Task Scheduler?
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
General Support
Solved Time Zone change causes error in Task Scheduler for every task
My issue is kind of strange. I am an insider currently on Windows 10 build 10240. All the build I have tried so far has this same error in task scheduler when I change my time zone to my current location which is kathmandu (UTC+5:45). When i change...
Performance & Maintenance
Microsoft Mahjong missing or unaccessible
Hello, In the MS Store I downloaded Microsoft Mahjong. It loaded quickly and said it was installed. I cannot find it. Now, I have a dual boot (win 8) and thought maybe the store is seeing the MS Mahjong from the Win 8 drive (C). Win 10 is E. I...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:58.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums