To create a BAT file to install the "Microsoft Workplace Join for non-Windows 10 computers" tool and join a device to Azure AD, you can follow these general steps: 1.
Create a Shared Folder: - Put the tool executable and supporting files in a network-shared folder accessible by the machines needing to join Azure AD. 2.
Write the BAT Script: - Open Notepad and create a new text document. Add the commands to install the tool and join the device. Here's a basic outline:
Code:
batch REM Copy files from the network share to a local folder xcopy \\NetworkShare\MicrosoftWorkplaceJoin C:\Temp /E /Y REM Install the tool C:\Temp\AutoWorkplace.exe /install REM Join the device to Azure AD C:\Temp\AutoWorkplace.exe /join
3.
Save the...