I try to automate ImDisk remote installation.
I started with local experiments.
At first to avoid kerberos double hop problem I copy imdiskinst.exe from UNC share to local folder C:\temp\
.
Then I run powershell:
$imdiskinstPath = "C:\temp\imdiskinst.exe"
Unblock-File $imdiskinstPath
Invoke-Command -Computername localhost -Scriptblock {
$env:IMDISK_SILENT_SETUP="1";
Start-Process -FilePath $imdiskinstPath -ArgumentList "-y" -Wait -PassThru
}
And installation really executes on remote server - I can see it by ProcessExplorer if not to set IMDISK_SILENT_SETUP so at the end it prompts about sucess. But when process is finished ImDisk is not installed.
And if I execute the same script without -Computername localhost
I have it done.
I have tried locally, really remotely, using PsExec instead of Invoke-Command and even found the advice to explicitely extract installer and do all other stuff manually. But why? It looks awkward. What's wrong with remote install?
Mandatory Label\High Mandatory Level