Jump to content
DeployCentral

Jason M

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Jason M

  1. I found an acceptable workaround using the legalnoticecaption and legalnoticetext registry keys. The goal is to know exactly when it's safe to remove a laptop or PC from the imaging shelf without needing to check the console, and this does it quite well.

    This is especially helpful for brand new machines imaged via PXE boot, since it seems the easiest way to tell whether those are done is to keep refreshing the "Installed Software" list until the last application in the answer file you used shows up.

    lockscreenNotice.thumb.jpg.7a3000de5c78112708ebf8b7ecdf10cd.jpg

    What I did was add the following command to the SPECIALIZE phase in the Answer File under Answer File Wizard > Advanced > Tasks.

    cmd.exe /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticecaption /t REG_SZ /d "SmartDeploy Imaging" /f && reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticetext /t REG_SZ /d "Applications are being installed and configured. This computer will restart when the process is complete." /f

    Then create a "Run Command" task with the following CMD arguments which removes the Lock Screen notice, add it to the Answer File and move it to the bottom of the "Install Order" list.

    /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticecaption /t REG_SZ /f && reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticetext /t REG_SZ /f

    I like to reboot my machines at the end of the imaging process, so I added the above step right before my final reboot task; however, a reboot is not required as these registry changes are immediate.

    More info on the registry keys used: https://www.addictivetips.com/windows-tips/custom-lock-screen-message-in-windows-10/

  2. Post-image deployment, is it normal for the login screen to appear before all applications are installed / tasks are completed? If I were to sign in as soon as I see the login screen after an image deployment, majority of the apps would be missing and it'd be another 25 or so minutes before they show up.

    If I recall correctly, SCCM had, at the very least, pop-up messages indicating that things were still being worked on in the background, so I knew the machine wasn't finished until that message went away. Is this not something SmartDeploy does? Just curious as I've only recently started using it.

    For me, it's super convenient to know when I can pull a laptop off the imaging shelf without having to look at the console.

  3. I had this same issue when forgot to include the "/c" in the arguments of my last "Run Command" task post-deployment. No matter what I did (reboot console, reboot client, restart services on both ends, power down client and wait, etc.), nothing canceled the "ExecutingTasks" message until I deleted the computer from AD, re-joined it to the domain and rebooted; which probably wasn't even the fix since it's also possible that the task finally timed out. 
     

×
×
  • Create New...