A comprehensive toolkit to automate system maintenance tasks such as driver updates, Windows updates, system inventory creation, and Windows activation. Simplify deployment and streamline your workflow with these scripts.
- Driver Updates: Automates driver installation using DISM and a pre-configured driver repository.
- Windows Updates: Updates installed applications and the OS via
wingetandPSWindowsUpdate. - System Inventory: Creates a detailed hardware inventory and saves it to a network location.
- Windows Activation: Activates Windows using the system's original product key or third-party scripts.
- All-in-One Execution: Execute all tasks in sequence or selectively using a batch script.
- Clone the Repository:
git clone https://github.com/lKiMl0213/dpos.git
cd dpos-automation-toolkit- Prepare the Environment:
- Open PowerShell as Administrator and set the execution policy:
Set-ExecutionPolicy RemoteSigned -Scope Process -Force
- Install required dependencies:
- PSWindowsUpdate:
Install-Module -Name PSWindowsUpdate -Force
- winget: Pre-installed on most modern Windows versions.
- Driver Repository: Place driver files in the
extractedfolder in the repository root. - Network Configuration: Update the network path in
inv.ps1to match your inventory storage location:$networkPath = "\\path\to\network"
- Download as ZIP:
- Alternatively, click on
Code > Download ZIP, extract the contents, and runAioTst.batortest.bat. Refer to the Usage section for more details.
Prepare drivers using one of the following tools:
- DriverPack Solution: Extract drivers into a folder named
extractedin the repository root. Thedps.ps1script uses this folder for driver installation via DISM. - Snappy Driver Installer (SDI): Place the SDI executable in a folder named
SDIand update thedps.ps1script to reflect the executable name.
Ensure the respective folders are correctly set up to avoid errors during execution.
-
AioTst.bat:
Provides a menu-driven interface to execute all tasks or specific ones. Double-click to start and follow the prompts. -
test.bat:
Executes all.ps1scripts simultaneously. Use for testing purposes.
- AioTst.bat: Menu-driven batch script for task execution.
- dps.ps1: Installs drivers using DISM from the
extractedfolder. - att_win.ps1: Updates applications and the OS using
winget. - att_winNEW.ps1: Enhanced version of
att_win.ps1with error handling. - winupdt.ps1: Installs Windows updates via
PSWindowsUpdate. - inv.ps1: Generates a hardware inventory and saves it to a network location.
- get_key.ps1: Activates Windows using the original product key.
- ativ_win.ps1: Activates Windows using a third-party script.
.
├── AioTst.bat # All-in-One batch script
├── dps.ps1 # Driver update script
├── att_win.ps1 # Windows update script
├── att_winNEW.ps1 # Enhanced Windows update script
├── winupdt.ps1 # Windows Update via PSWindowsUpdate
├── inv.ps1 # System inventory script
├── get_key.ps1 # Windows activation script
├── ativ_win.ps1 # Third-party activation script
├── extracted/ # Folder containing DriverPack Solution files
├── sdi/ # Folder containing SDI files
├── log/ # Folder for logs
└── .gitignore # Git ignore file
Contributions are welcome! Fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.