Archive for October, 2009

0×80070005 error when trying to create Scheduled Task in Windows 2003

Monday, October 12th, 2009

When I was trying to set up a scheduled take in windows 2003, I kept getting this error: 80070005 access is denied

A lot of googling and I found the following things to try if you are having a similar issue:

Local Security policy Settings

1. Open your local security policy control panel:
Start -> Control Panel -> Administrative Tools -> Local Security Policy
2. go to the folder:
Security\Local Policies\Security Options
3. check the following permissions:
Interactive logon: Require Domain Controller authentication to unlock – set to Disabled
Network Access: Let everyone permissions apply to anonymous users – set to Enabled
Interactive Login: Message text for users attempting to log in – clear this setting

That last one creates a popup message that appears when users log into the computer. I found that this causes problems with some but not all of scheduled tasks.

File Permissiosn

Check the file and folder permissions of whatever script you are tying to execute. Make sure that the user you are trying to run the scheduled task as has Read and Execute permissions for the script.

If your script is a .bat file, make sure the user has Read and Execute permissions for cmd.exe

If your script is a .vbs. file, make sure that the user has Read and Execute permissions for cscript.exe

Too many permissions, try an unprivileged user

With older copies of windows it was fairly common practice to run all scheduled tasks as Administrator or some other type of super user. Security policies tend to be tighter now and are often set to restrict users with too much power as logging on in batch mode.

Create a new user who is a member of only the default Users group. Grant this user permissions on the folders you need to run your scheduled tasks. Keeping this user out of the Administrators group will make your server more secure and might clear up the Access Denied error.

Stereoscopic camera

Friday, October 9th, 2009

Last month Gillian asked me to help her with an event that she had promised to shoot in 3D. I think I’ve gotten Gillian to adapt some of my “how hard could it be” attitude over the years.

After a ton of Googling, and realizing that that fancy Fuji3d camera wouldn’t be out in time. I decided to tether two Canon SD750’s using the plans described on this fine blog.

After getting all the parts I needed and set up, I chickened out when it came to soldiering wires directly to the internals of the camera. I am a little rusty with my soldiering and I had a 1 week deadline. If I ruined either of the cameras I wouldn’t be able to get another in time for the event.

Luckily, there is a whole community dedicated to exactly what I wanted to do and they had some simple solutions that didn’t require any permanent alterations to the cameras. A little bit of light soldiering and cutting and we were in business. The camera came out great and worked perfect for the event.

DSC00004.JPG

For the mount I used aluminum that I cut with a jigsaw and file, then riveted together. For the electronics all I needed was a few usb cables, an audio cable and jack, a momentary push button, and a 4 AA battery pack. All in all, it cost about $75 in parts – including the rivet gun. I already had 1 camera so the second one I got for $100 on ebay.

IMG_0672
IMG_0680
DSC09971
DSC00036_ps

Merging the photos taken was trivial with StereoPhoto Maker. An awesome piece of free software that I wish was open source so it could be ported to OSX, or better yet a CLI version.

Here is one of the images Gillian took that night. Any pair of red-blue glasses should work with it. You can see the whole gallery here. I have a few more shots from around the city on my Flickr stream.