Remotely PXE Boot

Hello everyone,

I use a BARE METAL PROFILE to deploy windows 10 x64 bits,
It’s working very well.

I’ve now tested it to deploy on targeted client.
If I need to remotely install a computer, I target is mac address, reboot it, press f2 and boot to network. The profile is going to be installed.

But now I have a question, I wan’t to deploy Windows 10 remotely on a computer without pressing the f12 key.

I know I can change the boot order, and make the pxe on first boot, But if i do that I will have the bigfix console asking to choose a profile to install.

My question is, are we able with bigfix to send a reboot to a computer, and ask him fo boot on pxe after the reboot ?

Thanks

Robin

I found the fixlet called “Force Network boot” but didn’t work…

Maybe I use it the wrong way…

I talk alone but found the solution :smiley:

Need to download the latest version of rbagent while the fixlet force network boot use a oldest version of it.

If this post could help someone :wink:

One PC worked…

But I have other computer they have a acces denied…

log :

[2018/05/17 16:24:52] IBM Tivoli Provisioning Manager for Images Web extension 64 bits v.7.1.1.20 (290.06)
[2018/05/17 16:24:52] Licensed Materials - Property of IBM. - INTERNAL
[2018/05/17 16:24:52] © Copyright IBM Corporation 1998, 2016.
[2018/05/17 16:24:52] All Rights Reserved. IBM, the IBM logo, and Tivoli are trademarks of IBM Corporation in the United States, other countries or both.
[2018/05/17 16:24:52] Bootable: \.\PHYSICALDRIVE0
[2018/05/17 16:24:52] Device \.\PhysicalDrive0 (0:0) is a regular disk
[2018/05/17 16:24:52] Device size: 312571224 KB
[2018/05/17 16:24:52] Hard disk geometry: ff 3f
[2018/05/17 16:24:52] Non-USB: \.\PhysicalDrive0
[2018/05/17 16:24:52] Running in offline mode
[2018/05/17 16:24:52] A Packages not found at path local://root/D$/Softwares/FO_Scripts/rbagent.pak
[2018/05/17 16:24:52] [16:24:52] isUEFITarget>>>
[2018/05/17 16:24:52] [16:24:52] isUEFITarget return false
[2018/05/17 16:24:52] External MBR found on disk
[2018/05/17 16:24:52] osdev: cannot write sector 0 (Accès refusé.)
[2018/05/17 16:24:52] FMBR: Cannot write fallback MBR
[2018/05/17 16:24:52] A Command error: errno=0 [AGT:325]
[2018/05/17 16:24:52] A Error raised by InstallFallbackMBR in rbagent.rbc, line 1564 [:0]
[2018/05/17 16:24:52] A errno=0
[2018/05/17 16:24:52] A (called from AgentDispatch (rbagent.rbc:4387))
[2018/05/17 16:24:52] A (called from --toplevel-- (rbagent.rbc:4814))
[2018/05/17 16:24:52] A RbAgent command fallback-mbr has failed [AGT:4394]

Could be an antivirus product blocking MBR write.

Thanks JasonWalker,

It is our AntiVirus programm who blocked the “write sector 0”

We will search a way to allow the modification.

Thanks again.

Robin

I use now the reimage, it’s easyer for reinstalling a windows 10 on a computer which work with windows 7.

It mostly work, but need to delete the antivirus programm before.

Do you use Windows Reimage too ?

Thx

Yes, we used reimage on our migration from Win7 to Win10.

I ask this because I only have one computer who dont succeed. But If I don’t find a solution I will user a bare metal profile.

Sub-Action Status

Completed Validate Endpoint
Completed Download and Set up MDT Resource Files
Completed Download and Set up OS Resource Files
Completed Download and Set up WIM Image
Completed Create User State Migration Configuration File
Waiting Tag Reimaged Computer
Waiting Determine Applicable Drivers
Waiting Download Applicable Drivers and Apply
Waiting Prepare custom settings configuration file
Waiting Initiate Reimage Action

The computer is grayed in the computer list, and If I restart besclient, the action failed.

I have a folder Deploy and MININT
But Deploy has only a Tools folder and MININT a SMSOSD

Thx

Hmm, no action set to “Running”?

Is it possible that another action, not part of this baseline, started executing and left the client locked in some way?

Having a copy of the client logs from that time will be helpful. You should open a PMR with IBM as well so they can look at the details of your system.

At 11:52:38 +0200 - actionsite (http://TIVOLI.gpph.ch:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded createfile until (group:17234,action:17244)
Command succeeded delete No ‘C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite\clearquiet.bat’ exists to delete, no failure reported (group:17234,action:17244)
Command succeeded move __createfile clearquiet.bat (group:17234,action:17244)
Command started - waithidden clearquiet.bat (group:17234,action:17244)
Command succeeded (Exit Code=0) waithidden clearquiet.bat (group:17234,action:17244)
Command succeeded parameter “dstDeployLog” = “C:\Program Files\BigFix Enterprise\BES Client__BESData__Global\Logs\DeploymentLogs” (group:17234,action:17244)
Command succeeded parameter “srcDeployLog” = “C:\Windows\temp\DeploymentLogs” (group:17234,action:17244)
Command started - waithidden cmd /C rmdir /S /Q “C:\Program Files\BigFix Enterprise\BES Client__BESData__Global\Logs\DeploymentLogs” (group:17234,action:17244)
Command succeeded (Exit Code=2) waithidden cmd /C rmdir /S /Q “C:\Program Files\BigFix Enterprise\BES Client__BESData__Global\Logs\DeploymentLogs” (group:17234,action:17244)
Command started - waithidden cmd /C rmdir /S /Q “C:\Windows\temp\DeploymentLogs” (group:17234,action:17244)
Command succeeded (Exit Code=0) waithidden cmd /C rmdir /S /Q “C:\Windows\temp\DeploymentLogs” (group:17234,action:17244)
Command succeeded parameter “dstFolderPath” = “C:\Deploy$OEM$\BigFixOSD\RegistryKeys” (group:17234,action:17244)
Command succeeded parameter “regPrepVbsFile” = “C:\Deploy$OEM$\BigFixOSD\RegistryKeys\prepClientSettings.vbs” (group:17234,action:17244)
Command succeeded parameter “storedSettingFile” = “C:\Deploy$OEM$\BigFixOSD\RegistryKeys\storedSettings.reg” (group:17234,action:17244)
Command succeeded parameter “_regPrepVbsFile” = “C:\Deploy$OEM$\BigFixOSD\RegistryKeys_prepClientSettings.vbs” (group:17234,action:17244)
Command succeeded parameter “_storedSettingFile” = “C:\Deploy$OEM$\BigFixOSD\RegistryKeys_storedSettings.reg” (group:17234,action:17244)
Command succeeded createfile until (group:17234,action:17244)
Command succeeded delete No ‘C:\Deploy$OEM$\BigFixOSD\RegistryKeys\prepClientSettings.vbs’ exists to delete, no failure reported (group:17234,action:17244)
Command succeeded move __createfile “C:\Deploy$OEM$\BigFixOSD\RegistryKeys\prepClientSettings.vbs” (group:17234,action:17244)
Command succeeded createfile until (group:17234,action:17244)
Command succeeded delete No ‘C:\Deploy$OEM$\BigFixOSD\RegistryKeys_prepClientSettings.vbs’ exists to delete, no failure reported (group:17234,action:17244)
Command succeeded move __createfile “C:\Deploy$OEM$\BigFixOSD\RegistryKeys_prepClientSettings.vbs” (group:17234,action:17244)
Command succeeded parameter “liteTouchScriptPath” = “C:\Deploy\Scripts\LiteTouch.vbs” (group:17234,action:17244)
Command succeeded createfile until (group:17234,action:17244)
Command succeeded delete No ‘C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite\startLiteTouch.bat’ exists to delete, no failure reported (group:17234,action:17244)
Command succeeded move __createfile startLiteTouch.bat (group:17234,action:17244)
Command started - waithidden startLiteTouch.bat (group:17234,action:17244)
At 11:52:40 +0200 - actionsite (http://SRV.ch:52311/cgi-bin/bfgather.exe/actionsite)
** Command failed (Action ended while waiting for another process to complete) waithidden startLiteTouch.bat (group:17234,action:17244)**
At 11:52:40 +0200 -
Client shutdown (Service manager stop request)

Ok then so it got as far as “Initiate Reimage Action”. That’s where LiteTouch starts up and BigFix stops. It’s normal to see that error message, because part of what LiteTouch does is reboot the system, stopping the BES client mid-action.

LiteTouch is a part of Microsoft Deployment Toolkit, which is leveraged by BigFix to do the reimage process.

To see what’s going on with LiteTouch, you can check the logs at \MININT\SMSOSD\Logs, or open a PMR with support to check through the logs with you. These logs are in an XML format used by SCCM, it may be useful to find a copy of cmtrace.exe to parse them in a more readable format. cmtrace.exe is available as part of one of the SCCM management packs, but I don’t recall which.

There may also be useful logs at \Windows\Panther\UnattendGC, or \Windows\Temp\Deploymentlogs, or $WinNT.~BT\Panther\UnattendGC, depending on how far into Windows Setup the process made it before failing/rollback.

In MININT\SMSOSD\OSDLOGS
i have 2 log files whit same info within
BDD.log and Wizard.log

<![LOG[Property LogPath is now = C:\MININT\SMSOSD\OSDLOGS]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>
<![LOG[Property definition is now = Summary_Definition_ENU.xml]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>
<![LOG[Microsoft Deployment Toolkit version: 6.3.8298.1000]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>
<![LOG[Property Debug is now = FALSE]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>
<![LOG[Not Wizard = Falsch]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>
<![LOG[Property WizardComplete is now = N]LOG]!><time=“11:53:36.000+000” date=“06-11-2018” component=“Wizard” context="" type=“1” thread="" file=“Wizard”>

In the Windows\Panther\UnattendGC I have file dated from 2015 so no new file

but in this folder \Windows\Temp\Deploymentlogs I have a lot of logs, open a PMR seems to be the best solution :smiley:

Thx for help JasonWalker

Yes the \MININT\SMSOSD\OSDLOGS will have duplication.
The “BDD.log” is a log of the whole process from start to end, while there will be separate logs for each subcomponent (Wizard, LiteTouch, Driver, etc.). If there are only BDD and Wizard logs, that implies it never got past the wizard.

I will open a PMR and include my log file.

I let you know if we found a solution.

Thx for your time

I looked this morning on my baseline status and it has progressed…

Completed Validate Endpoint
Completed Download and Set up MDT Resource Files
Completed Download and Set up OS Resource Files
Completed Download and Set up WIM Image
Completed Create User State Migration Configuration File
Completed Tag Reimaged Computer
Completed Determine Applicable Drivers
Completed Download Applicable Drivers and Apply
Completed Prepare custom settings configuration file
Failed Initiate Reimage Action

It failed at end of part1

Every line was completed except the last one : “Failed waithidden startLiteTouch.bat”

What was the exit code for this? There should also be logs that are created when startLiteTouch runs.

Exit Code 0

And I’ve looked on C:\Windows\Temp or Panther but the files are older. the only log files in windows that I found which has the same date as the baseline is setupact.log on windows folder.

Maybe I must try again and see what happen’s ? Because I’ve used this baseline today with on other computer and it has worked well…

I found in google that when setupact.log is in the windows folder it’s step is : (Windows Initializing Setup)
So Maybe it’s something wrong with a driver or something like this ?