Run unattended scripts at the highest privilege level.
This no longer works correctly.
- CMake (3.8 or greater)
- Visual Studio 2015/2017
- Windows 10 SDK (Preferably latest)
- Xbox One Devkit
It's important to note that debug builds will fail most of the time so it is best to always build with the release configuration as well as x64.
Generate a solution:
mkdir Build
cd Build
cmake ..\ -G "Visual Studio 15 2017 Win64"
Building:
cmake --build . --config Release
Example of generating and building:
mkdir Build
cd Build
cmake ..\ -G "Visual Studio 15 2017 Win64"
cmake --build . --config Release
xboxunattend.exe -usb - Run an unattended script located on the root of USB device
xboxunattend.exe -script <Script File Path> - Run a script from file path
See: https://wiki.xosft.dev/setup-dev-mode
Every Xbox One development kits contain the same developer tools environment has features that are common regardless of capability certificate but some applications will hide certain features intended for other development kit types. The feature this tool focuses on is known as "Unattended Utilities". It's a WinRT interface that is intended for use by ERA kits for tools automation. While this feature is "hidden" by the Dev Home application and is not configured correctly via the Xbox Device Portal for UWA/SRA kits, we can still fortunately utilise this component manually via WinRT.
An unattended script is just a fancier name for a simple batch script.
- https://conference.hitb.org/files/hitbsecconf2018pek/materials/D1T2%20-%20The%20Inner%20Workings%20of%20the%20Windows%20Runtime%20-%20James%20Forshaw.pdf
- https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt
- https://docs.microsoft.com/en-us/windows/win32/learnwin32/what-is-a-com-interface-