🆕OSDCloudGUI Defaults

OSD 23.5.24.1+ Updated May 24, 2023

Several of you have been asking me about setting the OSDCloudGUI defaults. So let's get into it. First of all you need to be running OSD PowerShell Module 23.5.24.1 or newer, so make sure you have that updated

Start-OSDCloudGUI.json

In Windows, launch Start-OSDCloudGUI and focus on the first line. This is the default OSDCloudGUI configuration

Copy this file to your OSDCloud Automate directory in your OSDCloud Workspace

Edit Start-OSDCloudGUI.json

Start cleaning up this file and remove everything that does not need to be modified, especially the Computer information and the DriverPacks. You should end up with something similar to what I have below

 {
    "BrandName":  "OSDCloud",
    "BrandColor":  "#0096D6",
    "OSActivation":  "Volume",
    "OSEdition":  "Enterprise",
    "OSLanguage":  "en-us",
    "OSImageIndex":  6,
    "OSName":  "Windows 11 22H2 x64",
    "OSReleaseID":  "22H2",
    "OSVersion":  "Windows 11",
    "OSActivationValues":  [
                               "Retail",
                               "Volume"
                           ],
    "OSEditionValues":  [
                            "Home",
                            "Home N",
                            "Home Single Language",
                            "Education",
                            "Education N",
                            "Enterprise",
                            "Enterprise N",
                            "Pro",
                            "Pro N"
                        ],
    "OSLanguageValues":  [
                             "ar-sa",
                             "bg-bg",
                             "cs-cz",
                             "da-dk",
                             "de-de",
                             "el-gr",
                             "en-gb",
                             "en-us",
                             "es-es",
                             "es-mx",
                             "et-ee",
                             "fi-fi",
                             "fr-ca",
                             "fr-fr",
                             "he-il",
                             "hr-hr",
                             "hu-hu",
                             "it-it",
                             "ja-jp",
                             "ko-kr",
                             "lt-lt",
                             "lv-lv",
                             "nb-no",
                             "nl-nl",
                             "pl-pl",
                             "pt-br",
                             "pt-pt",
                             "ro-ro",
                             "ru-ru",
                             "sk-sk",
                             "sl-si",
                             "sr-latn-rs",
                             "sv-se",
                             "th-th",
                             "tr-tr",
                             "uk-ua",
                             "zh-cn",
                             "zh-tw"
                         ],
    "OSNameValues":  [
                         "Windows 11 22H2 x64",
                         "Windows 11 21H2 x64",
                         "Windows 10 22H2 x64",
                         "Windows 10 21H2 x64",
                         "Windows 10 21H1 x64",
                         "Windows 10 20H2 x64",
                         "Windows 10 2004 x64",
                         "Windows 10 1909 x64",
                         "Windows 10 1903 x64",
                         "Windows 10 1809 x64"
                     ],
    "OSReleaseIDValues":  [
                              "22H2",
                              "21H2",
                              "21H1",
                              "20H2",
                              "2004",
                              "1909",
                              "1903",
                              "1809"
                          ],
    "OSVersionValues":  [
                            "Windows 11",
                            "Windows 10"
                        ],
    "captureScreenshots":  false,
    "ClearDiskConfirm":  true,
    "restartComputer":  true,
    "updateDiskDrivers":  true,
    "updateFirmware":  false,
    "updateNetworkDrivers":  true,
    "updateSCSIDrivers":  true
}

Collapsing a few items will help you see the design of this file. There is Branding, Defaults, Values, and Menu Options

Branding

In my configuration, I'll change the default branding to the following. If you have no plans on changing the branding, you can remove these entries

"BrandName":  "David Cloud",
"BrandColor":  "RED",

Defaults

These can be difficult to configure since you have to get the OSImageIndex correct, but you can use the GUI to get that value. In my case I changed the defaults from Enterprise Volume to Pro Retail, as well as changing the Language to en-gb

"OSActivation":  "Retail",
"OSEdition":  "Pro",
"OSLanguage":  "en-gb",
"OSImageIndex":  9,
"OSName":  "Windows 11 22H2 x64",
"OSReleaseID":  "22H2",
"OSVersion":  "Windows 11",

Values

These are all the possible Values that appear in the combobox. I'll make some minor adjustments and limit my deployment to 22H2 only, as well as cleaning up the Editions

"OSActivationValues":  [
                            "Retail",
                            "Volume"
                        ],
"OSEditionValues":  [
                        "Home",
                        "Education",
                        "Enterprise",
                        "Pro"
                    ],
"OSLanguageValues":  [
                            "en-gb",
                            "en-us"
                        ],
"OSNameValues":  [
                        "Windows 11 22H2 x64",
                        "Windows 10 22H2 x64"
                    ],
"OSReleaseIDValues":  [
                            "22H2"
                        ],
"OSVersionValues":  [
                        "Windows 11",
                        "Windows 10"
                    ],

Finally some changes to the Menu Options, enabling Firmware updates and removing the Clear-Disk confirmation prompt (dangerous)

"ClearDiskConfirm":  false,
"restartComputer":  true,
"updateDiskDrivers":  true,
"updateFirmware":  true,
"updateNetworkDrivers":  true,
"updateSCSIDrivers":  true

Complete JSON

Here's what my complete file looks like. I'll give it a quick save

{
    "BrandName":  "David Cloud",
    "BrandColor":  "RED",
    "OSActivation":  "Retail",
    "OSEdition":  "Pro",
    "OSLanguage":  "en-gb",
    "OSImageIndex":  9,
    "OSName":  "Windows 11 22H2 x64",
    "OSReleaseID":  "22H2",
    "OSVersion":  "Windows 11",
    "OSActivationValues":  [
                                "Retail",
                                "Volume"
                            ],
    "OSEditionValues":  [
                            "Home",
                            "Education",
                            "Enterprise",
                            "Pro"
                        ],
    "OSLanguageValues":  [
                                "en-gb",
                                "en-us"
                            ],
    "OSNameValues":  [
                            "Windows 11 22H2 x64",
                            "Windows 10 22H2 x64"
                        ],
    "OSReleaseIDValues":  [
                                "22H2"
                            ],
    "OSVersionValues":  [
                            "Windows 11",
                            "Windows 10"
                        ],
    "ClearDiskConfirm":  false,
    "restartComputer":  true,
    "updateDiskDrivers":  true,
    "updateFirmware":  true,
    "updateNetworkDrivers":  true,
    "updateSCSIDrivers":  true
}

Rebuild ISO

Now I can rebuild my OSDCloud ISO so my saved file will be available when OSDCloud starts. I'm also side-loading the OSD Module as I have unreleased changes that I haven't released to the PowerShell Gallery yet. Finally I set OSDCloudGUI to start automatically when WinPE starts up

Boot to WinPE and Test

When WinPE started up, OSDCloudGUI automatically launched. A quick check at my minimized PowerShell window shows that it found the configuration file and imported it. OSDCloudGUI shows the defaults that I selected and my custom David Cloud Branding

My Operating Systems are limited to Windows 10 and Windows 11 22H2, and the Windows 11 22H2 Business WIM that I had in my ISO:\OSDCloud\OS directory

Windows Edition is set properly and several values were removed

Languages are incredibly limited to just what I have configured

Finally my Deployment Options are set

Last updated