Showing posts with label PsExec. Show all posts
Showing posts with label PsExec. Show all posts

Monday, August 21, 2017

Could not initialize installation C:\~GLC1034.tmp the system cannot find the file specified

Work Around - "Could not initialize installation C:\~GLC1034.tmp the system cannot find the file specified"

Long time since my last post but I since I could not find much useful info on the internet regarding this issue, I thought I would take a few minutes to share a work around. 

When trying to install an EXE packaged with Wise you get the below error: 



As a work around download PsExec and open cmd as system user to install that package.
1. Open CMD as admin
2. Run "PsExec -s -i cmd.exe"
3. A new cmd window appears, that windows in running in the SYSTEM context and you can perform your installations from there.


That's it for now, if you have any info on the root cause, please comment!! 

Wednesday, November 6, 2013

How-To Run commands in SYSTEM context

Just a quick post on how to run commands, installation, programs in system context in windows vista and above.

For XP we use a tool called CmdAsSys.exe which we simply ran with admin rights.

But for windows 7 this tool would not run interactively in the currently logged in user session and instead the operating system would throw a prompt to change session which just isn't a convenient way to work.

Therefore, for Windows 7 we are now using psexec from sysinternals. This utility can be downloaded here.

From an elevated command prompt run:
PsExec -s -i cmd.exe

Here is a screenshot showing the command, task manager with the cmd.exe process running as SYSTEM as well as notepad started as SYSTEM.


That's it for now, hope you will find this entry useful and if you have other ways of doing this, please use the comment section to share them !!