# Scripts

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

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSldcgrF7Qp2MwNkKF%2F2018-09-02_23-47-54.png?alt=media\&token=1890d22c-34a2-4798-a159-b015ead15bc6)

## Disable-VmPasswordChange.ps1 <a href="#disable-vmpasswordchange-ps1" id="disable-vmpasswordchange-ps1"></a>

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

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSnl27mrwcTydI7enK%2F2018-09-03_0-00-56.png?alt=media\&token=4d185aa3-61e0-4c82-9ade-d2163dde10a3)

## Enable-RemoteRegistry.ps1 <a href="#enable-remoteregistry-ps1" id="enable-remoteregistry-ps1"></a>

Script enables the Remote Registry service

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSnSBqA_pzRmA0u5iV%2F2018-09-02_23-59-22.png?alt=media\&token=19eaa78e-4526-4c0b-9ddc-ebcba479bba9)

## Remove-OneDriveShortcut.ps1 <a href="#remove-onedriveshortcut-ps1" id="remove-onedriveshortcut-ps1"></a>

This script will remove the OneDrive shortcut from the Start Menu

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSn1y-jU70tzurahxn%2F2018-09-02_23-57-50.png?alt=media\&token=afcb84eb-56f6-439a-b7b4-2c3e58eb63b4)

## Set-OemModel.ps1 <a href="#set-oemmodel-ps1" id="set-oemmodel-ps1"></a>

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

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSm19_EEWtMYOA8xrO%2F2018-09-02_23-51-24.png?alt=media\&token=90913a1d-e216-4a15-ab4a-9c555ea7811e)

Script Processing

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLSkKX9HATPGmlE4aR4%2F-LLSmXpvu4TanR9ZOp2j%2F2018-09-02_23-55-52.png?alt=media\&token=c99d83c3-0243-4648-9cf6-b63384e73bfc)

Script Results

​

​
