View Full Version : Install a scheduled task from a script?
Peter Almer Frederiksen
December 13th 03, 07:01 PM
I would like to install a scheduled task at all Windows XP pc's in my
Windows 2000 domain. The task must run as the logged in user.
Even as an administrator, it is almost impossible to write a script that
installs such a scheduled task at every pc. That's because to make a new
scheduled task, I need the users domain password.
What can I do? Any bright ideas?
--
Regards,
Peter, Denmark
(Remove the x from my email address to get the true address)
Roger Abell [MVP]
December 13th 03, 07:02 PM
There is no way to get the password of users except=20
from the users themselves, either speaking with them=20
or trojan intercepting them being entered, or by cracking.
I doubt you will be able to do what you describe as you=20
describe it. You should post over to the Script Guys at=20
microsoft.public.windows.server.scripting
and a number of alternative ways to accomplish you=20
underlying need may be suggested.
--=20
Roger=20
"Peter Almer Frederiksen" > wrote in message =
...
> I would like to install a scheduled task at all Windows XP pc's in my
> Windows 2000 domain. The task must run as the logged in user.
>=20
> Even as an administrator, it is almost impossible to write a script =
that
> installs such a scheduled task at every pc. That's because to make a =
new
> scheduled task, I need the users domain password.
>=20
> What can I do? Any bright ideas?
>=20
> --
> Regards,
> Peter, Denmark
> (Remove the x from my email address to get the true address)
>=20
>
Peter Almer Frederiksen
December 13th 03, 07:02 PM
Actually, I have access to all the passwords because my users does not
choose them themselves - but I do not want to put them in a script for
security reasons.
But I thought that there maybe was a way to set up a scheduled task when
already logged in, e.g. from the logon script, without having to supply the
password.
I can do it with the AT command, but it is running as LocalSystem and not as
the logged in user. Also when using the /interactive switch.
--
Regards,
Peter, Denmark
(Remove the x from my email address to get the true address)
"Roger Abell [MVP]" > wrote in message
...
There is no way to get the password of users except
from the users themselves, either speaking with them
or trojan intercepting them being entered, or by cracking.
I doubt you will be able to do what you describe as you
describe it. You should post over to the Script Guys at
microsoft.public.windows.server.scripting
and a number of alternative ways to accomplish you
underlying need may be suggested.
--
Roger
"Peter Almer Frederiksen" > wrote in message
...
> I would like to install a scheduled task at all Windows XP pc's in my
> Windows 2000 domain. The task must run as the logged in user.
>
> Even as an administrator, it is almost impossible to write a script that
> installs such a scheduled task at every pc. That's because to make a new
> scheduled task, I need the users domain password.
>
> What can I do? Any bright ideas?
>
> --
> Regards,
> Peter, Denmark
> (Remove the x from my email address to get the true address)
>
>
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.