I’ve recently installed a new Debian server with Fog 1.2.0, so the system is quite new.
I have some problems using the FOG Client.
Client computer runs Win81, and is basically just a clean install with some drivers, Firefox, Chrome, Hyper-V and .net Framework 3.5 + Updates.
My Goal is to run some Snap-ins after deployment.
The snap-ins are nothing more than batch scripts which needs to run as administrator.
Doubleclicking on the SFX snapin results in a success.
(it’s a self extracting archive made with “7-Zip SFX maker” that then calls the batch file, I also tried “SFXMaker”)
Lets take my most simple snap-in batch file as an example.
[CODE]powercfg -h off[/CODE]
For those who don’t know it it disables the hibernation, and removes the hibernation file.
The last entry of the log when deplying a non-sysprepped image (I can’t remember the exact log message but it was siimilar to):
It just hangs there indefinately.
What I read somewhere is that some things won’t run properly when the FOG Service is running as a Local Service, and should run as the local Administrator.
I think I skipped testing this part on a non-sysprepped image, or I just can’t remember the outcome from last week.
So now I’m sys-prepping with a simple unattended file that activates the Administrator in the specialize phase + some other cosmetic things like setting user/company info, activation code etc. After OOBE runs the first time the client reboots and hangs indefinately. I found that it’s the FOG Client when it’s set to run as administrator. Running the FOG Client as Local Service, there are no issues in the boot sequence.
So here’s my dilemma, I can’t execute my batch scripts because the service isn’t running as administrator, I can’t run the service as administrator as it would render my image unusable.
I do have some little more advanced scripts, so even if I could deactivate hibernation and delete the hibernation file, instead of running the simple “powercfg -h off” I would still need to run batch scripts.
I did try to have Fog Service running as Local Service, then change it in specialize phase (4) in the unattended file (using WAIK)
[CODE]sc.exe config “FOG Service” obj= “.\Administrator” password= “somepassword”[/CODE]
I’d love to hear if anyone has any solutions for this.