Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Windows setup added

...

Execute the same operations as described in chapter "Using rsh" for Tru64 or VMS but to enable remote connection for the "SYSTEM" user.

(warning) This is case sensitive so for Tru64, specify "SYSTEM" and not "system" in the .rhosts file

...

Open a cmd.exe window as Administrator and run the following command:

C:\WINDOWS\system32>C:\Charon\psexec.exe -i -s cmd.exe

A new window will popup. To check you're connected as "system", run:

C:\WINDOWS\system32>whoami

nt authority\system

The run the Powershell script in check mode:

C:\WINDOWS\system32>powershell -file c:\charon\charon_cleanshutdown.ps1 -config c:\charon\myds20vms.ini -check

then check the "RSH was successful" message is displayed followed by "Command successfully completed."

...

Adding the script to the shutdown Powershell scripts

...

Open the "Local Group Policy Editor" (run gpedit.msc) and go to the Shutdown script setup:

Image Added

Select the "Powershell Scripts" tab, click on the "Add..." button, specify the path to the charon_cleanshutdown.ps1 script and its parameters:

Image Added

Display instructions in shutdown scripts as they run

It is recommended to enable the display instructions during shutdown to check the Charon Legacy OS shutdown is correctly performed.→ recommended

Open the "Local Group Policy Editor" (run gpedit.msc) and go to the "Computer Configuration" → "Administrative Templates" → "System" → "Scripts" setup:

Image Added

Enable this functionality and optionally leave a comment:

Image Added

Specify maximum wait time for Group Policy scripts

→ default = 600 seconds (10min)By default the script executed at Windows shutdown have a default timeout of 10 minutes (600 seconds). It is possible to change this value in case the shutdown takes more time.

Open the "Local Group Policy Editor" (run gpedit.msc) and go to the "Computer Configuration" → "Administrative Templates" → "System" → "Scripts" setup:

Image Added

Enable this functionality, define the new timeout and optionally leave a comment:

Image Added

Include Page
KBCOMMON:KB-GoToTop
KBCOMMON:KB-GoToTop

...