Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.93 KB

README.md

File metadata and controls

54 lines (45 loc) · 1.93 KB

XboxUnattend

Run unattended scripts at the highest privilege level.

Notice

This no longer works correctly.

Prerequisites

  • CMake (3.8 or greater)
  • Visual Studio 2015/2017
  • Windows 10 SDK (Preferably latest)
  • Xbox One Devkit

Compiling

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

Usage

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

How does it work?

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.

What is an 'unattended' script?

An unattended script is just a fancier name for a simple batch script.

References