Run as program will not terminate.

  • Thread starter Thread starter B Nieds
  • Start date Start date
B

B Nieds

Hi

I have setup at home a network which include one XP (Home version)
workstation. This computer is in the common area of our home for general
use. Each person has been setup as a limited user (with the exception of us
the parents) with no internet access.

The problem I am having is updating the anti-virus software. It seems that
XP will not let limited users perform this activity. So I read about the
RunAs option and thought I implemented it correctly but it does not work. I
created a scheduled task (to pick up the downloaded anti-virus update file
off the Internet computer) and the task seems to run but never finishes.
When we log off the computer (usually several hours after the scheduled task
is to run) we get the message that a task is still running and do we wish to
EndTask or Wait. Only an EndTask has any affect except that the anti-virus
software is never current. Every so often we sign on as administrator and
run the update which works fine. I have even signed on before the scheduled
update and that works fine. What is preventing the limited user with the
RunAs from working?

Any ideas or suggestions?

Thanks
Bill
 
Is they a dialog box waiting for an answer. If running it under a different user you won't see dialog boxes so if it's waiting for a click it will wait forever.
 
Maybe, I didn't read your post correctly. But from what I read, your
limited users don't have the ability to connect to the internet. If that's
the case, then of course they wouldn't be able to download and update
antivirus definitions. It would be up to you, having an administrator
account with an internet connection to do that. Since most antivirus
programs installed from an administrator account, apply to, and protect all
users of the same system, if you update from your account, the other
accounts read from the same virus definitions, and are protected with your
updates.
 
Hi David:

Thanks for the reply. This may be an option. Normally there is a dialog box
which waits for an a click but I set it up with a switch (/q) which is
supposed to run the update quietly so a click is not required. I will test
this and let you know.

Thanks
Bill

Is they a dialog box waiting for an answer. If running it under a different
user you won't see dialog boxes so if it's waiting for a click it will wait
forever.
 
Hi t.cruise:

Thanks for you reply.

The limited users do not have access to the internet but they do have access
to a shared folder where the update are downloaded daily. So you are correct
in that the limited user does not download but rather run the update from
the shared folder. When I sign on as administrator and update the
definitions then all users are protected. I wanted the update to take place
without me having to sign on.

Thanks
Bill
t.cruise said:
Maybe, I didn't read your post correctly. But from what I read, your
limited users don't have the ability to connect to the internet. If that's
the case, then of course they wouldn't be able to download and update
antivirus definitions. It would be up to you, having an administrator
account with an internet connection to do that. Since most antivirus
programs installed from an administrator account, apply to, and protect all
users of the same system, if you update from your account, the other
accounts read from the same virus definitions, and are protected with your
updates.
--

T.C.
t__cruise@[NoSpam]hotmail.com
Remove [NoSpam] to reply


B Nieds said:
Hi

I have setup at home a network which include one XP (Home version)
workstation. This computer is in the common area of our home for general
use. Each person has been setup as a limited user (with the exception of us
the parents) with no internet access.

The problem I am having is updating the anti-virus software. It seems that
XP will not let limited users perform this activity. So I read about the
RunAs option and thought I implemented it correctly but it does not
work.
I
created a scheduled task (to pick up the downloaded anti-virus update file
off the Internet computer) and the task seems to run but never finishes.
When we log off the computer (usually several hours after the scheduled task
is to run) we get the message that a task is still running and do we
wish
to
EndTask or Wait. Only an EndTask has any affect except that the anti-virus
software is never current. Every so often we sign on as administrator and
run the update which works fine. I have even signed on before the scheduled
update and that works fine. What is preventing the limited user with the
RunAs from working?

Any ideas or suggestions?

Thanks
Bill
 
You can try using the runas (there's a graphical one which does not save passwords and a command line one that can) command in a shortcut. Anyone can click it and with /savecred the password is only requested the first time it's run. See help, prob Pro only.

--
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
B Nieds said:
Hi t.cruise:

Thanks for you reply.

The limited users do not have access to the internet but they do have access
to a shared folder where the update are downloaded daily. So you are correct
in that the limited user does not download but rather run the update from
the shared folder. When I sign on as administrator and update the
definitions then all users are protected. I wanted the update to take place
without me having to sign on.

Thanks
Bill
t.cruise said:
Maybe, I didn't read your post correctly. But from what I read, your
limited users don't have the ability to connect to the internet. If that's
the case, then of course they wouldn't be able to download and update
antivirus definitions. It would be up to you, having an administrator
account with an internet connection to do that. Since most antivirus
programs installed from an administrator account, apply to, and protect all
users of the same system, if you update from your account, the other
accounts read from the same virus definitions, and are protected with your
updates.
--

T.C.
t__cruise@[NoSpam]hotmail.com
Remove [NoSpam] to reply


B Nieds said:
Hi

I have setup at home a network which include one XP (Home version)
workstation. This computer is in the common area of our home for general
use. Each person has been setup as a limited user (with the exception of us
the parents) with no internet access.

The problem I am having is updating the anti-virus software. It seems that
XP will not let limited users perform this activity. So I read about the
RunAs option and thought I implemented it correctly but it does not
work.
I
created a scheduled task (to pick up the downloaded anti-virus update file
off the Internet computer) and the task seems to run but never finishes.
When we log off the computer (usually several hours after the scheduled task
is to run) we get the message that a task is still running and do we
wish
to
EndTask or Wait. Only an EndTask has any affect except that the anti-virus
software is never current. Every so often we sign on as administrator and
run the update which works fine. I have even signed on before the scheduled
update and that works fine. What is preventing the limited user with the
RunAs from working?

Any ideas or suggestions?

Thanks
Bill
 
Hi David:

I tried several tests and the scheduled task refuses to work. Just to make
sure there was not a problem with the limited user I did a RunAs manually
from the limited user and it worked fine. For this test I went to the
network folder where the updates is located and did a runas using the admin
username and password and added the /q switch. Everything worked fine. The
next day I repeated the procedure but left off the /q switch and except for
the dialog box showing up everything worked fine. But the scheduler does not
work fine. Any thoughts?

I noticed that I cannot create the scheduled task (with different username)
while signed on as the limited user. Is this normal? The schedular give me
an error Access denied. So I created the scheduled task as the admin user
specifying the username & password to runas. Still does not work.

Hopping for some answers.
Bill
 
Hi David:

I went to help to read up on this suggestion. We have XP Home but I tried it
anyway. The help says that Home will ignore the /savecred switch and that
seems to be the case since it will not run a second time.

Thanks
Bill

You can try using the runas (there's a graphical one which does not save
passwords and a command line one that can) command in a shortcut. Anyone can
click it and with /savecred the password is only requested the first time
it's run. See help, prob Pro only.

--
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
B Nieds said:
Hi t.cruise:

Thanks for you reply.

The limited users do not have access to the internet but they do have access
to a shared folder where the update are downloaded daily. So you are correct
in that the limited user does not download but rather run the update from
the shared folder. When I sign on as administrator and update the
definitions then all users are protected. I wanted the update to take place
without me having to sign on.

Thanks
Bill
t.cruise said:
Maybe, I didn't read your post correctly. But from what I read, your
limited users don't have the ability to connect to the internet. If that's
the case, then of course they wouldn't be able to download and update
antivirus definitions. It would be up to you, having an administrator
account with an internet connection to do that. Since most antivirus
programs installed from an administrator account, apply to, and protect all
users of the same system, if you update from your account, the other
accounts read from the same virus definitions, and are protected with your
updates.
--

T.C.
t__cruise@[NoSpam]hotmail.com
Remove [NoSpam] to reply


B Nieds said:
Hi

I have setup at home a network which include one XP (Home version)
workstation. This computer is in the common area of our home for general
use. Each person has been setup as a limited user (with the exception
of
us
the parents) with no internet access.

The problem I am having is updating the anti-virus software. It seems that
XP will not let limited users perform this activity. So I read about the
RunAs option and thought I implemented it correctly but it does not
work.
I
created a scheduled task (to pick up the downloaded anti-virus update file
off the Internet computer) and the task seems to run but never finishes.
When we log off the computer (usually several hours after the
scheduled
task
is to run) we get the message that a task is still running and do we
wish
to
EndTask or Wait. Only an EndTask has any affect except that the anti-virus
software is never current. Every so often we sign on as administrator and
run the update which works fine. I have even signed on before the scheduled
update and that works fine. What is preventing the limited user with the
RunAs from working?

Any ideas or suggestions?

Thanks
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top