Automate the Provisioning or repurposing of Windows endpoints to NoTouch OS using Microsoft's System Center Configuration Manager
Firstly, make sure you've created a DNS 'A' record that resolves the hostname 'tcmgr' to the IP address to your virtual appliance. Further information on this can be found in the following blog post on our website.
- Install Wix toolset v3 which can be downloaded from the following location. https://github.com/wixtoolset/wix3/releases/tag/wix3141rtm
- Download the desired NoTouch OS zip file from our customer portal and extract its contents.
- Run CreateMSIPackage.cmd
- On your SCCM server create a folder on c:\drive called Deploy and copy the files created by CreateMSIPackage to this folder share this folder on the network and give read permissions to everyone.
- On the configuration manager console go to Software Library >>>>> Overview >>>>> Application Management >>>>> Applications and right click and Create Application.
- Type: windows Installer (msi)
- Location: your share directory (\\SiteServer\Deploy)
- Choose yes to the message publisher could not be verified
- Install behaviour: install for system > Hit next then finish
The script - If you want to replace the OS (warning this will replace the windows OS and destroy all data with NoTouch OS)
# Define the file path for configuration
$file_path = "c:\wininstall_config.txt"
$file_path = "c:\wininstall_config.txt"
# Create or overwrite the file with the specified content
Set-Content -Path $file_path -Value @("mode=replace", "auto")
Set-Content -Path $file_path -Value @("mode=replace", "auto")
# Define log file path for MSI installation
$log_file = "C:\notouchinstall.log"
$log_file = "C:\notouchinstall.log"
# Install MSI package using msiexec and output logs to file
Start-Process msiexec.exe -ArgumentList "/i", "\\sccm\deploy\NameofNoTouchOSMSIFile.msi", "/quiet", "/norestart", "/l*vx", "$log_file" -Wait
Start-Process msiexec.exe -ArgumentList "/i", "\\sccm\deploy\NameofNoTouchOSMSIFile.msi", "/quiet", "/norestart", "/l*vx", "$log_file" -Wait
# Restart the computer
Restart-Computer -Force
Restart-Computer -Force
- Approve the Script
- Run the script on the desired devices device will reboot install NoTouch OS over the primary drive and reboot once more into NoTouch OS and if the tcmgr dns record is correctly setup the device will auto appear in NoTouch Center.