Title: Message
the main use for this, is to distribute applications after the inital roll out.
 
My first attempt was to create an asp page that created the remote process on the clients machine running the mapznrun program under its context, but microsoft has put a stop to that by not allowing the spawned process to interact with the desktop.
 
Second  was to get it to produce an AT job (which does allow the job to interact with the desktop) but relies heaverly on the times being Identical (issue in its own right) plus the job would have to be scheduled upto 60 secs in the future (problem for users)
 
Third is to use the mapznrun in its native enviroment, but this can also cause problems. i.e. if a user ctrl breaks while the todo.pl is running they are sitting there with a admin logon in front of them (NOT GOOD)
 
you can not script the RUNAS command as you say so that, is a no go the idea is to allow the users to install applications if they need to.
 
Cheers
 
 
Steve
(01908) 580623
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 November 2003 14:40
To: [EMAIL PROTECTED]
Subject: RE: [Unattended] Todo.pl -- Restart

I do something similar, but I have a shutdown script make the registry change, the system has permission to change the registry.  In my case it is triggered by a change to a central database (a grand name for  a shared ini file), however you could use any trigger you like.
 
as an alternative, if you are at the machine, have you tried running the script using RUNAS and your admin credentials?
 
Regards
 
Kevin Lawry
-----Original Message-----
From: Steven D. Pretlove [mailto:[EMAIL PROTECTED]
Sent: 11 November 2003 14:17
To: [EMAIL PROTECTED]
Subject: [Unattended] Todo.pl -- Restart

Hi all,
 
when todo.pl processes .reboot (or one of its variations) it places the run command in the HKCU Run reg key
 
I have need to set the computer to logon as a administrator (using autolog.pl), reboot the machine, log on as admin, install program, clear autologon and then finally reboot.
 
all the above I can do quite successfully, once I manually kick of the todo.pl --go after the initial reboot and logon as admin
 
does anyone else do something like this if so how did you get round the problem ???
 
my initial thoughts is to write a bat file to the allusers/start-up directory to run the "mapznrun.bat z:\bin\todo.pl --go" command and then clear it out at the end. much the same as the current method, just allowing for anyuser to logon afterwards and the command to still run.
 
other thoughts included changing the reg key from HKCU to HKLM but users by default do not have write permission
 
All advice greatly appreciated
 
_________________________________
Steven Pretlove
Dominos Pizza Group Limited

Infrastructure Support Analyst


(     Tel:  01908 580623
(     Fax: 01908 282582
*         E-Mail: [EMAIL PROTECTED]
_________________________________
 
 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Dominos Pizza Group Ltd - 01908 580000 - www.dominos.co.uk
**********************************************************************

Reply via email to