M
Martin X.
Hello:
Here are some details on what I'm doing now, then I'll explain what I'm
trying to do:
1) I have a Windows XP Professional PC that has a Virtual PC 2007 that's
also running Windows XP Professional.
2) On the host I have a batch file in Windows Scheduled Tasks that runs
At System Startup. This batch file runs under administrator credentials and
starts my Virtual PC. So anytime the PC is powered on the Virtual PC will
startup without any user intervention. This works fine.
What I'm trying to do and the issues I have:
1) Whenever anyone shuts down/reboots the host PC, I want to be able to
run a batch file to shut down the Virtual PC cleanly before the host PC
shuts down/reboots. I would use the Windows "shutdown" command from the host
PC to remotely shut down the Virtual PC.
2) The problem with the above is that there is no Windows Scheduled Task
that runs at shutdown.
3) I was thinking of using a Shutdown script from Local Computer Policy,
but the issue with that is that it doesn't allow me to run the script with
alternative credentials like in Windows Scheduled Task.
4) I might be able to write a shutdown script/batch file for the Virtual
PC that will include the credentials in the code, but that's a security
issue, plus it might be too complicated for me to write.
So given the above scenario, what options can you suggest? Thanks.
--
Regards,
Martin X.
Microsoft Certified Systems Administrator: Messaging
Philadelphia, Pennsylvania, USA
Here are some details on what I'm doing now, then I'll explain what I'm
trying to do:
1) I have a Windows XP Professional PC that has a Virtual PC 2007 that's
also running Windows XP Professional.
2) On the host I have a batch file in Windows Scheduled Tasks that runs
At System Startup. This batch file runs under administrator credentials and
starts my Virtual PC. So anytime the PC is powered on the Virtual PC will
startup without any user intervention. This works fine.
What I'm trying to do and the issues I have:
1) Whenever anyone shuts down/reboots the host PC, I want to be able to
run a batch file to shut down the Virtual PC cleanly before the host PC
shuts down/reboots. I would use the Windows "shutdown" command from the host
PC to remotely shut down the Virtual PC.
2) The problem with the above is that there is no Windows Scheduled Task
that runs at shutdown.
3) I was thinking of using a Shutdown script from Local Computer Policy,
but the issue with that is that it doesn't allow me to run the script with
alternative credentials like in Windows Scheduled Task.
4) I might be able to write a shutdown script/batch file for the Virtual
PC that will include the credentials in the code, but that's a security
issue, plus it might be too complicated for me to write.
So given the above scenario, what options can you suggest? Thanks.
--
Regards,
Martin X.
Microsoft Certified Systems Administrator: Messaging
Philadelphia, Pennsylvania, USA