How to: become the LOCAL SYSTEM account with PsExec
(Last updated on August 2, 2018)
If you are an administrator using Specops Deploy, you may have had the following experience: an application can be deployed without any problems when you are trying it on your local machine but when you try to deploy it you can’t seem to get it to work. This blog post might shed some light on your issue.
When an application is deployed using Specops Deploy, LOCAL SYSTEM is the account performing the installation. To ensure that your application is installed in the exact same way as Specops Deploy App, you need to act as the LOCAL SYSTEM account. To do this I recommend a little tool from Sysinternals called PsExec.exe
- Download PsTools from https://download.sysinternals.com/files/PSTools.zip
- Unzip the content and copy PsExec.exe to C:\Windows\System32
- Open a Command Prompt as admin
- Launch a new Command Prompt using PsExec.exe. By using PsExec.exe you will open the new Command Prompt in the System Context and the account doing all the operations will be the LOCAL SYSTEM account. This is the same account Specops Deploy App uses when installing applications.
In the Command Prompt opened as LOCAL SYSTEM so that you can test your installations before you move them into Specops Deploy.
In other words, this is the perfect way to test your installations. There is no way to get closer to how Specops Deploy App is deploying software to the machines in your network.
You have just installed Specops Deploy in your environment and you want to bring all of your machines into a “Desired State.” In a mixed environment where there are old machines that have had software manually installed, and new machines that have managed software, we would recommend the following course of action. The Procedure Create…Read More
IT administrators working in a complex environment usually have to manage a large portfolio of applications. A lot of times you have to repackage applications to simplify deployment, especially when you update images, customize installations and work with legacy applications that do not use the Windows Installer (MSI) packages. This is an arduous task that most administrators…Read More
Computer labs require daily or weekly refreshes. Wouldn’t it be nice to remotely reinstall OS, distribute applications, lockdown lab computers against viruses without physically going to every computer when you have to do something? Sometimes you just don’t have the time to run across campus to manually reimage computers in different labs. What you need…Read More