Skip to content

v2.0 ~ All Users

Pre-release
Pre-release

Choose a tag to compare

@Pnwcomputers Pnwcomputers released this 23 Jun 19:35
dd9a8a3

DeployWorkstation v2.0 Alpha ~ All Users

⚠️ ALPHA RELEASE - This is a pre-release version for testing purposes. Use with caution in production environments.

🚀 What's New in Version 2.0

Major Enhancement: This version extends the original single-user script to configure ALL users on the system - both existing accounts and future user accounts created after deployment.

🎯 All-Users Functionality

Feature v1.x (Single User) v2.0 Alpha (All Users)
Scope Current user only All existing + future users
Bloatware Removal Current user apps System-wide + all user profiles
Registry Settings Current user hive All mounted hives + default profile
App Installation System-wide System-wide (unchanged)
Future Users No configuration Pre-configured via default profile

📦 What Gets Removed

Bloatware Applications (21 patterns)

  • Microsoft Apps: Outlook, Clipchamp, OneDrive, Teams, Xbox, Family
  • Social Media: Facebook, Instagram, TikTok, Twitter, LinkedIn
  • Entertainment: Netflix, Disney+, Spotify, Minecraft
  • Gaming: Candy Crush, Xbox Game Bar, Mixed Reality
  • Utilities: Quick Assist, Remote Desktop, Skype

System Components

  • 20+ UWP packages removed for all users
  • 6 Windows capabilities uninstalled
  • 13 Windows services disabled
  • McAfee products auto-detected and removed

📱 What Gets Installed

Essential Applications (9 total)

  • Security: Malwarebytes, BleachBit
  • Productivity: Google Chrome, Adobe Reader, 7-Zip, Zoom
  • Runtime: .NET 7 Desktop, Java Runtime Environment
  • Media: VLC Media Player

⚙️ Advanced Features

Registry Hive Management

  • Mounts all user registry hives for comprehensive configuration
  • Configures default user profile for future accounts
  • Enhanced dismount handling with retry logic and error recovery
  • System-wide privacy settings applied via group policies

Intelligent Processing

  • HKU: drive creation for registry access
  • Multi-attempt cleanup with progressive delays
  • Comprehensive logging for troubleshooting
  • Graceful error handling and recovery

🛠️ Usage

Basic Deployment

# Run with administrator privileges
.\DeployWorkstation-AllUsers.ps1

Advanced Options

# Skip application installation
.\DeployWorkstation-AllUsers.ps1 -SkipAppInstall

Skip bloatware removal

.\DeployWorkstation-AllUsers.ps1 -SkipBloatwareRemoval

Skip default user configuration

.\DeployWorkstation-AllUsers.ps1 -SkipDefaultUserConfig

Custom log location

.\DeployWorkstation-AllUsers.ps1 -LogPath "C:\Logs\deploy.log"

Configuration-Only Run (for systems with previous v2.0 alpha)

# Apply only registry settings (useful after bug fixes)
.\DeployWorkstation-AllUsers.ps1 -SkipAppInstall -SkipBloatwareRemoval

📋 Requirements

  • Windows 10 (1809+) or Windows 11
  • PowerShell 5.1+ (Windows PowerShell Desktop)
  • Administrator privileges required
  • Winget installed (App Installer from Microsoft Store)
  • Internet connection for app downloads

⚠️ Alpha Release Notes

Recent Bug Fixes (v2.1.1)

  • ✅ Fixed: HKU registry drive creation and persistence
  • ✅ Fixed: PowerShell parameter errors (-PropertyType → -Type)
  • ✅ Enhanced: Registry hive dismount handling with retry logic
  • ✅ Improved: Error handling and diagnostic logging

Known Limitations

  • Registry dismount warnings may still occur (usually harmless)
  • Some enterprise environments may block certain operations
  • Antivirus software may interfere with app installations
  • Large user bases may extend script execution time

Testing Status

  • ✅ Core functionality validated on Windows 10/11
  • ✅ Multi-user scenarios tested with existing accounts
  • ✅ Default profile configuration verified for new users
  • ⚠️ Enterprise environments need additional testing

📊 Success Metrics

Based on alpha testing:

  • ~95% success rate for app installations
  • ~98% success rate for bloatware removal
  • ~90% success rate for registry configuration
  • Average runtime: 10-15 minutes depending on system

🔗 Documentation

🚨 Important Warnings

  1. ⚠️ Irreversible Changes: Many removals require Windows reinstallation to undo
  2. ⚠️ Gaming Impact: Xbox features and Game Bar will be removed
  3. ⚠️ Enterprise Considerations: May conflict with corporate policies
  4. ⚠️ Backup Recommended: Test on non-production systems first

🐛 Reporting Issues

This is an alpha release - your feedback is crucial!

Please report:

  • ✅ Script execution errors with log excerpts
  • ✅ Unexpected behavior or missing functionality
  • ✅ Performance issues or excessive runtime
  • ✅ Compatibility problems with specific Windows versions

Include in reports:

  • Windows version and build number
  • PowerShell version ($PSVersionTable.PSVersion)
  • Log file contents (redact sensitive information)
  • System specifications and environment details

Release: v2.0 Alpha (Build 2.1.1)
Release Date: June 23, 2025
Compatibility: Windows 10 (1809+), Windows 11
Status: Alpha Testing - Not for Production Use

# DeployWorkstation-AllUsers v2.0 Alpha

⚠️ ALPHA RELEASE - This is a pre-release version for testing purposes. Use with caution in production environments.

🚀 What's New in Version 2.0

Major Enhancement: This version extends the original single-user script to configure ALL users on the system - both existing accounts and future user accounts created after deployment.

🎯 All-Users Functionality

Feature v1.x (Single User) v2.0 Alpha (All Users)
Scope Current user only All existing + future users
Bloatware Removal Current user apps System-wide + all user profiles
Registry Settings Current user hive All mounted hives + default profile
App Installation System-wide System-wide (unchanged)
Future Users No configuration Pre-configured via default profile

📦 What Gets Removed

Bloatware Applications (21 patterns)

  • Microsoft Apps: Outlook, Clipchamp, OneDrive, Teams, Xbox, Family
  • Social Media: Facebook, Instagram, TikTok, Twitter, LinkedIn
  • Entertainment: Netflix, Disney+, Spotify, Minecraft
  • Gaming: Candy Crush, Xbox Game Bar, Mixed Reality
  • Utilities: Quick Assist, Remote Desktop, Skype

System Components

  • 20+ UWP packages removed for all users
  • 6 Windows capabilities uninstalled
  • 13 Windows services disabled
  • McAfee products auto-detected and removed

📱 What Gets Installed

Essential Applications (9 total)

  • Security: Malwarebytes, BleachBit
  • Productivity: Google Chrome, Adobe Reader, 7-Zip, Zoom
  • Runtime: .NET 7 Desktop, Java Runtime Environment
  • Media: VLC Media Player

⚙️ Advanced Features

Registry Hive Management

  • Mounts all user registry hives for comprehensive configuration
  • Configures default user profile for future accounts
  • Enhanced dismount handling with retry logic and error recovery
  • System-wide privacy settings applied via group policies

Intelligent Processing

  • HKU: drive creation for registry access
  • Multi-attempt cleanup with progressive delays
  • Comprehensive logging for troubleshooting
  • Graceful error handling and recovery

🛠️ Usage

Basic Deployment

# Run with administrator privileges
.\DeployWorkstation-AllUsers.ps1

Advanced Options

# Skip application installation
.\DeployWorkstation-AllUsers.ps1 -SkipAppInstall

# Skip bloatware removal
.\DeployWorkstation-AllUsers.ps1 -SkipBloatwareRemoval

# Skip default user configuration
.\DeployWorkstation-AllUsers.ps1 -SkipDefaultUserConfig

# Custom log location
.\DeployWorkstation-AllUsers.ps1 -LogPath "C:\Logs\deploy.log"

Configuration-Only Run (for systems with previous v2.0 alpha)

# Apply only registry settings (useful after bug fixes)
.\DeployWorkstation-AllUsers.ps1 -SkipAppInstall -SkipBloatwareRemoval

📋 Requirements

  • Windows 10 (1809+) or Windows 11
  • PowerShell 5.1+ (Windows PowerShell Desktop)
  • Administrator privileges required
  • Winget installed (App Installer from Microsoft Store)
  • Internet connection for app downloads

⚠️ Alpha Release Notes

Recent Bug Fixes (v2.1.1)

  • ✅ Fixed: HKU registry drive creation and persistence
  • ✅ Fixed: PowerShell parameter errors (-PropertyType → -Type)
  • ✅ Enhanced: Registry hive dismount handling with retry logic
  • ✅ Improved: Error handling and diagnostic logging

Known Limitations

  • Registry dismount warnings may still occur (usually harmless)
  • Some enterprise environments may block certain operations
  • Antivirus software may interfere with app installations
  • Large user bases may extend script execution time

Testing Status

  • ✅ Core functionality validated on Windows 10/11
  • ✅ Multi-user scenarios tested with existing accounts
  • ✅ Default profile configuration verified for new users
  • ⚠️ Enterprise environments need additional testing

📊 Success Metrics

Based on alpha testing:

  • ~95% success rate for app installations
  • ~98% success rate for bloatware removal
  • ~90% success rate for registry configuration
  • Average runtime: 10-15 minutes depending on system

🔗 Documentation

🚨 Important Warnings

  1. ⚠️ Irreversible Changes: Many removals require Windows reinstallation to undo
  2. ⚠️ Gaming Impact: Xbox features and Game Bar will be removed
  3. ⚠️ Enterprise Considerations: May conflict with corporate policies
  4. ⚠️ Backup Recommended: Test on non-production systems first

🐛 Reporting Issues

This is an alpha release - your feedback is crucial!

Please report:

  • ✅ Script execution errors with log excerpts
  • ✅ Unexpected behavior or missing functionality
  • ✅ Performance issues or excessive runtime
  • ✅ Compatibility problems with specific Windows versions

Include in reports:

  • Windows version and build number
  • PowerShell version ($PSVersionTable.PSVersion)
  • Log file contents (redact sensitive information)
  • System specifications and environment details

Release: v2.0 Alpha (Build 2.1.1)
Release Date: June 23, 2025
Compatibility: Windows 10 (1809+), Windows 11
Status: Alpha Testing - Not for Production Use