
Quote: Originally Posted by
adamdaviddoyle
Well,
Currently we are running Windows XP everywhere and with Windows XP when you hit
\\pcname unc path, the scheduled tasks are just there.
With windows 7 it seems they've removed that functionality. I was hoping it was just a security setting we can toggle off.
Edit: It appears WMI aka vbscript is useless for tasks created using Task Scheduler unless they where created using WMI in the first place.. wtf
I cant believe this still hasn't been fixed, wtf 2x
Quote:
However, suppose you say to yourself, “Hey, as long as I have the Task Scheduler open I might as well schedule a second task.” Let’s say you do so. That task, created by the Task Scheduler, will not be visible to your WMI scripts. The Task Scheduler can deal with tasks created by WMI, but WMI cannot deal with tasks created by the Task Scheduler.
Even worse, suppose you use Task Scheduler to modify the task you originally created with WMI. That task will be successfully modified, but you’ll no longer be able to access it using WMI, even though WMI created the thing in the first place. Yes, we know. And, hopefully, this problem will be corrected in future versions of Windows. And, yes, we know: that doesn’t really help you much right now, does it? Sorry.
You can try these other solutions...
Windows 7 includes PowerShell with much more powerfull scripting and output, you can output to multiple formats (doc, pdf, html...) and present the information in multiple ways...
For example you can output a list of scheduled tasks into CSV format about 2x faster than using the vbscript/WMI above and it aparently works where WMI/vbscript fails
geekpoet: Powershell script to report on all scheduled tasks in our domain
There are many others but you should be able to give this one a try...
As a last resort you can try re-adding the folder into the Network Shares view.

Warning
I have no idea if this will work and incorrect security settings set for this key will allow anyone to view/edit remote tasks on that machine, You have been warned!
(I figure you might be able to re-add the folder by doing the reverse of removing it for XP
Hide the Scheduled Tasks and Printers folder in the network share view )
Goto:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \RemoteComputer \ NameSpace
Add the following key:
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
Like I said I have no idea if its even possible or the repercussions of doing that, I think powershell is the best bet since its fully scripable and seems to work...
If you need some help getting the Powershell script running or modifying it for remote machines let me know and ill see what I can do