Scenario 5 – operating a system deployment precheck
One of the vital uses of Configuration Manager is the deployment of an operating system in large-scale enterprises. For successful operating system deployment, clients should have some of the prechecks completed successfully. One of the tests is for the existence of temp profiles in the machine. If temp profiles are present in a client machine, the chances of operating system deployment failure are more 'in both replace and refresh scenarios. The operating system deployment process fails even during the user-state capture step. So, it is good practice to automate prechecks using Configuration Manager before deploying the operating system.
One of the easiest ways to check for the existence of the temp profile is to check for the existence of the registry key. If the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users
registry key contains any of the sub keys with a .bkp
extension, we can say that the computer...