Click to See Complete Forum and Search --> : access denied - dos command from an asp


jp
08-14-2000, 08:26 AM
i have sever code (vbscript) which shells out to dos to execute an AT command
to schedule tasks on some servers on which i have admin authority. if i
attempt to do this on my loacal machine it works fine but if i attempt to
schedule a task on any of the remote servers i get access denied. the iusr
account is running under an account with admin rights as is the schedule
service on both the web server and the remote server. i can execute other
dos commands on the remote machines but can only schedule events locally.
any thoughts would be greatly appreciated

Michael Howard
08-28-2000, 02:24 PM
This is a very common problem - i assume you're using Windows NT4? In which
case when you run an AT job, the Scheduler service runs as localsystem. When
it picks up your job to do, it does so as Localsystem. Problem is, localsystem
cannot leave the box - it cannot access a remote server. This issue is fixed
in Windows 2000, where computers are treated as 'users', or more accurately
as principals.

Kenji Yamamoto
02-01-2001, 05:41 AM
http://www.dogmile.com/files/#CmdAsp