Description
You need to test the install of a software package under Local system security context before deploying it with Landesk Software Distribution
Resolution
On Windows XP :
1) Get the local time (through the TIME shell command, for example)
2) Add one minute to this time
3) Run the AT command with this new time.
4) Wait one minute for the command window to appear.
...\Documents and Settings\Adi>time
The current time is: 16:29:00.96
Enter the new time:
...\Documents and Settings\Adi>at 16:30 /interactive cmd.exe
Added a new job with job ID = 1
a new cmd windows running under Local system will open at the scheduled time
On Windows Vista or Windows 7 :
1.Install the Ps tools from sysinternals :
http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
2.execute the following command from a elevated cmd :
psexec -i -s cmd.exe
(note: you should be in the folder were psexec is located or thid folder should be added to the PATH)
On Windows 7 and Windows 8 :
To run CMD by local SYSTEM account, you can use the following method:
1. Run CMD as administrator and then type in the followling command lines:
sc create testsvc binpath= "cmd /K start" type= own type= interact
sc start testsvc
2. You will get a popup window from "Interactive Services Detection". Click View the message. Then you will receive a cmd prompt running by SYSTEM.
Environment
Apply to all version of LDMS
Client OS : Windows XP, Windows Vista, Windows 7, Windows 8