LogoLogo
OSDeploy.comTwitterGitHub
  • Overview
  • OSDeploy Home
  • Download
    • Release Notes
    • GitHub
    • LGPO
    • OSDeploy PowerShell Module
  • Docs
    • Deployment
      • ConfigMgr New PC TS Package
      • ConfigMgr New PC TS Unattend.xml
      • ConfigMgr New PC TS Provisioning Package
      • MDT New PC TS
    • Customize
      • Alpha
      • Apps
      • Background
      • LocalPolicy
        • ImportGPO
        • ImportTXT
        • LGPO
        • Import-GPO.ps1
      • RegistryXML
      • Scripts
      • Start
      • Theme
      • Zeta
    • Group Policies
      • Best Practices
        • Edit Local Policy with Reg Keys
      • Active Directory GPO
      • Build a Domain Controller
      • Update ADMX Templates
      • Local vs Domain Policies
      • Import OSDeploy GPOs
      • Edit OSDeploy Branding GPO
    • Provisioning Packages
      • PowerShell Script to PPKG
      • OSConfig to PPKG
    • Registry
      • Group Policy Preferences
      • GPP Registry.xml
      • RegistryXML Files
      • Convert REG to RegistryXML
      • Apply RegistryXML Files
    • How To
      • Theme Customization
Powered by GitBook
On this page
  • Disable-VmPasswordChange.ps1
  • Enable-RemoteRegistry.ps1
  • Remove-OneDriveShortcut.ps1
  • Set-OemModel.ps1

Was this helpful?

  1. Docs
  2. Customize

Scripts

PreviousRegistryXMLNextStart

Last updated 5 years ago

Was this helpful?

Scripts are where you should put general PowerShell scripts to configure your deployments. Samples have been provided.

Disable-VmPasswordChange.ps1

Script sets a registry value if the Computer Model is like 'Virtual'. The Machine Password change is what prevents reverting back to old snapshots on Domain joined computers

Enable-RemoteRegistry.ps1

Script enables the Remote Registry service

Remove-OneDriveShortcut.ps1

This script will remove the OneDrive shortcut from the Start Menu

Set-OemModel.ps1

The purpose of this script is to set the OEM information with the Computer Manufacturer and Model.

Script Processing

Script Results

​

​