I can't seem to add a scheduled task

This section is for XP operating system problems and requests for help.
User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

I can't seem to add a scheduled task

Post by malvachat » Wed Sep 19, 2007 2:16 pm

Know this a strange one.
I have created a bat file application and want it to start up when I set it in scheduled tasks.I keep getting an error code plus saying I don't have the rights.
Now only the wife and I use the PC,we don't use any passwords at start up.
Now there is no reason why I can think off why I should not have the addmin rights,as I've changed lots of things before.
I think I must have changed a setting somewhere which stops me seting up a scheduled task.
Any clues?
I'm on XP home with the classic menu.
Error code is
A New task has been created but may not run because Account information could not be set
Ox80070005: Access is denied"

As I say we have no password set for our user name which comes up and as far as I know I am the admin.
I must be because I've altered all sorts since a reformat 18 months ago.
The task doesn't start by the way.
Beer is for life not just Christmas Image
Image

User avatar
Squeezebox
Administrator
Administrator
Posts: 1647
Joined: Sat Sep 24, 2005 9:51 pm
Location: UK

Re: I can't seem to add a scheduled task

Post by Squeezebox » Wed Sep 19, 2007 5:54 pm

Hi Malvachat,

I found this info for you - there's probably a solution hiding in there.

Error message: "0x80070005 Access is denied. You do not have permission to
perform the requested operation"

http://support.microsoft.com/?kbid=308558


Systems that have changed the default Access Control List permissions on the
%windir%\registration directory may experience various problems after you
install the Microsoft Security Bulletin MS05-051 for COM+ and MS DTC

http://support.microsoft.com/kb/909444

How to troubleshoot SMS Administrator console connectivity

http://support.microsoft.com/kb/317872
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Wed Sep 19, 2007 6:40 pm

I'll have a little study tomorrow,thanks.
Just getting ready to watch the man utd game match.
Beer is for life not just Christmas Image
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Thu Sep 20, 2007 1:32 pm

No,I can't make head nor tail of that lot.
One thing I did do is turn on the scheduled task service to automatic.
I don't remember turning that off?
Although my PC runs OK,I have noticed the first time I open a folder or access
anything,it takes a few seconds for the PC to respond.
I feel that somewhere some sort of cache is turned off.
So when after restarting it takes time for the PC to find anything.
I have noticed something else as well,if I try to change anything in msconfig,it says I don't have permission then allows me to do it anyway.
Strange indeed.
This is not a major problem,I just wanted to set a task to record the football last night.
But I was here anyway as it turns out.(I was not wanted at work)
But I'd like to sort it if possible for future.
Beer is for life not just Christmas Image
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Thu Sep 20, 2007 1:53 pm

Now I have the time I have googled the error it seems that I need to have a password.
I don't really want to password my PC,wife would find that an bit of a pain????????????

I have read this in a few places.

http://www.mcse.ms/message1615197.html

http://en.allexperts.com/q/Windows-XP-3 ... ords-1.htm

Now I sure you can make more sense of this than me.
It seems to say I must have a password to set a task up and can do it somehow.
The jargon is confusing me.
I need a step by step guide,but still need when I start up,no password screen.
Hope this is all making sense.
Beer is for life not just Christmas Image
Image

User avatar
Squeezebox
Administrator
Administrator
Posts: 1647
Joined: Sat Sep 24, 2005 9:51 pm
Location: UK

Re: I can't seem to add a scheduled task

Post by Squeezebox » Fri Sep 21, 2007 7:21 am

Now I didn't know all this, so you've done most of the work (being a detective) yourself already. The bit that counts is this:

By default, Task Scheduler requires User accounts that don't have
blank passwords.  In order to schedule tasks you've got the following options:


1. Create an admistrative account with a password and use thataccount to run your scheduled tasks. Or add a password to your account.
(That seems simple enough to do.)


2. Change the following registry setting from 1 to 0:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\limitblankpassworduse

(** Start/Run and type 'regedit' in the box. Navigate to the registry key above and change the data value in the key from 1 to 0.)

3. Download and run the script on the left hand side of line 67 here:

http://www.kellys-korner-xp.com/xp_tweaks.htm
(This is a script to make the registry change for you - Kelly's tweaks are often used to provide fixes.)
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Fri Sep 21, 2007 12:50 pm

Now I can follow all that fine.
I might have a look over the weekend at it.
(time permitting Granddaughter staying she's only 5,get the picture?)

If after creating this new account with admin rights I take it?
Will I have to log on to windows each time I start the pc up?
If so,that's what I want to ovoid if possible.
If I can't,I can't.

Now having read it all again are these three different options?
If so,I'll try one without the new account bit.
System Restore before of course.
The reg one sounds the easy one to me just change one number.
I'll try later and report back.
Barring any major problems.
Oh,and thanks very much mate for the translation,I was never
any good at languages at school.
It was a long time ago.
Beer is for life not just Christmas Image
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Fri Sep 21, 2007 1:42 pm

Well it set the task OK.( I did the reg change to 0 one by hand)
So that was a good start.
The bat file started up at the right time.
It didn't record the stream I wanted,but that will me, something I did wrong.
Copyed the file wrong or something.
I'll have to try it again sometime when I have more time.

Any clues as to the other thing,why my folders take so long to open?
It only happens the first time after start up,after that it's back to normal.
Thanks,
Busy,busy,busy.
Beer is for life not just Christmas Image
Image

User avatar
Squeezebox
Administrator
Administrator
Posts: 1647
Joined: Sat Sep 24, 2005 9:51 pm
Location: UK

Re: I can't seem to add a scheduled task

Post by Squeezebox » Fri Sep 21, 2007 6:30 pm

At least you are making progress.

The slow loading of folders (in Windows Explorer) is something quite normal. It's only while Explorer searches for files and folders, and it's only on the first access after starting. I've seen that happen a lot.

Having said it's normal, I've never gone looking to see if there's anything to tweak that will improve things. Maybe one of the others might know something ........
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Mon Sep 24, 2007 10:10 am

Well I have tried again and can't get the task to run.
It starts up and then stops within a second.
Is there a setting somewhere to allow task to run.
It's a task to record from a streaming site.
I know the bat file is set up all right. :glupek2:
Beer is for life not just Christmas Image
Image

User avatar
Squeezebox
Administrator
Administrator
Posts: 1647
Joined: Sat Sep 24, 2005 9:51 pm
Location: UK

Re: I can't seem to add a scheduled task

Post by Squeezebox » Mon Sep 24, 2007 10:57 am

Pass on this one now Keith.

Maybe XP doesn't like batch files in scheduled tasks - can't say because I've never tried it.
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Mon Sep 24, 2007 11:37 am

Well,the site I use recommends this way of capturing the streams,(for security,so they say)so I know it does work.
I can use stream ripper with winamp anyway,or "capture stream"in KMPlayer,so it's not a major thing.I just have to be there to start the stream.
It would have been handy for Tuesday night games(when at work)
Or the early Sunday games when I'm playing snooker.
It's like so many things,"I want""I want" :ywink: :ywink:
I have double checked the code and keep going back to the site for answers.
At least I got part of the way. :ylaugh:
Thanks.
PS if you fancy watching the football and other sports on the net I'll PM the link.
It's a really great site,the best I've found.Costs about £34 a year all in.
The streams are good and solid most of the time.Helpful lads as well.
I've tried all the free streams,they're not as reliable.
Last edited by malvachat on Mon Sep 24, 2007 11:42 am, edited 1 time in total.
Beer is for life not just Christmas Image
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Wed Oct 03, 2007 7:26 pm

Right,using cmd command to start the bat,It keeps the screen up to allow me to read the error,
Why it won't connect and run.

error -6 [SR_ERROR-CAN'T_RESOLVE_HOST_NAME]

Any ideas?
I've tried looking I can't find anything?
Beer is for life not just Christmas Image
Image

User avatar
Squeezebox
Administrator
Administrator
Posts: 1647
Joined: Sat Sep 24, 2005 9:51 pm
Location: UK

Re: I can't seem to add a scheduled task

Post by Squeezebox » Wed Oct 03, 2007 7:52 pm

How's about posting the contents of the batch file?

Maybe we will be able to see the problem then.
Image

User avatar
malvachat
Contributor
Contributor
Posts: 67
Joined: Tue Oct 04, 2005 9:24 am
Location: Oxford(UK)

Re: I can't seem to add a scheduled task

Post by malvachat » Wed Oct 03, 2007 8:21 pm

I can do that.
But I can't give out a url to put in.
Here's the full set of instructions.
see here.

http://www.tvandsportstreams.tv/forum/s ... php?t=4522

Please note - You cannot watch the stream and record it at the same time, by logging in to the site. This will appear as a second attempt to connect to our servers and we strictly only allow one login per username.

Want to watch your favourite TaSS stream, but can't as you're stuck at work? Fed up with missing the late night PPV’s on TaSS because staying up until the early hours never works out? We've got the solution!

We’re proud to announce the new TaSS Ripper. TaSS Ripper is a program that you can use to schedule a recording of your favourite stream, no matter what time of day it's on. At present, we’re only able to offer the TaSS Ripper for Microsoft Windows, though we will be developing the program for other platforms soon.

This guide assumes you are using Windows XP

Let's get started:

Downloading and installing TaSS Ripper

1 – Firstly, download TaSS Ripper here:

TaSS Ripper Download Link

2 – Open the downloaded file and click ‘unzip’. When all files have been exctracted, click OK, then click Close.

Creating a Batch file

We need to create a batch file in order to start the TaSS Ripper program.

1 - You'll need to open up a text editor program. Windows' Notepad will work perfect for this, so fire it up.

2 - Firstly, we need to tell the batch file we're creating where it can find the TaSS Ripper program, so put the following line in notepad:

cd C:\Program Files\tass_ripper

3 - now that your batch file knows what folder TaSS Ripper is in, you can start TaSS Ripper up to record using the following command (make sure this appears on the next line in notepad):

TaSS_Ripper.exe {insert entire stream URL here} -l {length of recording in seconds} -a -z -d C:\TaSS_Recordings\ -u TaSS_Ripper

Note – It is very important that you do not change any of the paramaters after the length of time you wish to record, as this may result in a lifetime ban from TaSS.

You'll need to replace the parts in the brackets (including the brackets themselves), with your own personal preferences. The stream URL you'll need can be found by viewing your selected streams in winamp, and hitting the ALT key and '3'. This will bring up the stream info for this channel, the URL is contained in the top box, and should end with '.nsv'.

You'll also need to tell TaSS Ripper how many seconds you want it to record, for example 30 minutes is 1800 seconds, so if youwanted to record for half an hour, you simply put 1800.

4 - Your new file should now look something like this:

cd C:\Program Files\tass_ripper
TaSS_Ripper.exe {insert entire stream URL here} -l {length of recording in seconds} -a -z -d C:\TaSS_Recordings\ -u TaSS_Ripper

If it does, then you can save the file by going to File ---> Save As. Name the file 'record.bat', and makes sure you save it in your 'C:\Program Files\tass_ripper\' folder, and ensure that in the 'save as type' box, you have selected all files. Congratualtions! you've just created your batch file!

Scheduling the recording in Windows XP

1 - In Windows XP, go to Start ---> All programs ---> Accessories ---> System Tools ---> Scheduled Tasks. Double-click on 'Add Scheduled Task'. This will open up the Scheduled Tasks wizard.

2 - Work your way through the wizard, and when asked what program you want to run, click the browse button, and locate the 'record.bat' file we just saved in the TaSS_Ripper folder, and select it.

3 - Carry on through the wizard to select when you want the recording to take place.

4 - When the wizard finishes, you should see in the Scheduled task window, the schedule you have just created. If everything has been followed as above, TaSS Ripper will be kicked off at the time you specified. It will create a new folder on your C:\ drive once it has completed, in which you will find the nsv file that can be played through winamp. This file will contain your recording.

Please note - Your PC will need to remain turned on when the task is scheduled to run.

Now you can watch your favourite streams anytime!
Beer is for life not just Christmas Image
Image

Post Reply