Tuesday, October 1, 2013

Step: 1.2: Model validation

Supported Model group is the second step in our All in one task Sequence.
Supported Model group will be initiated if;
  -          Win7Supported task sequence is TRUE
  -          UserCancelled equals FALSE
  -          SMSTSMedia type notequals OEMMedia

Restart Computer will be initiated, Once all above conditions are met and the task sequence will restart the target machine into “The boot image assigned to the task sequence”. 
Until this stage all the actions will be performed in full OS.

Disable Firewall step is useful if we want to remote control the machine when running the task sequence in WinPE mode. Create a Run Command Line step and add  
wpeutil DisableFirewall in command line box


Create a remote tool package (I have chosen to use Uvnc) using the source files and configure as needed. How to crate Uvnc package is not discussed here and it is out of scope.

Copy VNC to WinPE step to add the content of the Uvnc package to WinPE. Create a Run Command Line step then add xcopy ".\*.*" "%WinDir%" /E /C /Q /H /R /Y /I command to command line.


Finally, Run the remote tool by creating a Run Command Line step then add
cmd.exe /c start %WinDir%\winvnc.exe

If you don’t have a requirement of remote controlling the target machine, you can skip Disable firewall, Copy VNC to WinPE and Run Remote tool steps.

If you want to remote control a machine in WinPE, you need to know the IP address. It is a good idea to get the IP address when the machine is in full OS mode or asking the end user / build engineer to get the IP before starting the build process.

Remote controlling the machines when running the task sequence is useful to see what is actually happening on the build  machine and if it fails you can grab the logs by yourself rather asking the technician or end user to copy the logs.


Click here for complete list of tasks for SCCM OSD All in one task sequence.
Click here for SCCM OSD All in one task sequence Visio diagram.


2 comments:

  1. Just checking your first picture. It seems the picture displays the opposite of what you want the conditions to be as stated in the first paragraph?

    ReplyDelete
  2. Nevermind, I get the logic now.

    ReplyDelete