AtlasModules/Scripts/Modules/ and are automatically loaded by initPowerShell.ps1.
AllRegistryUsers Module
Location:Modules/AllRegistryUsers/AllRegistryUsers.psm1
Get-RegUserPaths
Retrieves registry paths for all user profiles on the system. Syntax:-DontCheckEnv- Don’t check for ‘Volatile Environment’ key (includes built-in accounts)-NoDefault- Exclude the default user profile
- Only returns proper user accounts with ‘Volatile Environment’ key
- Filters out built-in accounts/SIDs unless
-DontCheckEnvis specified
Scripts Module
Location:Modules/Scripts/Scripts.psm1
Provides system-level configuration functions.
Backup-AtlasServices
Backs up all Windows service startup types to a registry file. Syntax:atlasServices.reg in AtlasModules/Other/
Example:
Update-ClientCBS
Removes advertisements from Windows Settings ‘Accounts’ page using ViVeTool. Syntax:- ViVeTool ZIP file must be present
- Windows 11 (exits on Windows 10)
Disable-CoreIsolation
Disables Core Isolation (VBS/Virtualization Based Security). Syntax:Disable-Devices
Disables unnecessary PnP devices and network adapter bindings. Syntax:- AMD PSP and SMBus
- Intel Management Engine and SMBus
- High precision event timer
- System speaker and timer
- Legacy devices
- Network components (ms_msclient, ms_server, ms_lldp, ms_lltdio, ms_rspndr)
Set-FileAssociations
Configures default file associations for web browsers. Syntax:-Browser- Browser name (“Brave”, “LibreWolf”, “Firefox”, “Google Chrome”)
Disable-Mitigations
Disables all CPU security mitigations for improved performance. Syntax:Optimize-PowerShellStartup
Optimizes PowerShell startup time using NGEN (Native Image Generator). Syntax:Set-ProfilePictures
Configures Atlas default profile pictures for all users. Syntax:user.png must be present in current directory
Set-PowerSettings
Configures Windows power settings. Syntax:-DisablePowerSaving- Disable power-saving features-DisableHibernation- Disable hibernation
Shortcuts Module
Location:Modules/Shortcuts/Shortcuts.psm1
New-Shortcut
Creates Windows shortcuts (.lnk files). Syntax:-Source- Path to target executable or file (required)-Destination- Path for the shortcut file (required)-WorkingDir- Working directory for the shortcut-Arguments- Command-line arguments-Icon- Path to icon file-IfExist- Only create if destination already exists
Utils Module
Location:Modules/Utils/Utils.psm1
Provides utility functions for common tasks.
Write-Title
Writes a formatted title with underline. Syntax:Read-Pause
Pauses execution and waits for user input. Syntax:-Message- Custom message (default: “Press Enter to exit”)-NewLine- Add blank line before prompt
Read-MessageBox
Displays a Windows message box dialog. Syntax:-Title- Dialog title (required)-Body- Dialog message (required)-Icon- Icon type (Stop, Question, Warning, Info)-Buttons- Button layout (Ok, OkCancel, AbortRetryIgnore, YesNoCancel, YesNo, RetryAndCancel)-Timeout- Auto-close timeout in seconds-NoTopmost- Don’t make dialog topmost window
Stop-ProcessesUnderRoots
Stops all processes running from specified root directories. Syntax:-RootsLower- Array of lowercase directory paths
Stop-TasksUnderRoots
Stops all scheduled tasks that execute from specified root directories. Syntax:-RootsLower- Array of lowercase directory paths
Other Modules
The following modules exist but contain implementation-specific functions not typically called directly:- Debloat - Functions for removing bloatware
- Miscellaneous - Miscellaneous configuration functions
- Performance - Performance optimization functions
- Privacy - Privacy-related configuration
- Qol - Quality of life improvements
- Themes - Theme management functions
- UserPaths - User path configuration
Module Loading
All modules are automatically loaded wheninitPowerShell.ps1 is executed: