Added Files
@@ -0,0 +1,185 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||
<settings pass="windowsPE">
|
||||
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<SetupUILanguage>
|
||||
<UILanguage>en-US</UILanguage>
|
||||
</SetupUILanguage>
|
||||
<InputLocale>047:00000407</InputLocale>
|
||||
<UILanguage>en-US</UILanguage>
|
||||
<UserLocale>de-DE</UserLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DiskConfiguration>
|
||||
<Disk wcm:action="add">
|
||||
<CreatePartitions>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Type>Primary</Type>
|
||||
<Size>100</Size>
|
||||
</CreatePartition>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Extend>true</Extend>
|
||||
<Order>2</Order>
|
||||
<Type>Primary</Type>
|
||||
</CreatePartition>
|
||||
</CreatePartitions>
|
||||
<ModifyPartitions>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Active>true</Active>
|
||||
<Format>NTFS</Format>
|
||||
<Label>System Reserved</Label>
|
||||
<Order>1</Order>
|
||||
<PartitionID>1</PartitionID>
|
||||
<TypeID>0x27</TypeID>
|
||||
</ModifyPartition>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Active>true</Active>
|
||||
<Format>NTFS</Format>
|
||||
<Label>Boot</Label>
|
||||
<Letter>C</Letter>
|
||||
<Order>2</Order>
|
||||
<PartitionID>2</PartitionID>
|
||||
</ModifyPartition>
|
||||
</ModifyPartitions>
|
||||
<DiskID>0</DiskID>
|
||||
<WillWipeDisk>true</WillWipeDisk>
|
||||
</Disk>
|
||||
<WillShowUI>OnError</WillShowUI>
|
||||
</DiskConfiguration>
|
||||
<ImageInstall>
|
||||
<OSImage>
|
||||
<InstallTo>
|
||||
<DiskID>0</DiskID>
|
||||
<PartitionID>2</PartitionID>
|
||||
</InstallTo>
|
||||
<WillShowUI>OnError</WillShowUI>
|
||||
<InstallFrom>
|
||||
<MetaData wcm:action="add">
|
||||
<Key>/image/name</Key>
|
||||
<Value>Windows 10 Enterprise</Value>
|
||||
</MetaData>
|
||||
</InstallFrom>
|
||||
</OSImage>
|
||||
</ImageInstall>
|
||||
<UserData>
|
||||
<AcceptEula>true</AcceptEula>
|
||||
<ProductKey>
|
||||
<Key></Key>
|
||||
<WillShowUI>OnError</WillShowUI>
|
||||
</ProductKey>
|
||||
</UserData>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="offlineServicing">
|
||||
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DriverPaths>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
|
||||
<Credentials />
|
||||
<Path>C:\Drivers</Path>
|
||||
</PathAndCredentials>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
|
||||
<Credentials />
|
||||
<Path>C:\Intel</Path>
|
||||
</PathAndCredentials>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="23">
|
||||
<Credentials />
|
||||
<Path>C:\SWSetup</Path>
|
||||
</PathAndCredentials>
|
||||
</DriverPaths>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="specialize">
|
||||
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<TimeZone>W. Europe Standard Time</TimeZone>
|
||||
<RegisteredOrganization>enabling Technology</RegisteredOrganization>
|
||||
<RegisteredOwner>enabling Technology</RegisteredOwner>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<InputLocale>047:00000407</InputLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
<UserLocale>de-DE</UserLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<RunSynchronous>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Description>Set Execution Policy 64 Bit</Description>
|
||||
<Path>C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -ErrorAction SilentlyContinue"</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
</RunSynchronousCommand>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>2</Order>
|
||||
<Description>Set Execution Policy 32 Bit</Description>
|
||||
<Path>C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -ErrorAction SilentlyContinue"</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
</RunSynchronousCommand>
|
||||
</RunSynchronous>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-TPM-Tasks" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<ClearTpm>1</ClearTpm>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="oobeSystem">
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<OOBE>
|
||||
<HideEULAPage>true</HideEULAPage>
|
||||
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
||||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
||||
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
||||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
||||
<ProtectYourPC>3</ProtectYourPC>
|
||||
<SkipMachineOOBE>true</SkipMachineOOBE>
|
||||
<SkipUserOOBE>true</SkipUserOOBE>
|
||||
<UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
|
||||
</OOBE>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Reseal>
|
||||
<Mode>Audit</Mode>
|
||||
<ForceShutdownNow>false</ForceShutdownNow>
|
||||
</Reseal>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="auditUser">
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<RunSynchronous>
|
||||
<!-- This will be the last step in this sequence -->
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\BootOOBE.ps1</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
<Description>Prepare OOBE</Description>
|
||||
</RunSynchronousCommand>
|
||||
</RunSynchronous>
|
||||
</component>
|
||||
</settings>
|
||||
<cpi:offlineImage cpi:source="catalog://friend/UA/sources/windows10enterprise_legacy.clg"
|
||||
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
</unattend>
|
||||
@@ -0,0 +1,202 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||
<settings pass="windowsPE">
|
||||
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<SetupUILanguage>
|
||||
<UILanguage>en-US</UILanguage>
|
||||
</SetupUILanguage>
|
||||
<InputLocale>047:00000407</InputLocale>
|
||||
<UILanguage>en-US</UILanguage>
|
||||
<UserLocale>de-DE</UserLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DiskConfiguration>
|
||||
<Disk wcm:action="add">
|
||||
<DiskID>0</DiskID>
|
||||
<WillWipeDisk>true</WillWipeDisk>
|
||||
<CreatePartitions>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Type>Primary</Type>
|
||||
<Size>300</Size>
|
||||
</CreatePartition>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Order>2</Order>
|
||||
<Type>EFI</Type>
|
||||
<Size>100</Size>
|
||||
</CreatePartition>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Order>3</Order>
|
||||
<Type>MSR</Type>
|
||||
<Size>128</Size>
|
||||
</CreatePartition>
|
||||
<CreatePartition wcm:action="add">
|
||||
<Order>4</Order>
|
||||
<Type>Primary</Type>
|
||||
<Extend>true</Extend>
|
||||
</CreatePartition>
|
||||
</CreatePartitions>
|
||||
<ModifyPartitions>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<PartitionID>1</PartitionID>
|
||||
<Label>WINRE</Label>
|
||||
<Format>NTFS</Format>
|
||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
||||
</ModifyPartition>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Order>2</Order>
|
||||
<PartitionID>2</PartitionID>
|
||||
<Label>System</Label>
|
||||
<Format>FAT32</Format>
|
||||
</ModifyPartition>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Order>3</Order>
|
||||
<PartitionID>3</PartitionID>
|
||||
</ModifyPartition>
|
||||
<ModifyPartition wcm:action="add">
|
||||
<Order>4</Order>
|
||||
<PartitionID>4</PartitionID>
|
||||
<Label>Boot</Label>
|
||||
<Letter>C</Letter>
|
||||
<Format>NTFS</Format>
|
||||
</ModifyPartition>
|
||||
</ModifyPartitions>
|
||||
</Disk>
|
||||
</DiskConfiguration>
|
||||
<ImageInstall>
|
||||
<OSImage>
|
||||
<InstallTo>
|
||||
<DiskID>0</DiskID>
|
||||
<PartitionID>4</PartitionID>
|
||||
</InstallTo>
|
||||
<WillShowUI>OnError</WillShowUI>
|
||||
<InstallFrom>
|
||||
<MetaData wcm:action="add">
|
||||
<Key>/image/name</Key>
|
||||
<Value>Windows 10 Enterprise</Value>
|
||||
</MetaData>
|
||||
</InstallFrom>
|
||||
</OSImage>
|
||||
</ImageInstall>
|
||||
<UserData>
|
||||
<AcceptEula>true</AcceptEula>
|
||||
<ProductKey>
|
||||
<Key></Key>
|
||||
<WillShowUI>OnError</WillShowUI>
|
||||
</ProductKey>
|
||||
</UserData>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="offlineServicing">
|
||||
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DriverPaths>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
|
||||
<Credentials />
|
||||
<Path>C:\Drivers</Path>
|
||||
</PathAndCredentials>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
|
||||
<Credentials />
|
||||
<Path>C:\Intel</Path>
|
||||
</PathAndCredentials>
|
||||
<PathAndCredentials wcm:action="add" wcm:keyValue="23">
|
||||
<Credentials />
|
||||
<Path>C:\SWSetup</Path>
|
||||
</PathAndCredentials>
|
||||
</DriverPaths>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="specialize">
|
||||
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<TimeZone>W. Europe Standard Time</TimeZone>
|
||||
<RegisteredOrganization>enabling Technology</RegisteredOrganization>
|
||||
<RegisteredOwner>enabling Technology</RegisteredOwner>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<InputLocale>047:00000407</InputLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
<UserLocale>de-DE</UserLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<RunSynchronous>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Description>Set Execution Policy 64 Bit</Description>
|
||||
<Path>C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -ErrorAction SilentlyContinue"</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
</RunSynchronousCommand>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>2</Order>
|
||||
<Description>Set Execution Policy 32 Bit</Description>
|
||||
<Path>C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -ErrorAction SilentlyContinue"</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
</RunSynchronousCommand>
|
||||
</RunSynchronous>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-TPM-Tasks" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<ClearTpm>1</ClearTpm>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="oobeSystem">
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<OOBE>
|
||||
<HideEULAPage>true</HideEULAPage>
|
||||
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
||||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
||||
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
||||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
||||
<ProtectYourPC>3</ProtectYourPC>
|
||||
<SkipMachineOOBE>true</SkipMachineOOBE>
|
||||
<SkipUserOOBE>true</SkipUserOOBE>
|
||||
<UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
|
||||
</OOBE>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Reseal>
|
||||
<Mode>Audit</Mode>
|
||||
<ForceShutdownNow>false</ForceShutdownNow>
|
||||
</Reseal>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="auditUser">
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<RunSynchronous>
|
||||
<!-- This will be the last step in this sequence -->
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\BootOOBE.ps1</Path>
|
||||
<WillReboot>Never</WillReboot>
|
||||
<Description>Prepare OOBE</Description>
|
||||
</RunSynchronousCommand>
|
||||
</RunSynchronous>
|
||||
</component>
|
||||
</settings>
|
||||
<cpi:offlineImage cpi:source="catalog://friend/UA/sources/windows10enterprise_uefi.clg"
|
||||
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
</unattend>
|
||||
@@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, enabling Technology <http://enatec.io>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,123 @@
|
||||
# Windows 10 Client System Bootstrapper
|
||||
|
||||
enabling Technology progressive OS deployment (ETPOSD)
|
||||
|
||||
Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
|
||||
**This will be moved to a separate repository soon.**
|
||||
|
||||
## What is this?
|
||||
|
||||
It is part of an internal enabling Technology Project.
|
||||
|
||||
We had to deploy a lot of new clients and with this approach we just had to provide an ISO Image/USB-Stick to get that going.
|
||||
|
||||
After the installation, you can use the pre deployed PowerShell scripts to upload the AutoPilot Info to your Microsoft 365 Tenant, that will speed up future installations!
|
||||
|
||||
## How-To
|
||||
|
||||
If you apply _all_ the Files to you Windows 10 ISO file and create a bootable image from it, you will have a Jump started Windows 10 Image.
|
||||
|
||||
Rename the `Autounattend_Legacy.xml` or `Autounattend_UEFI.xml` file to `Autounattend.xml` if you want to have a fully unattend installation until the login to your Microsoft 365 tenant (See the hints, notes, and remarks below)!
|
||||
|
||||
It will do a plain installation and enroll to AzureAD and Intune (AutoPilot).
|
||||
|
||||
When the Installation is finished, login with a Microsoft 365 user that have Admin permissions on the local System and execute `c:\install\start.cmd`.
|
||||
|
||||
The `c:\install\start.cmd` file is a wrapper that will do all the magic in the background for you.
|
||||
|
||||
Please remember to download the Office 365 Click-2-Run sources before you start the installation! You can download them before you create your install image, this will speed up the process and you don't have to download the sources for each client system!
|
||||
|
||||
The Office Suite will be removed soon from the scripts! We use Intune to deploy the Office 365 Suite and Microsoft 365 to activate it.
|
||||
|
||||
## Please Note
|
||||
|
||||
1st of all: Please review the `c:\install\start.cmd`! Skip the parts that you don't want to be applied. We are not Batch experts, as you might see very quickly.
|
||||
|
||||
We decided to stay with the Batch, because this was in use way before we established this new approach and all the users knew about the directory and this file!
|
||||
|
||||
1. Please review all the XML, Batch, and PowerShell Files before you apply them!
|
||||
2. Download Office 365 (See the Batch) - Review the XML
|
||||
3. Download the Lenovo specific files (Removed to prevent any kind of licensing issues)
|
||||
4. Review `\srources\$OEM$\$$\System32\sysprep\unattend.xml` very careful
|
||||
5. The `\srources\$OEM$\$$\System32\Autopilot\AutopilotConfigurationFile.json` will enroll your system to Intune in our test Tenant - Modify or remove this file!
|
||||
6. The `\ENATEC.ppkg` file will bind your system to AzureAD in our test Tenant - Replace or remove this file!
|
||||
7. The `\ENATEC.ppkg` file will rename your system - Replace or remove this file!
|
||||
8. Replace the KMS Server **kms.enatec.net** with your own KMS server. You can also use Microsoft 365 to activate your Microsoft Windows 10 and/or your Office 365 Office Suite, and that is recommended for future use.
|
||||
|
||||
### Office 365 - Click-to-Run
|
||||
|
||||
The XML is still using KMS to activate the Office Suite! You might want to change this to met you own licensing. We will change everything towards online activation in the future!
|
||||
|
||||
## Change-log
|
||||
|
||||
Public Change-log (no longer maintained):
|
||||
|
||||
- 1.4.7: Add KMS Ping checks for Windows and Office activation
|
||||
- 1.4.6: Test Release - ALL
|
||||
- 1.4.5: Change the logging and add errorlevel to all enties - JHO
|
||||
- 1.4.4: Rewrite this Wrapper Batch file to make it more robust - JHO
|
||||
- 1.4.3: Tweak the BitLocker part and add auto upload to AzureAD/Intune - JHO
|
||||
- 1.4.2: Add Storage Sense part - PDU
|
||||
- 1.4.1: Test Release - ALL
|
||||
- 1.4.0: Bugfix Release (Error handling) - PDU
|
||||
- 1.3.12: Test Release - ALL
|
||||
- 1.3.11: Hardware Vendor handling changed - PDU
|
||||
- 1.3.10: Hardware Vendor handling online test - JHO
|
||||
- 1.3.9: Automated Driver installer added - PDU
|
||||
- 1.3.8: WinGet added - JHO
|
||||
- 1.3.7: Test with Windows 10 Enterprise Release 2009 - ALL
|
||||
- 1.3.6: Add the BitLocker part - JHO
|
||||
- 1.3.5: Remove the Office sources after installation - PDU
|
||||
- 1.3.4: Change the Autoupdate handling - PDU
|
||||
- 1.3.3: Remove the WinGet Test - JHO
|
||||
- 1.3.2: Test Release - ALL
|
||||
- 1.3.1: Add a WinGet Test - PDU
|
||||
- 1.3.0: Test Release - ALL
|
||||
- 1.2.6: Removed all Batch Modules - JHO
|
||||
- 1.2.5: Test Release - ALL
|
||||
- 1.2.4: Bugfix for the Modules - JHO
|
||||
- 1.2.3: Test Release - ALL
|
||||
- 1.2.2: Removed AutoPilot automated Upload due to login issues - JHO
|
||||
- 1.2.1: Automated AutoPilot info upload to Intune introduced - JHO
|
||||
- 1.2.0: Rewrite the complete Wrapper: Use Batch Modules - PDU
|
||||
- 1.1.3: Test Release - ALL
|
||||
- 1.1.2: Remove the WiFi Setup - JHO
|
||||
- 1.1.1: Remove the Ping and VPN Test - JHO
|
||||
- 1.1.0: Remove the local Domain login - JHO
|
||||
- 1.0.8: Test Release - ALL
|
||||
- 1.0.7: Rename the Log File (Now the Module Name) - RBU
|
||||
- 1.0.6: Change the Log format (Add Time Stamps) - RDU
|
||||
- 1.0.5: Change Naming convention (Removed here, no in the Provisioning package) - JHO
|
||||
- 1.0.4: Test Release - ALL
|
||||
- 1.0.3: Add Intune/AzureAD Provisioning package - JHO
|
||||
- 1.0.2: Test Release - ALL
|
||||
- 1.0.1: Hardcoded AutoPilot Info added - JHO
|
||||
- 1.0.0: Changed to this Wrapper - JHO
|
||||
- Older: Internal test Releases - ALL
|
||||
|
||||
Changes for the scripts should be documented in the scripts file itself.
|
||||
|
||||
## License
|
||||
|
||||
### BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, enabling Technology - All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
**THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.**
|
||||
|
||||
## Disclaimer
|
||||
|
||||
- Use at your own risk, etc.
|
||||
- This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty in any kind
|
||||
- This is a third-party Software
|
||||
- The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its subsidiaries in any way
|
||||
- The Software is not supported by Microsoft Corp (MSFT)
|
||||
- By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
- If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
@@ -0,0 +1,90 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Set NTP-Server and Time
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetNtpServerAndTime
|
||||
TITLE SetNtpServerAndTime
|
||||
SET Module=SetNtpServerAndTime
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
%SystemRoot%\System32\net.exe stop w32time >nul 2>&1
|
||||
%SystemRoot%\System32\w32tm.exe /config /syncfromflags:manual /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org" >nul 2>&1
|
||||
%SystemRoot%\System32\net.exe start w32time >nul 2>&1
|
||||
%SystemRoot%\System32\sc.exe config w32time start= auto >nul 2>&1
|
||||
%SystemRoot%\System32\w32tm.exe /resync /force >nul 2>&1
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Set Powerplan to High Performance
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetPowerPlanToHighPerformance
|
||||
TITLE SetPowerPlanToHighPerformance
|
||||
SET Module=SetPowerPlanToHighPerformance
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Set Power Plan to High Performance
|
||||
ECHO %TIME:~0,8% Set Power Plan to High Performance >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "c:\scripts\PowerShell\Set-PowerPlanToHighPerformance.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable the Network Discovery Prompt Window
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableTheNetworkDiscoveryPromptWindow
|
||||
TITLE DisableTheNetworkDiscoveryPromptWindow
|
||||
SET Module=DisableTheNetworkDiscoveryPromptWindow
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable the network discovery prompt window
|
||||
ECHO %TIME:~0,8% Disable the network discovery prompt window >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: NoBackgroundImageAtTheLogonPage
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:NoBackgroundImageAtTheLogonPage
|
||||
TITLE NoBackgroundImageAtTheLogonPage
|
||||
SET Module=NoBackgroundImageAtTheLogonPage
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO No Background Image at the Logon Page
|
||||
ECHO %TIME:~0,8% No Background Image at the Logon Page >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v DisableLogonBackgroundImage /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Increase Taskbar Transparency Level
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:IncreaseTaskbarTransparencyLevel
|
||||
TITLE IncreaseTaskbarTransparencyLevel
|
||||
SET Module=IncreaseTaskbarTransparencyLevel
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Increase Taskbar Transparency Level
|
||||
ECHO %TIME:~0,8% Increase Taskbar Transparency Level >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v UseOLEDTaskbarTransparency /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,94 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Quick Shutdown
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:QuickShutdown
|
||||
TITLE QuickShutdown
|
||||
SET Module=QuickShutdown
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Quick Shutdown
|
||||
ECHO %TIME:~0,8% Quick Shutdown >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 1000 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Set wait to kill service timeout to 1000
|
||||
ECHO %TIME:~0,8% Set wait to kill service timeout to 1000 >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 1000 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable First Time Sign In Animation
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableFirstTimeSignInAnimation
|
||||
TITLE DisableFirstTimeSignInAnimation
|
||||
SET Module=DisableFirstTimeSignInAnimation
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable First Time Sign-in Animation
|
||||
ECHO %TIME:~0,8% Disable First Time Sign-in Animation >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable The Lock Screen
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableTheLockScreen
|
||||
TITLE DisableTheLockScreen
|
||||
SET Module=DisableTheLockScreen
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable the Lock Screen
|
||||
ECHO %TIME:~0,8% Disable the Lock Screen >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v NoLockScreen /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Turn Off Fast Startup
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:TurnOffFastStartup
|
||||
TITLE TurnOffFastStartup
|
||||
SET Module=TurnOffFastStartup
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Turn off Fast Startup
|
||||
ECHO %TIME:~0,8% Turn off Fast Startup >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Privacy Settings Experience At Sign In
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisablePrivacySettingsExperienceAtSignIn
|
||||
TITLE DisablePrivacySettingsExperienceAtSignIn
|
||||
SET Module=DisablePrivacySettingsExperienceAtSignIn
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Privacy Settings Experience at Sign-in
|
||||
ECHO %TIME:~0,8% Disable Privacy Settings Experience at Sign-in >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OOBE" /v DisablePrivacyExperience /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Telemetry
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableTelemetry
|
||||
TITLE DisableTelemetry
|
||||
SET Module=DisableTelemetry
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Telemetry
|
||||
ECHO %TIME:~0,8% Disable Telemetry >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Allow Microsoft Updates For Other Products
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:AllowMicrosoftUpdatesForOtherProducts
|
||||
TITLE AllowMicrosoftUpdatesForOtherProducts
|
||||
SET Module=AllowMicrosoftUpdatesForOtherProducts
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Allow Microsoft Updates for other products
|
||||
ECHO %TIME:~0,8% Allow Microsoft Updates for other products >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971f918-a847-4430-9279-4a52d1efe18d" /v RegisteredWithAU /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Unnecessarily Writing On SSD Will Shorten The Lifetime
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:UnnecessarilyWritingOnSSDWillShortenTheLifetime
|
||||
TITLE UnnecessarilyWritingOnSSDWillShortenTheLifetime
|
||||
SET Module=UnnecessarilyWritingOnSSDWillShortenTheLifetime
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Unnecessarily writing on SSD will shorten the lifetime
|
||||
ECHO %TIME:~0,8% Unnecessarily writing on SSD will shorten the lifetime >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v NtfsDisableLastAccessUpdate /t REG_DWORD /d 80000001 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Auto Run For All Volumes
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableAutoRunForAllVolumes
|
||||
TITLE DisableAutoRunForAllVolumes
|
||||
SET Module=DisableAutoRunForAllVolumes
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Auto Run for all volumes
|
||||
ECHO %TIME:~0,8% Disable Auto Run for all volumes >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Display Detailed Information In Device Manager
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisplayDetailedInformationInDeviceManager
|
||||
TITLE DisplayDetailedInformationInDeviceManager
|
||||
SET Module=DisplayDetailedInformationInDeviceManager
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Display detailed information in Device Manager
|
||||
ECHO %TIME:~0,8% Display detailed information in Device Manager >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "DEVMGR_SHOW_DETAILS" /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Edge First Run
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableEdgeFirstRun
|
||||
TITLE DisableEdgeFirstRun
|
||||
SET Module=DisableEdgeFirstRun
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Edge First Run
|
||||
ECHO %TIME:~0,8% Disable Edge First Run >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main" /v PreventFirstRunPage /t REG_DWORD /d 1 /reg:64 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Edge Prelaunch
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableEdgePrelaunch
|
||||
TITLE DisableEdgePrelaunch
|
||||
SET Module=DisableEdgePrelaunch
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Edge Prelaunch
|
||||
ECHO %TIME:~0,8% Disable Edge Prelaunch >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main" /v AllowPrelaunch /t REG_DWORD /d 0 /reg:64 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Disable Edge Tab Pre loading
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DisableEdgeTabPreloading
|
||||
TITLE DisableEdgeTabPreloading
|
||||
SET Module=DisableEdgeTabPreloading
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Disable Edge Tab Preloading
|
||||
ECHO %TIME:~0,8% Disable Edge Tab Preloading >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\TabPreloader" /v AllowTabPreloading /t REG_DWORD /d 0 /reg:64 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Enable Remote PowerShell
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:EnableRemotePowerShell
|
||||
TITLE EnableRemotePowerShell
|
||||
SET Module=EnableRemotePowerShell
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Enable Remote PowerShell
|
||||
ECHO %TIME:~0,8% Enable Remote PowerShell >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "Enable-PSRemoting -SkipNetworkProfileCheck -Force -Confirm:$false -ErrorAction Continue" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Create PowerShell Profiles
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:CreatePowerShellProfiles
|
||||
TITLE CreatePowerShellProfiles
|
||||
SET Module=CreatePowerShellProfiles
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Create plain PowerShell Profiles
|
||||
ECHO %TIME:~0,8% Create plain PowerShell Profiles >>%logfile_setup%
|
||||
start /MIN /WAIT "CleanupStockApps" %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "C:\scripts\PowerShell\New-PowerShellProfiles.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,91 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Installing Chocolatey
|
||||
:: Version 1.0.2
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallingChocolatey
|
||||
TITLE InstallingChocolatey
|
||||
SET Module=InstallingChocolatey
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Installing Chocolatey
|
||||
ECHO %TIME:~0,8% Installing Chocolatey >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-Choco.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
:: 1.0.1: Fix Typo
|
||||
:: 1.0.2: Moved the installation to a dedicated PowerShell Script
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,94 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Add NuGet Package Source
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:AddNuGetPackageSource
|
||||
TITLE AddNuGetPackageSource
|
||||
SET Module=AddNuGetPackageSource
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Add NuGet Package Source
|
||||
ECHO %TIME:~0,8% Add NuGet Package Source >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(Install-PackageProvider -Name NuGet -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Register Nuget Repository
|
||||
ECHO %TIME:~0,8% Register Nuget Repository >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(Register-PackageSource -Name Nuget -Location 'http://www.nuget.org/api/v2' -ProviderName Nuget -Trusted -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,94 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Configures Windows Remote Management
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:ConfiguresWindowsRemoteManagement
|
||||
TITLE ConfiguresWindowsRemoteManagement
|
||||
SET Module=ConfiguresWindowsRemoteManagement
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Configures Windows Remote Management
|
||||
ECHO %TIME:~0,8% Configures Windows Remote Management >>%logfile_setup%
|
||||
start /MIN /WAIT "Configures Windows Remote Management (WinRM)" cmd /c winrm quickconfig -force -quiet >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Allow Basic authentication Windows Remote Management
|
||||
ECHO %TIME:~0,8% Allow Basic authentication Windows Remote Management >>%logfile_setup%
|
||||
start /MIN /WAIT "Allow Basic authentication Windows Remote Management (WinRM)" cmd /c winrm set winrm/config/client/auth @{Basic="true"} >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,94 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Set Power Config Profile
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetPowerConfigProfile
|
||||
TITLE SetPowerConfigProfile
|
||||
SET Module=SetPowerConfigProfile
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Set Power Config profile
|
||||
ECHO %TIME:~0,8% Set Power Config profile >>%logfile_setup%
|
||||
start /MIN /WAIT "Set Power Config profile" %SystemRoot%\system32\powercfg.exe -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Change monitor timeout
|
||||
ECHO %TIME:~0,8% Change monitor timeout >>%logfile_setup%
|
||||
start /MIN /WAIT "Change monitor timeout" %SystemRoot%\system32\powercfg.exe -Change -monitor-timeout-ac 10 >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: CleanupWindows10StockApps
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:CleanupWindows10StockApps
|
||||
TITLE CleanupWindows10StockApps
|
||||
SET Module=CleanupWindows10StockApps
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Cleanup Windows 10 Stock Apps
|
||||
ECHO %TIME:~0,8% Cleanup Windows 10 Stock Apps >>%logfile_setup%
|
||||
start /MIN /WAIT "CleanupStockApps" %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "C:\scripts\PowerShell\Cleanup_StockApps.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Bootstrap The Windows 10 Client System
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:BootstrapTheWindows10System
|
||||
TITLE BootstrapTheWindows10System
|
||||
SET Module=BootstrapTheWindows10System
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Bootstrap the Windows 10 System
|
||||
ECHO %TIME:~0,8% Bootstrap the Windows 10 System >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Invoke-BootstrapSystem.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Allow Ping And Remote Desktop
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:AllowPingAndRemoteDesktop
|
||||
TITLE AllowPingAndRemoteDesktop
|
||||
SET Module=AllowPingAndRemoteDesktop
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Allow Ping and RemoteDesktop
|
||||
ECHO %TIME:~0,8% Allow Ping and RemoteDesktop >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Set-AllowPingAndRemoteDesktop.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Save System Image Info
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SaveSystemImageInfo
|
||||
TITLE SaveSystemImageInfo
|
||||
SET Module=SaveSystemImageInfo
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Save System Image Info
|
||||
ECHO %TIME:~0,8% Save System Image Info >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(c:\install\SetImageInfo.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,142 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Change Some Attributes
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:ChangeSomeAttributes
|
||||
TITLE ChangeSomeAttributes
|
||||
SET Module=ChangeSomeAttributes
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\scripts >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\scripts >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\scripts\PowerShell >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\scripts\PowerShell >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\scripts\Batch >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\scripts\Batch >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\Install /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\Install /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\Temp /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\Temp /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\scripts\powershell\*.* /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\scripts\powershell\*.* /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\scripts\Batch\*.* /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\scripts\Batch\*.* /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\tools\*.* /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\tools\*.* /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\Install\*.* /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\Install\*.* /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO %TIME:~0,8% ATTRIB +A -R -S -H c:\Temp\*.* /S /D >>%logfile_setup%
|
||||
ATTRIB +A -R -S -H c:\Temp\*.* /S /D >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Bootstrap The All User Profile
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:BootstrapTheAllUserProfile
|
||||
TITLE BootstrapTheAllUserProfile
|
||||
SET Module=BootstrapTheAllUserProfile
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Bootstrap the All User Profile
|
||||
ECHO %TIME:~0,8% Bootstrap the All User Profile >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Invoke-BootstrapAllUserProfile.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Update All Microsoft Store Apps
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:UpdateAllMicrosoftStoreApps
|
||||
TITLE UpdateAllMicrosoftStoreApps
|
||||
SET Module=UpdateAllMicrosoftStoreApps
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Update all Microsoft Store Apps
|
||||
ECHO %TIME:~0,8% Update all Microsoft Store Apps >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Update-AllMicrosoftStoreApps.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,97 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Install The Microsoft Office Suite
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallTheMicrosoftOfficeSuite
|
||||
TITLE InstallTheMicrosoftOfficeSuite
|
||||
SET Module=InstallTheMicrosoftOfficeSuite
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
PUSHD c:\install\Office\ >nul 2>&1
|
||||
|
||||
ECHO Install our default office deployment
|
||||
ECHO %TIME:~0,8% Install our default office deployment >>%logfile_setup% 2>&1
|
||||
start /MIN /WAIT "Install our default office deployment" C:\install\Office\setup.exe /configure c:\install\Office\Configuration.xml >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
POPD >nul 2>&1
|
||||
|
||||
ECHO Clean up after the office setup is done
|
||||
ECHO %TIME:~0,8% Clean up after the office setup is done >>%logfile_setup% 2>&1
|
||||
if exist c:\install\Office\ rd /s /q c:\install\Office\ >>%logfile_setup% 2>&1
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Install Some PowerShell Modules
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallSomePowerShellModules
|
||||
TITLE InstallSomePowerShellModules
|
||||
SET Module=InstallSomePowerShellModules
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Install some PowerShell Modules
|
||||
ECHO %TIME:~0,8% Install some PowerShell Modules >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-PowerShellModules_required.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Update Help Files For All Installed PowerShell Modules
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:UpdateHelpFilesForAllInstalledPowerShellModules
|
||||
TITLE UpdateHelpFilesForAllInstalledPowerShellModules
|
||||
SET Module=UpdateHelpFilesForAllInstalledPowerShellModules
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Update help files for all installed PowerShell Modules
|
||||
ECHO %TIME:~0,8% Update help files for all installed PowerShell Modules >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Update-PowerShellModulesHelp.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Install Some VC Redistributable Choco Packages
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallSomeVCRedistributableChocoPackages
|
||||
TITLE InstallSomeVCRedistributableChocoPackages
|
||||
SET Module=InstallSomeVCRedistributableChocoPackages
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Install some VC Redistributable Choco packages
|
||||
ECHO %TIME:~0,8% Install some VC Redistributable Choco packages >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(c:\scripts\PowerShell\Install-ChocoPackages_vcredist.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Install Default .NET Choco Packages
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallDefaultDotNETChocoPackages
|
||||
TITLE InstallDefaultDotNETChocoPackages
|
||||
SET Module=InstallDefaultDotNETChocoPackages
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Install default .NET Choco packages
|
||||
ECHO %TIME:~0,8% Install default .NET Choco packages >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(c:\scripts\PowerShell\Install-ChocoPackages_dotnet.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment (ETPOSD)
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Install Choco Default Packages
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:InstallChocoDefaultPackages
|
||||
TITLE InstallChocoDefaultPackages
|
||||
SET Module=InstallChocoDefaultPackages
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Install Choco default packages
|
||||
ECHO %TIME:~0,8% Install Choco default packages >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(c:\scripts\PowerShell\Install-ChocoPackages.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Manufacturer Specific Config And Software Installation
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:ManufacturerSpecificConfigAndSoftwareInstallation
|
||||
TITLE ManufacturerSpecificConfigAndSoftwareInstallation
|
||||
SET Module=ManufacturerSpecificConfigAndSoftwareInstallation
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Manufacturer specific config and software installation
|
||||
ECHO %TIME:~0,8% Manufacturer specific config and software installation >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\install\ManufacturerSpecific.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,155 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: KMS Activation and Handling
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:KmsHandling
|
||||
TITLE KmsHandling
|
||||
SET Module=KmsHandling
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Turn on Windows Script Host
|
||||
ECHO %TIME:~0,8% Turn on Windows Script Host >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (New-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings' -Name Enabled -PropertyType DWord -Value 1 -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:ApplyMicrosoftWindows10EnterpriseKey
|
||||
:: https://docs.microsoft.com/de-de/windows-server/get-started/kmsclientkeys
|
||||
ECHO Apply Microsoft Windows 10 Enterprise key
|
||||
ECHO %TIME:~0,8% Apply Microsoft Windows 10 Enterprise key >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo c:\windows\system32\slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:SetTheInternalKMSServerForWindows10
|
||||
:: For now, this will need VPN
|
||||
ECHO Set the internal KMS Server for Windows 10
|
||||
ECHO %TIME:~0,8% Set the internal KMS Server for Windows 10 >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo c:\windows\system32\slmgr.vbs /skms kms.enatec.net >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: Ping the KMS server for Windows 10 activation
|
||||
:CheckW10KMSViaPing
|
||||
ping -n 3 -w 1000 kms.enatec.net >null 2>&1
|
||||
if %errorlevel% GTR 0 goto ChangeToTheOfficeDirectory
|
||||
|
||||
:ActivateWindows10ViaInternalKMSServer
|
||||
:: For now, this will need VPN
|
||||
ECHO Activate Windows 10 via internal KMS Server
|
||||
ECHO %TIME:~0,8% Activate Windows 10 via internal KMS Server >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo c:\windows\system32\slmgr.vbs /ato >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:ChangeToTheOfficeDirectory
|
||||
ECHO Change to the Office directory
|
||||
ECHO %TIME:~0,8% Change to the Office directory >>%logfile_setup%
|
||||
PUSHD "%ProgramFiles%\Microsoft Office\Office16" >nul 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:ApplyMicrosoftOfficeProfessionalPlus2019Key
|
||||
ECHO Apply Microsoft Office Professional Plus 2019 key
|
||||
ECHO %TIME:~0,8% Apply Microsoft Office Professional Plus 2019 key >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: Ping the KMS server for Office activation
|
||||
:CheckOfficeKMSViaPing
|
||||
ping -n 3 -w 1000 kms.enatec.net >null 2>&1
|
||||
if %errorlevel% GTR 0 goto endInternalKMSServer
|
||||
|
||||
:SetTheInternalKMSServerForOfficeProducts
|
||||
ECHO Set the internal KMS Server for Office products
|
||||
ECHO %TIME:~0,8% Set the internal KMS Server for Office products >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo ospp.vbs /sethst:kms.enatec.net >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: For now, this will need VPN
|
||||
:ActivateTheOffice2019ProductsViaTheInternalKMSServer
|
||||
ECHO Activate Office Professional Plus 2019 via internal KMS Server
|
||||
ECHO %TIME:~0,8% Activate Office Professional Plus 2019 via internal KMS Server >>%logfile_setup%
|
||||
"%SystemRoot%\System32\cscript.exe" //nologo ospp.vbs /act >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:endInternalKMSServer
|
||||
POPD >nul 2>&1
|
||||
|
||||
:DisableWindowsScriptHost
|
||||
:: Turn off Windows Script Host (current user only)
|
||||
ECHO Turn off Windows Script Host
|
||||
ECHO %TIME:~0,8% Turn on Windows Script Host >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (New-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings' -Name Enabled -PropertyType DWord -Value 0 -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,182 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Change Handling and tweaks Windows Remote Management (WinRM) - PLEASE READ THE NOTE BELOW
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: PLEASE NOTE THIS: This can become a security issue! <- <- <-
|
||||
::
|
||||
:: This script makes Windows Remote Management (WinRM) insecure!!!
|
||||
:: We do this by purpose, we will reconfigure it later with an Intune Poliy.
|
||||
:: We use it to administer the system within the local network, and this makes
|
||||
:: it much easier to use Mac's or Linux systems to connect to this system.
|
||||
::
|
||||
:: It will be skipped if outside of the enabling Technology network (or use VPN).
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:WinRMTwaeks
|
||||
TITLE WinRMTwaeks
|
||||
SET Module=WinRMTwaeks
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
: Use GHOST to figure out, if this system is connected directly to our Intranet
|
||||
ping -n 3 -w 1000 ghost.enatec.net >null 2>&1
|
||||
if %errorlevel% GTR 0 goto NotConnected
|
||||
|
||||
:EnableWindowsScriptHost
|
||||
ECHO Turn on Windows Script Host
|
||||
ECHO %TIME:~0,8% Turn on Windows Script Host >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (New-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings' -Name Enabled -PropertyType DWord -Value 1 -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
: Enable Remote PowerShell
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "Enable-PSRemoting -Force -ErrorAction Continue"
|
||||
|
||||
: Quick default configuration for Windows Remote Management (WinRM)
|
||||
C:\Windows\system32\winrm.cmd quickconfig -q >null 2>&1
|
||||
|
||||
: Specifies the transport to use to send and receive WS-Management
|
||||
: protocol requests and responses.
|
||||
: The value must be either HTTP or HTTPS
|
||||
C:\Windows\system32\winrm.cmd quickconfig -transport:http >null 2>&1
|
||||
|
||||
: Specifies the maximum time-out, in milliseconds,
|
||||
: that can be used for any request other than Pull requests
|
||||
: The default is 60000
|
||||
C:\Windows\system32\winrm.cmd set winrm/config '@{MaxTimeoutms="1800000"}' >null 2>&1
|
||||
|
||||
: Specifies the maximum amount of memory allocated per shell,
|
||||
: including the shell's child processes.
|
||||
: The default is 150 MB
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/winrs '@{MaxMemoryPerShellMB="800"}' >null 2>&1
|
||||
|
||||
: Allows the client computer to request unencrypted traffic.
|
||||
: By default, the client computer requires encrypted network traffic
|
||||
: and this setting is False.
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/service '@{AllowUnencrypted="true"}' >null 2>&1
|
||||
|
||||
: Allows the client computer to use Basic authentication.
|
||||
: Basic authentication is a scheme in which the user name and password
|
||||
: are sent in clear text to the server or proxy.
|
||||
: This method is the least secure method of authentication.
|
||||
: The default is True.
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/service/auth '@{Basic="true"}' >null 2>&1
|
||||
|
||||
: Allows the client computer to use Basic authentication.
|
||||
: Basic authentication is a scheme in which the user name and password
|
||||
: are sent in clear text to the server or proxy.
|
||||
: This method is the least secure method of authentication.
|
||||
: The default is True.
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/client/auth '@{Basic="true"}' >null 2>&1
|
||||
|
||||
: Allows the client to use Credential Security Support Provider (CredSSP) authentication.
|
||||
: CredSSP enables an application to delegate the user's credentials
|
||||
: from the client computer to the target server.
|
||||
: The default is False.
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/service/auth '@{CredSSP="true"}' >null 2>&1
|
||||
|
||||
: Specifies the TCP port for which this listener is created.
|
||||
: WinRM 2.0: The default HTTP port is 5985.
|
||||
C:\Windows\system32\winrm.cmd set winrm/config/listener?Address=*+Transport=HTTP '@{Port="5985"}' >null 2>&1
|
||||
|
||||
: Allow the Windows Remote Administration Rule Group
|
||||
C:\Windows\system32\netsh.exe advfirewall firewall set rule group="Windows Remote Administration" new enable=yes >null 2>&1
|
||||
|
||||
: Allow the Windows Remote Management (HTTP-In) Rule
|
||||
C:\Windows\system32\netsh.exe advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new localport=5985 enable=yes action=allow >null 2>&1
|
||||
|
||||
: Allow the Windows Remote Management (HTTPS-In) Rule
|
||||
C:\Windows\system32\netsh.exe advfirewall firewall set rule name="Windows Remote Management (HTTPS-In)" new localport=5986 enable=yes action=allow >null 2>&1
|
||||
|
||||
: Enable the Autostart of the Windows Remote Management (WinRM) Windows Service
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "Set-Service winrm -startuptype 'auto'" >null 2>&1
|
||||
|
||||
: Restart the Windows Remote Management (WinRM) Service
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "Restart-Service winrm" >null 2>&1
|
||||
|
||||
:DisableWindowsScriptHost
|
||||
:: Turn off Windows Script Host (current user only)
|
||||
ECHO Turn off Windows Script Host
|
||||
ECHO %TIME:~0,8% Turn on Windows Script Host >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (New-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings' -Name Enabled -PropertyType DWord -Value 0 -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
goto ENDLOGIC
|
||||
|
||||
:NotConnected
|
||||
ECHO This Host is not connected directly to the Intranet (Skipped)
|
||||
ECHO %TIME:~0,8% This Host is not connected directly to the Intranet (Skipped) >>%logfile_setup%
|
||||
goto ENDLOGIC
|
||||
|
||||
:ENDLOGIC
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Desktop Cleanup
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:DesktopCleanup
|
||||
TITLE DesktopCleanup
|
||||
SET Module=DesktopCleanup
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Desktop Cleanup
|
||||
ECHO %TIME:~0,8% Desktop Cleanup >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Remove-AllPublicDesktopLinks.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Set Power Plan To Auto
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetPowerPlanToAuto
|
||||
TITLE SetPowerPlanToAuto
|
||||
SET Module=SetPowerPlanToAuto
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Set Power Plan to Auto
|
||||
ECHO %TIME:~0,8% Set Power Plan to Auto >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "c:\scripts\PowerShell\Set-PowerPlanToAuto.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,89 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Set Default Start Menu
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetDefaultStartMenu
|
||||
TITLE SetDefaultStartMenu
|
||||
SET Module=SetDefaultStartMenu
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
ECHO Set the default Start menu
|
||||
ECHO %TIME:~0,8% Set the default Start menu >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Set-DefaultStartMenu.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,84 @@
|
||||
#requires -Version 3.0
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Interrupt the OOBE Process and starts our own
|
||||
|
||||
.DESCRIPTION
|
||||
Interrupt the OOBE Process and starts our own
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> .\BootOOBE.ps1
|
||||
|
||||
.NOTES
|
||||
Adopted from Roger Zander (@rzander)
|
||||
|
||||
.LINK
|
||||
https://github.com/rzander/mOSD
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'None')]
|
||||
param ()
|
||||
|
||||
begin
|
||||
{
|
||||
$SCT = 'SilentlyContinue'
|
||||
|
||||
$PantherUA = "$env:windir\Panther\unattend.xml"
|
||||
|
||||
#region
|
||||
$paramGetProcess = @{
|
||||
Name = 'sysprep'
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$paramStopProcess = @{
|
||||
Force = $true
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
$paramSetLocation = @{
|
||||
Path = $PSScriptRoot
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (Set-Location @paramSetLocation)
|
||||
|
||||
$null = (Get-Process @paramGetProcess | Stop-Process @paramStopProcess)
|
||||
|
||||
#Cleanup
|
||||
$paramTestPath = @{
|
||||
Path = $PantherUA
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (Test-Path @paramTestPath)
|
||||
{
|
||||
$paramRemoveItem = @{
|
||||
Path = $PantherUA
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (Remove-Item @paramRemoveItem)
|
||||
}
|
||||
|
||||
$null = (Get-Process @paramGetProcess | Stop-Process @paramStopProcess)
|
||||
|
||||
Start-Sleep -Seconds 2
|
||||
|
||||
# Start the sysprep process
|
||||
try
|
||||
{
|
||||
$null = (Start-Process -FilePath "$env:windir\System32\Sysprep\sysprep.exe" -ArgumentList '/oobe /quiet /reboot /unattend:C:\Windows\system32\sysprep\unattend.xml' -Wait)
|
||||
}
|
||||
catch
|
||||
{
|
||||
exit (1)
|
||||
}
|
||||
}
|
||||
|
||||
end
|
||||
{
|
||||
exit (0)
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Setup Complete Wrapper
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:SetupComplete
|
||||
TITLE SetupComplete
|
||||
SET Module=SetupComplete
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:LOGIC
|
||||
: Change some attributes of the Scripts directory
|
||||
attrib +A -R -S -H %windir%\setup\SCRIPTS\*.* /S /D
|
||||
|
||||
: Start any existing CMD file (including subfolders)
|
||||
CD %systemroot%\setup\SCRIPTS
|
||||
FOR /D %%f in (*) do (
|
||||
PUSHD %%f
|
||||
FOR %%g in (*.cmd) do (
|
||||
ECHO Call %%g >>%logfile_setup% 2>nul
|
||||
call %%g >nul 2>&1
|
||||
: START /MIN /WAIT "%%g" %%g
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
)
|
||||
POPD
|
||||
)
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
ECHO Finished %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
: Clean up after the setup is done
|
||||
IF EXIST %systemroot%\setup\SCRIPTS\done RD /s /q %systemroot%\setup\SCRIPTS >nul 2>&1
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2021, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||
<settings pass="oobeSystem">
|
||||
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<InputLocale>047:00000407</InputLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
<UserLocale>de-DE</UserLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<OOBE>
|
||||
<ProtectYourPC>3</ProtectYourPC>
|
||||
<HideEULAPage>true</HideEULAPage>
|
||||
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
||||
<NetworkLocation>Work</NetworkLocation>
|
||||
</OOBE>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="auditUser">
|
||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Reseal>
|
||||
<Mode>OOBE</Mode>
|
||||
</Reseal>
|
||||
</component>
|
||||
</settings>
|
||||
<cpi:offlineImage cpi:source="catalog://nuc1/dw10x/sources/install_windows 10 enterprise.clg"
|
||||
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
</unattend>
|
||||
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 207 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 304 KiB |
|
After Width: | Height: | Size: 601 KiB |
|
After Width: | Height: | Size: 297 KiB |
|
After Width: | Height: | Size: 657 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 609 KiB |
|
After Width: | Height: | Size: 3.1 MiB |
|
After Width: | Height: | Size: 285 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 426 KiB |
|
After Width: | Height: | Size: 1010 KiB |
|
After Width: | Height: | Size: 284 KiB |
|
After Width: | Height: | Size: 906 KiB |
|
After Width: | Height: | Size: 466 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 169 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1020 KiB |
|
After Width: | Height: | Size: 164 KiB |
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"CloudAssignedDomainJoinMethod": 0,
|
||||
"CloudAssignedDeviceName": "ENATEC-%SERIAL%",
|
||||
"CloudAssignedAutopilotUpdateTimeout": 1800000,
|
||||
"CloudAssignedForcedEnrollment": 1,
|
||||
"Version": 2049,
|
||||
"CloudAssignedTenantId": "b768b3c4-dc4b-445c-94c0-388882f966fb",
|
||||
"CloudAssignedAutopilotUpdateDisabled": 1,
|
||||
"ZtdCorrelationId": "ae8249a2-ad5d-426a-99a0-2aba35426014",
|
||||
"Comment_File": "Profile DEFAULT",
|
||||
"CloudAssignedAadServerData": "{\"ZeroTouchConfig\":{\"CloudAssignedTenantUpn\":\"\",\"ForcedEnrollment\":1,\"CloudAssignedTenantDomain\":\"hochwald.net\"}}",
|
||||
"CloudAssignedOobeConfig": 1308,
|
||||
"CloudAssignedLockdownConfig": 1,
|
||||
"CloudAssignedTenantDomain": "hochwald.net",
|
||||
"CloudAssignedLanguage": "en-US"
|
||||
}
|
||||
@@ -0,0 +1,520 @@
|
||||
#requires -Version 5.0 -Modules BitsTransfer, CimCmdlets -RunAsAdministrator
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Install manufacturer/vendor specific software
|
||||
|
||||
.DESCRIPTION
|
||||
Install manufacturer/vendor specific software
|
||||
For now, just HP is supported.
|
||||
|
||||
.NOTES
|
||||
The OEM Info is no longer displayed in newer Builds of Windows 10!
|
||||
Starting with Windows 10 Build 20H2 the Logo and other OEM Info is no longer displayed.
|
||||
Focus will be the installation of Tools to support the vendor specific drivers and tooling
|
||||
|
||||
Request:
|
||||
If you are interessted in Dell or Lenovo support, please open a issue/ticket.
|
||||
We look for pilot/beta users, due to missing hardware the development is a bit hard.
|
||||
|
||||
Changelog:
|
||||
1.0.7: Download the latest HP versions and install it silently
|
||||
1.0.6: Fallback to older HP Support Assistant version (Due to Silent Install Issues)
|
||||
1.0.5: Moved the installer path
|
||||
1.0.4: Rewrite big parts and create a cleanup helper
|
||||
1.0.3: Replace old WMI call with CIM - Fix Write-Output
|
||||
1.0.2: Update HP tooling (Files)
|
||||
1.0.1: Update Lenovo tooling (Files)
|
||||
|
||||
Version 1.0.7
|
||||
|
||||
.LINK
|
||||
http://enatec.io
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'Low')]
|
||||
param ()
|
||||
|
||||
begin
|
||||
{
|
||||
Write-Output -InputObject 'Manufacturer specific config and software installation'
|
||||
|
||||
#region Defaults
|
||||
$SCT = 'SilentlyContinue'
|
||||
$STP = 'Stop'
|
||||
|
||||
# Splat the defaults
|
||||
$paramSimpleDefaults = @{
|
||||
ErrorAction = $SCT
|
||||
WarningAction = $SCT
|
||||
}
|
||||
|
||||
# Change this, if needed
|
||||
$Company = 'enabling Technology'
|
||||
|
||||
# Do not change this!
|
||||
$RegistryPath = ('HKLM:\Software\' + $Company + '\BaseImage')
|
||||
|
||||
# Get the Info
|
||||
$Manufacturer = (Get-ItemPropertyValue -Path $RegistryPath -Name HardwareManufacturer @paramSimpleDefaults)
|
||||
|
||||
# Set the Path Info
|
||||
$OemInfoPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation'
|
||||
|
||||
# Read the Info from CIM
|
||||
$ManufacturerModel = ((Get-CimInstance -ClassName Win32_Computersystem @paramSimpleDefaults) | Select-Object -ExpandProperty Model)
|
||||
|
||||
$null = (Set-MpPreference -EnableControlledFolderAccess Disabled -Force @paramSimpleDefaults)
|
||||
|
||||
|
||||
if (-not $ManufacturerModel)
|
||||
{
|
||||
$ManufacturerModel = 'Unknown'
|
||||
}
|
||||
|
||||
if ($Manufacturer)
|
||||
{
|
||||
switch ($Manufacturer)
|
||||
{
|
||||
'HP'
|
||||
{
|
||||
$ManufacturerTooling = 'HP'
|
||||
}
|
||||
'Hewlett-Packard'
|
||||
{
|
||||
$ManufacturerTooling = 'HP'
|
||||
}
|
||||
'Dell'
|
||||
{
|
||||
$ManufacturerTooling = 'Dell'
|
||||
Write-Warning -Message 'Dell support is in still in development'
|
||||
}
|
||||
'LENOVO'
|
||||
{
|
||||
$ManufacturerTooling = 'LENOVO'
|
||||
Write-Warning -Message 'Lenovo support is in still in development'
|
||||
}
|
||||
'Microsoft Corporation'
|
||||
{
|
||||
$ManufacturerTooling = 'HYPERV'
|
||||
Write-Warning -Message 'Microsoft Hyper-V is not (yet) supported, but planned'
|
||||
Return
|
||||
}
|
||||
'VMware, Inc.'
|
||||
{
|
||||
$ManufacturerTooling = 'VMware'
|
||||
Write-Warning -Message 'VMware is not (yet) supported'
|
||||
Return
|
||||
}
|
||||
'Parallels Software International Inc.'
|
||||
{
|
||||
$ManufacturerTooling = 'Parallels'
|
||||
Write-Warning -Message 'Parallels is not (yet) supported'
|
||||
Return
|
||||
}
|
||||
Default
|
||||
{
|
||||
$ManufacturerTooling = $null
|
||||
Write-Warning -Message 'Unknown and/or unsupported manufacturer'
|
||||
Return
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$ManufacturerTooling = $null
|
||||
Write-Warning -Message 'Unknown and/or unsupported manufacturer'
|
||||
Return
|
||||
}
|
||||
|
||||
# Splat the defaults for New-ItemProperty
|
||||
$paramNewItemProperty = @{
|
||||
Path = $OemInfoPath
|
||||
PropertyType = 'String'
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WhatIf = $false
|
||||
ErrorAction = $SCT
|
||||
WarningAction = $SCT
|
||||
}
|
||||
|
||||
# Splat the defaults for Copy-Item
|
||||
$paramCopyItem = @{
|
||||
Destination = "$env:windir\SYSTEM32\SYSTEM.BMP"
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
ErrorAction = $SCT
|
||||
WarningAction = $SCT
|
||||
}
|
||||
#endregion Defaults
|
||||
|
||||
#region RemoveOEMInfo
|
||||
function Remove-OEMInfo
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Cleanup the OEM Info
|
||||
|
||||
.DESCRIPTION
|
||||
Cleanup the OEM Info from the registry
|
||||
|
||||
.PARAMETER Path
|
||||
The Registry Path
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Remove-OEMInfo
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Remove-OEMInfo -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation'
|
||||
|
||||
.NOTES
|
||||
Internal Helper
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'None',
|
||||
SupportsShouldProcess)]
|
||||
param
|
||||
(
|
||||
[Parameter(ValueFromPipeline,
|
||||
ValueFromPipelineByPropertyName,
|
||||
Position = 0)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[Alias('OemInfoPath')]
|
||||
[string]
|
||||
$Path = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation'
|
||||
)
|
||||
|
||||
begin
|
||||
{
|
||||
#region Defaults
|
||||
$SCT = 'SilentlyContinue'
|
||||
#endregion Defaults
|
||||
|
||||
#region
|
||||
$ValuesToClean = @(
|
||||
'Model'
|
||||
'Manufacturer'
|
||||
'Logo'
|
||||
'SupportAppURL'
|
||||
'SupportURL'
|
||||
'SupportHours'
|
||||
'SupportPhone'
|
||||
)
|
||||
#endregion
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
if ($pscmdlet.ShouldProcess('OEM Info', 'Delete'))
|
||||
{
|
||||
# Cleanup the OEM Info
|
||||
foreach ($ValueToClean in $ValuesToClean)
|
||||
{
|
||||
$paramGetItemPropertyValue = @{
|
||||
Path = $Path
|
||||
Name = $ValueToClean
|
||||
ErrorAction = $SCT
|
||||
WarningAction = $SCT
|
||||
}
|
||||
|
||||
if (Get-ItemPropertyValue @paramGetItemPropertyValue)
|
||||
{
|
||||
$paramRemoveItemProperty = @{
|
||||
Path = $Path
|
||||
Name = $ValueToClean
|
||||
Force = $true
|
||||
WhatIf = $false
|
||||
ErrorAction = $SCT
|
||||
WarningAction = $SCT
|
||||
Confirm = $false
|
||||
}
|
||||
$null = (Remove-ItemProperty @paramRemoveItemProperty)
|
||||
}
|
||||
|
||||
$ValueToClean = $null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion RemoveOEMInfo
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
#region HP
|
||||
if ($ManufacturerTooling -eq 'HP')
|
||||
{
|
||||
# Cleanup the OEM Info
|
||||
$null = (Remove-OEMInfo @paramSimpleDefaults)
|
||||
|
||||
# Copy the OEM Logo
|
||||
if (Test-Path -Path "$env:HOMEDRIVE\install\ManufacturerSpecific\hp\SYSTEM.BMP" @paramSimpleDefaults)
|
||||
{
|
||||
$null = (Copy-Item -Path "$env:HOMEDRIVE\install\ManufacturerSpecific\hp\SYSTEM.BMP" @paramCopyItem)
|
||||
}
|
||||
|
||||
# Set the new OEM Info
|
||||
if ($ManufacturerModel)
|
||||
{
|
||||
$null = (New-ItemProperty -Name 'Model' -Value $ManufacturerModel @paramNewItemProperty)
|
||||
}
|
||||
|
||||
$null = (New-ItemProperty -Name 'Manufacturer' -Value 'HP Inc.' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'Logo' -Value 'C:\\WINDOWS\\SYSTEM32\\SYSTEM.BMP' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'SupportAppURL' -Value 'hpsupportassistant://GetAssist?LaunchPoint=51' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'SupportURL' -Value 'http://support.hp.com' @paramNewItemProperty)
|
||||
|
||||
# Install the HP Tools
|
||||
#region HPDefaults
|
||||
$BitsTransferPolicy = 'Always'
|
||||
$BitsTransferPriority = 'High'
|
||||
$HPSilentSwitchesExtractDefault = '/s /e /f'
|
||||
$HPSilentSwitchesDefault = '/s /a /s /v" /qn"'
|
||||
$PowerShellExecutable = ($PSHome + '\powershell.exe')
|
||||
$ErrorMessage = 'Installer not found!'
|
||||
$DriverTempDir = "$env:HOMEDRIVE\install\temp"
|
||||
#endregion HPDefaults
|
||||
|
||||
#region sp108770
|
||||
$paramTestPath = @{
|
||||
Path = $DriverTempDir
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
$paramNewItem = @{
|
||||
Path = $DriverTempDir
|
||||
ItemType = 'Directory'
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
}
|
||||
$null = (New-Item @paramNewItem)
|
||||
}
|
||||
|
||||
$RequestContent = 'https://ftp.hp.com/pub/softpaq/sp108501-109000/sp108770.exe'
|
||||
|
||||
$DriverExtractDest = "$env:HOMEDRIVE\install\sp108770"
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $DriverExtractDest
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
$paramNewItem = @{
|
||||
Path = $DriverExtractDest
|
||||
ItemType = 'Directory'
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
}
|
||||
$null = (New-Item @paramNewItem)
|
||||
}
|
||||
|
||||
[string]$Installer = ($DriverTempDir + '\sp108770.exe')
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $Installer
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
# Use BitsTransfer to download the latest installer
|
||||
$paramStartBitsTransfer = @{
|
||||
Source = $RequestContent
|
||||
Destination = $Installer
|
||||
Priority = $BitsTransferPriority
|
||||
TransferPolicy = $BitsTransferPolicy
|
||||
ErrorAction = $STP
|
||||
}
|
||||
$null = (Start-BitsTransfer @paramStartBitsTransfer)
|
||||
}
|
||||
|
||||
$HPSilentSwitchesExtract = ($HPSilentSwitchesExtractDefault + ' "' + $DriverExtractDest + '"')
|
||||
$paramStartProcess = @{
|
||||
FilePath = $PowerShellExecutable
|
||||
WorkingDirectory = $DriverExtractDest
|
||||
ArgumentList = ($Installer + ' ' + $HPSilentSwitchesExtract)
|
||||
NoNewWindow = $true
|
||||
Wait = $true
|
||||
}
|
||||
$null = (Start-Process @paramStartProcess)
|
||||
|
||||
$HPInstaller = ($DriverExtractDest + '\InstallHPSA.exe')
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $HPInstaller
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (Test-Path @paramTestPath)
|
||||
{
|
||||
$HPSilentSwitches = $HPSilentSwitchesDefault
|
||||
$paramStartProcess = @{
|
||||
FilePath = $PowerShellExecutable
|
||||
WorkingDirectory = $DriverExtractDest
|
||||
ArgumentList = ($HPInstaller + ' ' + $HPSilentSwitches)
|
||||
NoNewWindow = $true
|
||||
Wait = $true
|
||||
}
|
||||
$null = (Start-Process @paramStartProcess)
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Warning -Message $ErrorMessage
|
||||
}
|
||||
#endregion sp108770
|
||||
|
||||
#region sp107493
|
||||
$RequestContent = 'https://ftp.hp.com/pub/softpaq/sp107001-107500/sp107493.exe'
|
||||
|
||||
$DriverExtractDest = "$env:HOMEDRIVE\install\sp107493"
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $DriverExtractDest
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
$paramNewItem = @{
|
||||
Path = $DriverExtractDest
|
||||
ItemType = 'Directory'
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
}
|
||||
$null = (New-Item @paramNewItem)
|
||||
}
|
||||
|
||||
[string]$Installer = ($DriverTempDir + '\sp107493.exe')
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $Installer
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
# Use BitsTransfer to download the latest installer
|
||||
$paramStartBitsTransfer = @{
|
||||
Source = $RequestContent
|
||||
Destination = $Installer
|
||||
Priority = $BitsTransferPriority
|
||||
TransferPolicy = $BitsTransferPolicy
|
||||
ErrorAction = $STP
|
||||
}
|
||||
$null = (Start-BitsTransfer @paramStartBitsTransfer)
|
||||
}
|
||||
|
||||
$HPSilentSwitchesExtract = ($HPSilentSwitchesExtractDefault + ' "' + $DriverExtractDest + '"')
|
||||
$paramStartProcess = @{
|
||||
FilePath = $PowerShellExecutable
|
||||
WorkingDirectory = $DriverExtractDest
|
||||
ArgumentList = ($Installer + ' ' + $HPSilentSwitchesExtract)
|
||||
NoNewWindow = $true
|
||||
Wait = $true
|
||||
}
|
||||
$null = (Start-Process @paramStartProcess)
|
||||
|
||||
$HPInstaller = ($DriverExtractDest + '\InstallCmdWrapper.exe')
|
||||
|
||||
$paramTestPath = @{
|
||||
Path = $HPInstaller
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (Test-Path @paramTestPath)
|
||||
{
|
||||
$HPSilentSwitches = $HPSilentSwitchesDefault
|
||||
$paramStartProcess = @{
|
||||
FilePath = $PowerShellExecutable
|
||||
WorkingDirectory = $DriverExtractDest
|
||||
ArgumentList = ($HPInstaller + ' ' + $HPSilentSwitches)
|
||||
NoNewWindow = $true
|
||||
Wait = $true
|
||||
}
|
||||
$null = (Start-Process @paramStartProcess)
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Warning -Message $ErrorMessage
|
||||
}
|
||||
#endregion sp107493
|
||||
}
|
||||
#endregion HP
|
||||
|
||||
#region LENOVO
|
||||
if ($ManufacturerTooling -eq 'LENOVO')
|
||||
{
|
||||
# Cleanup the OEM Info
|
||||
$null = (Remove-OEMInfo @paramSimpleDefaults)
|
||||
|
||||
# Copy the OEM Logo
|
||||
if (Test-Path -Path 'Lenovo\SYSTEM.BMP' @paramSimpleDefaults)
|
||||
{
|
||||
$null = (Copy-Item -Path "$env:HOMEDRIVE\install\ManufacturerSpecific\Lenovo\SYSTEM.BMP" @paramCopyItem)
|
||||
}
|
||||
|
||||
# Set the new OEM Info
|
||||
if ($ManufacturerModel)
|
||||
{
|
||||
$null = (New-ItemProperty -Name 'Model' -Value $ManufacturerModel @paramNewItemProperty)
|
||||
}
|
||||
|
||||
$null = (New-ItemProperty -Name 'Manufacturer' -Value 'Lenovo' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'Logo' -Value 'C:\\WINDOWS\\SYSTEM32\\SYSTEM.BMP' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'SupportURL' -Value 'https://support.lenovo.com/' @paramNewItemProperty)
|
||||
}
|
||||
#endregion LENOVO
|
||||
|
||||
#region Dell
|
||||
if ($ManufacturerTooling -eq 'Dell')
|
||||
{
|
||||
# Cleanup the OEM Info
|
||||
$null = (Remove-OEMInfo @paramSimpleDefaults)
|
||||
|
||||
# Copy the OEM Logo
|
||||
if (Test-Path -Path "$env:HOMEDRIVE\install\ManufacturerSpecific\Dell\SYSTEM.BMP" @paramSimpleDefaults)
|
||||
{
|
||||
$null = (Copy-Item -Path "$env:HOMEDRIVE\install\ManufacturerSpecific\Dell\SYSTEM.BMP" @paramCopyItem)
|
||||
}
|
||||
|
||||
# Set the new OEM Info
|
||||
if ($ManufacturerModel)
|
||||
{
|
||||
$null = (New-ItemProperty -Name 'Model' -Value $ManufacturerModel @paramNewItemProperty)
|
||||
}
|
||||
|
||||
$null = (New-ItemProperty -Name 'Manufacturer' -Value 'Dell' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'Logo' -Value 'C:\\WINDOWS\\SYSTEM32\\SYSTEM.BMP' @paramNewItemProperty)
|
||||
$null = (New-ItemProperty -Name 'SupportURL' -Value 'https://www.dell.com/support/home/' @paramNewItemProperty)
|
||||
}
|
||||
#endregion Dell
|
||||
}
|
||||
|
||||
end
|
||||
{
|
||||
$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force @paramSimpleDefaults)
|
||||
}
|
||||
|
||||
#region LICENSE
|
||||
<#
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, enabling Technology
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#>
|
||||
#endregion LICENSE
|
||||
|
||||
#region DISCLAIMER
|
||||
<#
|
||||
DISCLAIMER:
|
||||
- Use at your own risk, etc.
|
||||
- This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty in any kind
|
||||
- This is a third-party Software
|
||||
- The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its subsidiaries in any way
|
||||
- The Software is not supported by Microsoft Corp (MSFT)
|
||||
- By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
- If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
#>
|
||||
#endregion DISCLAIMER
|
||||
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 35 KiB |
@@ -0,0 +1,10 @@
|
||||
title LenovoSpecific
|
||||
set Module=LenovoSpecific
|
||||
echo start %Module% %time% =================== >>%logfile_setup%
|
||||
|
||||
rem install Lenovo System Update for Windows
|
||||
echo system_update_5.07.0106.exe /VERYSILENT /SUPPRESSMSGBOXES /LOG='c:\temp\LenovoSysupdate.log' /NOCANCEL /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS >>%logfile_setup%
|
||||
@system_update_5.07.0106.exe /VERYSILENT /SUPPRESSMSGBOXES /LOG='c:\temp\LenovoSysupdate.log' /NOCANCEL /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS >>%logfile_setup%
|
||||
|
||||
echo stop %Module% %time% =================== >>%logfile_setup%
|
||||
echo.>>%logfile_setup%
|
||||
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1,110 @@
|
||||
<Configuration ID="722e6ccf-aeaf-447b-90ea-489e3a00c6fe">
|
||||
<!-- Name the configuration -->
|
||||
<Info Description="enabling Technology default Click 2 Run installation" />
|
||||
<!-- Set plattform and update channel - The only supported channel for this kind is PerpetualVL2019 - Can be changed for Microsoft 365 activations -->
|
||||
<Add OfficeClientEdition="64" Channel="PerpetualVL2019">
|
||||
<!-- Office Suite -->
|
||||
<Product ID="ProPlus2019Volume" PIDKEY="NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP">
|
||||
<!-- Default languages to install -->
|
||||
<Language ID="de-de" />
|
||||
<Language ID="en-us" />
|
||||
<!-- Exclude some components -->
|
||||
<ExcludeApp ID="Access" />
|
||||
<ExcludeApp ID="Groove" />
|
||||
<ExcludeApp ID="Lync" />
|
||||
<ExcludeApp ID="OneDrive" />
|
||||
<ExcludeApp ID="Publisher" />
|
||||
</Product>
|
||||
<!-- Viso -->
|
||||
<Product ID="VisioPro2019Volume" PIDKEY="9BGNQ-K37YR-RQHF2-38RQ3-7VCBB">
|
||||
<!-- Default languages to install -->
|
||||
<Language ID="de-de" />
|
||||
<Language ID="en-us" />
|
||||
<!-- Exclude some components -->
|
||||
<ExcludeApp ID="Access" />
|
||||
<ExcludeApp ID="Groove" />
|
||||
<ExcludeApp ID="Lync" />
|
||||
<ExcludeApp ID="OneDrive" />
|
||||
<ExcludeApp ID="Publisher" />
|
||||
</Product>
|
||||
<!-- Project -->
|
||||
<Product ID="ProjectPro2019Volume" PIDKEY="B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B">
|
||||
<!-- Default languages to install -->
|
||||
<Language ID="de-de" />
|
||||
<Language ID="en-us" />
|
||||
<!-- Exclude some components -->
|
||||
<ExcludeApp ID="Access" />
|
||||
<ExcludeApp ID="Groove" />
|
||||
<ExcludeApp ID="Lync" />
|
||||
<ExcludeApp ID="OneDrive" />
|
||||
<ExcludeApp ID="Publisher" />
|
||||
</Product>
|
||||
</Add>
|
||||
<!-- We use KMS -->
|
||||
<Property Name="SharedComputerLicensing" Value="0" />
|
||||
<!-- No default Pin's -->
|
||||
<Property Name="PinIconsToTaskbar" Value="FALSE" />
|
||||
<!-- -->
|
||||
<Property Name="SCLCacheOverride" Value="0" />
|
||||
<!-- Will only work inside the Domain network or via VPN -->
|
||||
<Property Name="AUTOACTIVATE" Value="1" />
|
||||
<!-- Kill all running Office apps -->
|
||||
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
|
||||
<!-- Needed for KMS -->
|
||||
<Property Name="DeviceBasedLicensing" Value="0" />
|
||||
<!-- -->
|
||||
<Updates Enabled="TRUE" />
|
||||
<!-- Remove all installed MSI -->
|
||||
<RemoveMSI />
|
||||
<!-- configure the Office apps -->
|
||||
<AppSettings>
|
||||
<!-- Who is the owner of the Office Apps -->
|
||||
<Setup Name="Company" Value="enabling Technology" />
|
||||
<!-- Settings for the proofing tools - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\shared tools\proofing tools\spelling" Name="germanpostreform" Value="1" Type="REG_DWORD" App="office16" Id="L_UseGermanpostreformruleswhenrunningspellcheck" />
|
||||
<!-- Settings common - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\common" Name="disabledocumentchat" Value="0" Type="REG_DWORD" App="office16" Id="L_DocumentChat" />
|
||||
<User Key="software\microsoft\office\16.0\common" Name="qmenable" Value="0" Type="REG_DWORD" App="office16" Id="L_EnableCustomerExperienceImprovementProgram" />
|
||||
<User Key="software\microsoft\office\16.0\common" Name="updatereliabilitydata" Value="1" Type="REG_DWORD" App="office16" Id="L_UpdateReliabilityPolicy" />
|
||||
<User Key="software\microsoft\office\16.0\common" Name="linkedin" Value="1" Type="REG_DWORD" App="office16" Id="L_AllowLinkedInFeatures" />
|
||||
<User Key="software\microsoft\office\16.0\common" Name="default ui theme" Value="0" Type="REG_DWORD" App="office16" Id="L_DefaultUIThemeUser" />
|
||||
<User Key="software\microsoft\office\16.0\common" Name="insiderslabbehavior" Value="1" Type="REG_DWORD" App="office16" Id="L_OfficeInsiderUserExperience" />
|
||||
<User Key="software\microsoft\office\16.0\common\feedback" Name="enabled" Value="0" Type="REG_DWORD" App="office16" Id="L_SendFeedback" />
|
||||
<User Key="software\microsoft\office\16.0\common\ptwatson" Name="ptwoptin" Value="0" Type="REG_DWORD" App="office16" Id="L_ImproveProofingTools" />
|
||||
<User Key="software\microsoft\office\16.0\common\security" Name="useisopasswordverifier" Value="1" Type="REG_DWORD" App="office16" Id="L_SetPasswordHashFormatAsISOCompliant" />
|
||||
<User Key="software\microsoft\office\16.0\common\im" Name="turnoffpresenceintegration" Value="0" Type="REG_DWORD" App="office16" Id="L_TurnOffPresenceIntegration" />
|
||||
<User Key="software\microsoft\office\16.0\common\im" Name="turnoffpresenceicon" Value="0" Type="REG_DWORD" App="office16" Id="L_ConfigurePresenceIcons" />
|
||||
<User Key="software\microsoft\office\16.0\common\internet" Name="allow8bitmime" Value="0" Type="REG_DWORD" App="office16" Id="L_WebArchiveencoding" />
|
||||
<User Key="software\microsoft\office\16.0\common\general" Name="shownfirstrunoptin" Value="1" Type="REG_DWORD" App="office16" Id="L_DisableOptinWizard" />
|
||||
<User Key="software\microsoft\office\16.0\firstrun" Name="disablemovie" Value="1" Type="REG_DWORD" App="office16" Id="L_DisableMovie" />
|
||||
<User Key="software\microsoft\office\16.0\firstrun" Name="bootedrtm" Value="1" Type="REG_DWORD" App="office16" Id="L_DisableOfficeFirstrun" />
|
||||
<User Key="software\microsoft\office\16.0\osm" Name="enableupload" Value="0" Type="REG_DWORD" App="office16" Id="L_OfficeInventoryAgentUpload" />
|
||||
<User Key="software\microsoft\office\16.0\osm" Name="enablefileobfuscation" Value="0" Type="REG_DWORD" App="office16" Id="L_OfficeInventoryAgentFilemetadataObfuscation" />
|
||||
<User Key="software\microsoft\office\16.0\osm" Name="enablelogging" Value="0" Type="REG_DWORD" App="office16" Id="L_EnableLogging" />
|
||||
<!-- Settings for Excel - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\excel" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationExcel" />
|
||||
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
|
||||
<!-- Settings for OneNote - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\onenote" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationOneNote" />
|
||||
<User Key="software\microsoft\office\16.0\onenote\options" Name="email attachment" Value="1" Type="REG_DWORD" App="onent16" Id="L_AllowOneNoteemailattachments" />
|
||||
<User Key="software\microsoft\office\16.0\onenote\options" Name="disablepresence" Value="0" Type="REG_DWORD" App="onent16" Id="L_NotebookPresence" />
|
||||
<!-- Settings for Outlook - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\outlook" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationOutlook" />
|
||||
<User Key="software\microsoft\office\16.0\outlook\options\pubcal" Name="restrictedaccessonly" Value="1" Type="REG_DWORD" App="outlk16" Id="L_Accesstopublishedcalendars" />
|
||||
<User Key="software\microsoft\office\16.0\outlook\options\calendar" Name="weeknum" Value="1" Type="REG_DWORD" App="outlk16" Id="L_Calendarweeknumbers" />
|
||||
<User Key="software\microsoft\office\16.0\outlook\options" Name="enableconflictlogging" Value="2" Type="REG_DWORD" App="outlk16" Id="L_TurnOnLoggingForAllConflicts" />
|
||||
<User Key="software\microsoft\office\16.0\outlook\preferences" Name="disablemanualarchive" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DisableFileArchive" />
|
||||
<!-- Settings for PowerPoint - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\powerpoint" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationPowerPoint" />
|
||||
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
|
||||
<!-- Settings for Visio - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\visio" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationVisio" />
|
||||
<!-- Settings for Word - Customized by Intune/DSC later -->
|
||||
<User Key="software\microsoft\office\16.0\word" Name="dontshowwhatsnew" Value="1" Type="REG_DWORD" App="office16" Id="L_DontShowWhatsNewInformationWord" />
|
||||
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
|
||||
</AppSettings>
|
||||
<!-- Do NOT show the EULA -->
|
||||
<Display Level="None" AcceptEULA="TRUE" />
|
||||
<!-- No logging -->
|
||||
<Logging Level="Off" />
|
||||
</Configuration>
|
||||
@@ -0,0 +1,671 @@
|
||||
#requires -Version 5.0 -Modules CimCmdlets -RunAsAdministrator
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Set the Install Image in the Registry
|
||||
|
||||
.DESCRIPTION
|
||||
Set the Install Image in the Registry.
|
||||
Save several infos to the registry, we use that with some tools later.
|
||||
|
||||
.PARAMETER Company
|
||||
Name of the Company, used to create a registry Tree
|
||||
|
||||
.PARAMETER ImageName
|
||||
Name of the Install Image
|
||||
|
||||
.PARAMETER ImageDescription
|
||||
Description of the Install Image
|
||||
|
||||
.PARAMETER ImageVersion
|
||||
Version of the Install Image.
|
||||
String is used here!
|
||||
|
||||
.NOTES
|
||||
Changelog:
|
||||
2.0.0: Completly rewritten and renamed
|
||||
1.0.2: Add Image Name & Version
|
||||
1.0.1: Fixed the site issue (Termination Error)
|
||||
1.0.0: Initial public beta
|
||||
|
||||
Version 2.0.0
|
||||
|
||||
.LINK
|
||||
http://enatec.io
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'None')]
|
||||
param
|
||||
(
|
||||
[Parameter(ValueFromPipeline,
|
||||
ValueFromPipelineByPropertyName)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[Alias('InstallCompany')]
|
||||
[string]
|
||||
$Company = 'enabling Technology',
|
||||
[Parameter(ValueFromPipeline,
|
||||
ValueFromPipelineByPropertyName)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[Alias('InstallImageName')]
|
||||
[string]
|
||||
$ImageName = 'ETPOSD',
|
||||
[Parameter(ValueFromPipeline,
|
||||
ValueFromPipelineByPropertyName)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[Alias('InstallImageDescription')]
|
||||
[string]
|
||||
$ImageDescription = 'enabling Technology progressive OS deployment',
|
||||
[Parameter(ValueFromPipeline,
|
||||
ValueFromPipelineByPropertyName)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[Alias('InstallImageVersion')]
|
||||
[string]
|
||||
$ImageVersion = 'Test Build'
|
||||
)
|
||||
|
||||
begin
|
||||
{
|
||||
Write-Output -InputObject 'Set the Install Image in the Registry'
|
||||
|
||||
#region GlobalDefaults
|
||||
$SCT = 'SilentlyContinue'
|
||||
|
||||
$RegSz = 'String'
|
||||
$DefaultInfo = 'Unknown'
|
||||
|
||||
# Target Path
|
||||
$RegistryPath = ('HKLM:\Software\' + $Company + '\BaseImage')
|
||||
#endregion GlobalDefaults
|
||||
|
||||
#region HelperFunctions
|
||||
function Get-ComputerSplit
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Find the own name via DNS, use the Hostname as fallback
|
||||
|
||||
.DESCRIPTION
|
||||
Find the own name via DNS, use the Hostname as fallback
|
||||
|
||||
.PARAMETER ComputerName
|
||||
The Computer(s) to use
|
||||
|
||||
.EXAMPLE
|
||||
Get-ComputerSplit -ComputerName Value
|
||||
Describe what this call does
|
||||
|
||||
.NOTES
|
||||
Stolen from PsSharedGoods (MIT Licensed)
|
||||
|
||||
.LINK
|
||||
https://github.com/EvotecIT/PSSharedGoods
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'Low')]
|
||||
param(
|
||||
[string[]] $ComputerName = $ComputerName
|
||||
)
|
||||
|
||||
begin
|
||||
{
|
||||
# Just in case
|
||||
if ($null -eq $ComputerName)
|
||||
{
|
||||
$ComputerName = ($Env:COMPUTERNAME)
|
||||
}
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
try
|
||||
{
|
||||
# Do we have a registered Hostname in DNS?
|
||||
$LocalComputerDNSName = ([Net.Dns]::GetHostByName($Env:COMPUTERNAME).HostName)
|
||||
}
|
||||
catch
|
||||
{
|
||||
# Fallback
|
||||
$LocalComputerDNSName = ($Env:COMPUTERNAME)
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
$ComputersLocal = $null
|
||||
|
||||
[Array] $Computers = foreach ($_ in $ComputerName)
|
||||
{
|
||||
if ($_ -eq '' -or $null -eq $_)
|
||||
{
|
||||
$_ = ($Env:COMPUTERNAME)
|
||||
}
|
||||
|
||||
if ($_ -ne $Env:COMPUTERNAME -and $_ -ne $LocalComputerDNSName)
|
||||
{
|
||||
$_
|
||||
}
|
||||
else
|
||||
{
|
||||
$ComputersLocal = ($_)
|
||||
}
|
||||
}
|
||||
, @($ComputersLocal, $Computers)
|
||||
}
|
||||
}
|
||||
|
||||
function Get-CimData
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Get CIM Data
|
||||
|
||||
.DESCRIPTION
|
||||
Get CIM Data
|
||||
|
||||
.PARAMETER ComputerName
|
||||
Parameter description
|
||||
|
||||
.PARAMETER Protocol
|
||||
'Default', 'Dcom', 'Wsman', default is 'Default'
|
||||
|
||||
.PARAMETER Class
|
||||
CIM Class
|
||||
|
||||
.PARAMETER Properties
|
||||
CIM Property or Properties
|
||||
|
||||
.EXAMPLE
|
||||
Get-CimData -Class 'win32_bios' -ComputerName AD1,EVOWIN
|
||||
|
||||
Get-CimData -Class 'win32_bios'
|
||||
|
||||
# Get-CimClass to get all classes
|
||||
|
||||
.NOTES
|
||||
Stolen from PsSharedGoods (MIT Licensed)
|
||||
|
||||
.LINK
|
||||
https://github.com/EvotecIT/PSSharedGoods
|
||||
#>
|
||||
[CmdletBinding(ConfirmImpact = 'Low')]
|
||||
param([string] $Class,
|
||||
[string] $NameSpace = 'root\cimv2',
|
||||
[string[]] $ComputerName = $Env:COMPUTERNAME,
|
||||
[ValidateSet('Default', 'Dcom', 'Wsman')][string] $Protocol = 'Default',
|
||||
[string] $Properties = '*')
|
||||
|
||||
begin
|
||||
{
|
||||
$SCT = 'SilentlyContinue'
|
||||
$ExcludeProperties = 'CimClass', 'CimInstanceProperties', 'CimSystemProperties', 'SystemCreationClassName', 'CreationClassName'
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
[Array] $ComputersSplit = (Get-ComputerSplit -ComputerName $ComputerName)
|
||||
$CimObject = @(# requires removal of this property for query
|
||||
[string[]] $PropertiesOnly = $Properties | Where-Object -FilterScript {
|
||||
$_ -ne 'PSComputerName'
|
||||
}
|
||||
|
||||
$Computers = $ComputersSplit[1]
|
||||
|
||||
if ($Computers.Count -gt 0)
|
||||
{
|
||||
if ($Protocol -eq 'Default')
|
||||
{
|
||||
(Get-CimInstance -ClassName $Class -ComputerName $Computers -ErrorAction $SCT -Property $PropertiesOnly -Namespace $NameSpace | Select-Object -Property $Properties -ExcludeProperty $ExcludeProperties)
|
||||
}
|
||||
else
|
||||
{
|
||||
$Option = (New-CimSessionOption -Protocol)
|
||||
$Session = (New-CimSession -ComputerName $Computers -SessionOption $Option -ErrorAction $SCT)
|
||||
$Info = (Get-CimInstance -ClassName $Class -CimSession $Session -ErrorAction $SCT -Property $PropertiesOnly -Namespace $NameSpace | Select-Object -Property $Properties -ExcludeProperty $ExcludeProperties)
|
||||
$null = (Remove-CimSession -CimSession $Session -ErrorAction $SCT)
|
||||
|
||||
$Info
|
||||
}
|
||||
}
|
||||
|
||||
$Computers = $ComputersSplit[0]
|
||||
|
||||
if ($Computers.Count -gt 0)
|
||||
{
|
||||
$Info = (Get-CimInstance -ClassName $Class -ErrorAction $SCT -Property $PropertiesOnly -Namespace $NameSpace | Select-Object -Property $Properties -ExcludeProperty $ExcludeProperties)
|
||||
$Info | Add-Member -Name 'PSComputerName' -Value $Computers -MemberType NoteProperty -Force
|
||||
|
||||
$Info
|
||||
}
|
||||
)
|
||||
|
||||
$CimComputers = ($CimObject.PSComputerName | Sort-Object -Unique)
|
||||
|
||||
foreach ($Computer in $ComputerName)
|
||||
{
|
||||
if ($CimComputers -notcontains $Computer)
|
||||
{
|
||||
Write-Warning -Message ('Get-CimData - No data for computer {0}. Most likely an error on receiving side.' -f $Computer)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
end
|
||||
{
|
||||
return $CimObject
|
||||
}
|
||||
}
|
||||
#endregion HelperFunctions
|
||||
|
||||
$paramSetMpPreference = @{
|
||||
EnableControlledFolderAccess = 'Disabled'
|
||||
Force = $true
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (Set-MpPreference @paramSetMpPreference)
|
||||
}
|
||||
|
||||
process
|
||||
{
|
||||
# Create Path if needed
|
||||
$paramTestPath = @{
|
||||
Path = $RegistryPath
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
if (-not (Test-Path @paramTestPath))
|
||||
{
|
||||
$paramNewItem = @{
|
||||
Path = $RegistryPath
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-Item @paramNewItem)
|
||||
}
|
||||
|
||||
# Set Date/Time
|
||||
$InstallDate = (Get-Date -Format 'yyyy-MM-dd')
|
||||
$InstallTime = (Get-Date -Format 'HH:mm')
|
||||
|
||||
# Get system info
|
||||
$paramGetCimData = @{
|
||||
Class = 'Win32_ComputerSystem'
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$HardwareInfo = (Get-CimData @paramGetCimData)
|
||||
|
||||
# Windows Info
|
||||
$paramGetCimInstance = @{
|
||||
ClassName = 'Win32_OperatingSystem'
|
||||
Property = 'CSName', 'Caption', 'Version', 'OSArchitecture'
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$WindowsVersionInfo = (Get-CimInstance @paramGetCimInstance | Select-Object -Property CSName, Caption, Version, OSArchitecture)
|
||||
|
||||
# Release ID (e.g. 1903)
|
||||
$paramGetItemProperty = @{
|
||||
Path = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
|
||||
Name = 'ReleaseId'
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$WindowsReleaseId = ((Get-ItemProperty @paramGetItemProperty ).ReleaseId)
|
||||
|
||||
# Network Info
|
||||
$paramGetCimInstance = @{
|
||||
ClassName = 'Win32_NetworkAdapterConfiguration'
|
||||
select = 'IPAddress'
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$WindowsNicInfo = (Get-CimInstance @paramGetCimInstance | Where-Object -FilterScript {
|
||||
$_.IPAddress
|
||||
} | Select-Object -ExpandProperty IPAddress | Where-Object -FilterScript {
|
||||
$_ -notlike '*:*'
|
||||
})
|
||||
|
||||
#region ImageName
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'ImageName'
|
||||
PropertyType = $RegSz
|
||||
Value = $ImageName
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion ImageName
|
||||
|
||||
#region ImageDescription
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'ImageDescription'
|
||||
PropertyType = $RegSz
|
||||
Value = $ImageDescription
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion ImageDescription
|
||||
|
||||
#region ImageVersion
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'ImageVersion'
|
||||
PropertyType = $RegSz
|
||||
Value = $ImageVersion
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion ImageVersion
|
||||
|
||||
#region KMSAware
|
||||
$paramTestConnection = @{
|
||||
ComputerName = 'kms.enatec.net'
|
||||
Quiet = $true
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
[bool]$KMSAwareValue = (Test-Connection @paramTestConnection)
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'KMSAware'
|
||||
PropertyType = $RegSz
|
||||
Value = $KMSAwareValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion KMSAware
|
||||
|
||||
#region InstallDate
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallDate'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallDate
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallDate
|
||||
|
||||
#region InstallTime
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallTime'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallTime
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallTime
|
||||
|
||||
#region InstallHostname
|
||||
if ((($HardwareInfo).Name))
|
||||
{
|
||||
$InstallHostnameValue = (($HardwareInfo).Name)
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallHostnameValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallHostname'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallHostnameValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallHostname
|
||||
|
||||
#region InstallIP
|
||||
if ($WindowsNicInfo)
|
||||
{
|
||||
$InstallIPValue = $WindowsNicInfo
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallIPValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallIP'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallIPValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallIP
|
||||
|
||||
#region InstallSite
|
||||
if (Test-Connection -ComputerName echo.enatec.net -Quiet -WarningAction $SCT -ErrorAction $SCT)
|
||||
{
|
||||
$InstallSiteValue = 'FRA1'
|
||||
}
|
||||
elseif (Test-Connection -ComputerName friend.enatec.net -Quiet -WarningAction $SCT -ErrorAction $SCT)
|
||||
{
|
||||
$InstallSiteValue = 'FRA2'
|
||||
}
|
||||
elseif (Test-Connection -ComputerName join.enatec.net -Quiet -WarningAction $SCT -ErrorAction $SCT)
|
||||
{
|
||||
$InstallSiteValue = 'VPN'
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallSiteValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallSite'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallSiteValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallSite
|
||||
|
||||
#region HardwareManufacturer
|
||||
if ((($HardwareInfo).Manufacturer))
|
||||
{
|
||||
$HardwareManufacturerValue = (($HardwareInfo).Manufacturer)
|
||||
}
|
||||
else
|
||||
{
|
||||
$HardwareManufacturerValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'HardwareManufacturer'
|
||||
PropertyType = $RegSz
|
||||
Value = $HardwareManufacturerValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion HardwareManufacturer
|
||||
|
||||
#region HardwareModel
|
||||
if ((($HardwareInfo).Model))
|
||||
{
|
||||
$HardwareModelValue = (($HardwareInfo).Model)
|
||||
}
|
||||
else
|
||||
{
|
||||
$HardwareModelValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'HardwareModel'
|
||||
PropertyType = $RegSz
|
||||
Value = $HardwareModelValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion HardwareModel
|
||||
|
||||
#region InstallOperationsystem
|
||||
if ((($WindowsVersionInfo).Caption))
|
||||
{
|
||||
$InstallOperationsystemValue = (($WindowsVersionInfo).Caption)
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallOperationsystemValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallOperationsystem'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallOperationsystemValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallOperationsystem
|
||||
|
||||
#region InstallArchitecture
|
||||
if ((($WindowsVersionInfo).OSArchitecture))
|
||||
{
|
||||
$InstallArchitectureValue = (($WindowsVersionInfo).OSArchitecture)
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallArchitectureValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallArchitecture'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallArchitectureValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallArchitecture
|
||||
|
||||
#region InstallReleaseId
|
||||
if ($WindowsReleaseId)
|
||||
{
|
||||
$InstallReleaseIdValue = $WindowsReleaseId
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallReleaseIdValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallReleaseId'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallReleaseIdValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallReleaseId
|
||||
|
||||
#region InstallVersion
|
||||
if ((($WindowsVersionInfo).Version))
|
||||
{
|
||||
$InstallVersionValue = (($WindowsVersionInfo).Version)
|
||||
}
|
||||
else
|
||||
{
|
||||
$InstallVersionValue = $DefaultInfo
|
||||
}
|
||||
|
||||
$paramNewItemProperty = @{
|
||||
Path = $RegistryPath
|
||||
Name = 'InstallVersion'
|
||||
PropertyType = $RegSz
|
||||
Value = $InstallVersionValue
|
||||
Force = $true
|
||||
Confirm = $false
|
||||
WarningAction = $SCT
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (New-ItemProperty @paramNewItemProperty)
|
||||
#endregion InstallVersion
|
||||
}
|
||||
|
||||
end
|
||||
{
|
||||
$paramSetMpPreference = @{
|
||||
EnableControlledFolderAccess = 'Enabled'
|
||||
Force = $true
|
||||
ErrorAction = $SCT
|
||||
}
|
||||
$null = (Set-MpPreference @paramSetMpPreference)
|
||||
}
|
||||
|
||||
#region LICENSE
|
||||
<#
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, enabling Technology
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#>
|
||||
#endregion LICENSE
|
||||
|
||||
#region DISCLAIMER
|
||||
<#
|
||||
DISCLAIMER:
|
||||
- Use at your own risk, etc.
|
||||
- This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty in any kind
|
||||
- This is a third-party Software
|
||||
- The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its subsidiaries in any way
|
||||
- The Software is not supported by Microsoft Corp (MSFT)
|
||||
- By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
- If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
#>
|
||||
#endregion DISCLAIMER
|
||||
@@ -0,0 +1,415 @@
|
||||
@ECHO OFF
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: enabling Technology progressive OS deployment
|
||||
:: Client System Bootstrapper for Windows 10 Enterprise Installations
|
||||
::
|
||||
:: Version 1.0.0
|
||||
::
|
||||
:: Tested with Windows 10 Enterprise Release 2004 and Release 2009
|
||||
::
|
||||
:: Please review all the scripts BEFORE you install it on any of your systems.
|
||||
:: This installation/configuration is customized to our internal requirements and might not fit for everyone!
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
|
||||
SETLOCAL
|
||||
|
||||
:: check if runs as Administrator
|
||||
OPENFILES >nul 2>&1
|
||||
IF %errorlevel%==0 (
|
||||
GOTO MakeNonCancelable
|
||||
) ELSE (
|
||||
ECHO You are not running as Administrator...
|
||||
ECHO This batch cannot do it's job without elevation!
|
||||
ECHO.
|
||||
ECHO Right-click and select ^'Run as Administrator^' and try again...
|
||||
ECHO.
|
||||
ECHO Press any key to exit...
|
||||
PAUSE >nul
|
||||
|
||||
EXIT
|
||||
)
|
||||
|
||||
:MakeNonCancelable
|
||||
:: prevent CTRL + C
|
||||
IF "%~1" EQU "NonCancelable" GOTO NonCancelable
|
||||
START "" /B CMD /C "%~F0" NonCancelable
|
||||
EXIT
|
||||
|
||||
:NonCancelable
|
||||
TITLE enabling Technology Client System Bootstrapper
|
||||
SET Module=SystemBootstrapper
|
||||
SET logfile_setup=%HOMEDRIVE%\Temp\%Module%.txt
|
||||
|
||||
:: Show Splash Screen
|
||||
START /LOW /MAX "Installation is running, please wait" c:\tools\enaTec_Installer.exe >nul 2>&1
|
||||
|
||||
:: Ensure NTP is used and that the time is correct
|
||||
%SystemRoot%\System32\net.exe stop w32time >nul 2>&1
|
||||
%SystemRoot%\System32\w32tm.exe /config /syncfromflags:manual /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org" >nul 2>&1
|
||||
%SystemRoot%\System32\net.exe start w32time >nul 2>&1
|
||||
%SystemRoot%\System32\sc.exe config w32time start= auto >nul 2>&1
|
||||
%SystemRoot%\System32\w32tm.exe /resync /force >nul 2>&1
|
||||
|
||||
:: Wait for the Splash Screen to load
|
||||
:LOOP
|
||||
:: Check if the Splash Screen is running
|
||||
%SystemRoot%\system32\tasklist.exe | %SystemRoot%\system32\find.exe /i "enaTec_Installer" >nul 2>&1
|
||||
IF ERRORLEVEL 1 (
|
||||
:: Wait for 5 seconds
|
||||
%SystemRoot%\system32\timeout.exe /T 5 /Nobreak >nul 2>&1
|
||||
:: Check again
|
||||
GOTO LOOP
|
||||
) ELSE (
|
||||
:: Splash Screen is running
|
||||
GOTO SetLogHeader
|
||||
)
|
||||
|
||||
:SetLogHeader
|
||||
ECHO ******************************************************************************** >%logfile_setup%
|
||||
ECHO Started %Module% on %DATE:~0% - %TIME:~0,8%
|
||||
ECHO For %COMPUTERNAME% by %USERDOMAIN%\%USERNAME% >>%logfile_setup%
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:SetPowerPlanToHighPerformance
|
||||
ECHO Set Power Plan to High Performance
|
||||
ECHO %TIME:~0,8% Set Power Plan to High Performance >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "c:\scripts\PowerShell\Set-PowerPlanToHighPerformance.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:DisableCortanaSearchbar
|
||||
ECHO Disable Cortana Searchbar
|
||||
ECHO %TIME:~0,8% Disable Cortana Searchbar >>%logfile_setup%
|
||||
"%SystemRoot%\System32\reg.exe" ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 0 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:CreatePowerShellProfiles
|
||||
ECHO Create plain PowerShell Profiles
|
||||
ECHO %TIME:~0,8% Create plain PowerShell Profiles >>%logfile_setup%
|
||||
start /MIN /WAIT "CleanupStockApps" %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "C:\scripts\PowerShell\New-PowerShellProfiles.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:ConfigureStorageSense
|
||||
ECHO Configure Storage Sense
|
||||
ECHO %TIME:~0,8% Configure Storage Sense >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Set-StorageSense.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:BootstrapTheUser
|
||||
ECHO Bootstrap the User
|
||||
ECHO %TIME:~0,8% Bootstrap the User >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Invoke-BootstrapUser.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:ApplyTweaksLocal
|
||||
ECHO Apply tweaks local
|
||||
ECHO %TIME:~0,8% Apply tweaks local >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\reg.exe" ADD HKU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v BootstrapUser /t REG_SZ /d "powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command '$null = (C:\scripts\PowerShell\Invoke-BootstrapUser.ps1)'" /f >>%logfile_setup% 2>&1
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:UpdateAllMicrosoftStoreApps
|
||||
ECHO Update all Microsoft Store Apps
|
||||
ECHO %TIME:~0,8% Update all Microsoft Store Apps >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Update-AllMicrosoftStoreApps.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:SetOneDriveToGetInsiderBuilds
|
||||
ECHO Set OneDrive to get Insider builds
|
||||
ECHO %TIME:~0,8% Set OneDrive to get Insider builds >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\reg.exe" add HKCU\Software\Microsoft\OneDrive /v EnableTeamTier_Internal /t REG_DWORD /d 1 /f >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:ForceOneDriveToUpdateAndRestart
|
||||
ECHO Force OneDrive to update and restart
|
||||
ECHO %TIME:~0,8% Force OneDrive to update and restart >>%logfile_setup% 2>&1
|
||||
C:\Windows\SysWOW64/OneDriveSetup.exe /update /restart /force >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:DownloadAndInstallLatestVersionOfMicrosoftTeams
|
||||
ECHO Download and install latest version of Microsoft Teams
|
||||
ECHO %TIME:~0,8% Download and install latest version of Microsoft Teams >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-LatestTeamsClient.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:EnableQoSForMicrosoftTeams
|
||||
ECHO Enable QoS for Microsoft Teams
|
||||
ECHO %TIME:~0,8% Enable QoS for Microsoft Teams >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Set-QoSForMicrosoftTeams.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:TweakTheFirewallForMicrosoftTeams
|
||||
ECHO Tweak the Firewall for Microsoft Teams
|
||||
ECHO %TIME:~0,8% Tweak the Firewall for Microsoft Teams >>%logfile_setup% 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Invoke-TweakTeamsClientFirewall.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:ConfigureMicrosoftDefender
|
||||
ECHO Configure Microsoft Defender
|
||||
ECHO %TIME:~0,8% Configure Microsoft Defender >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Optimize-MicrosoftDefenderExclusions.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:InstallSomePowerShellModules
|
||||
ECHO Install some PowerShell Modules
|
||||
ECHO %TIME:~0,8% Install some PowerShell Modules >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-PowerShellModules_required.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:InstallChocoWorkstationPackages
|
||||
ECHO Install Choco Workstation packages
|
||||
ECHO %TIME:~0,8% Install Choco Workstation packages >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(c:\scripts\PowerShell\Install-ChocoPackages_Workstation.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:InstallWinGetFromTheGitHubRepository
|
||||
ECHO Install WinGet from the GitHub Repository
|
||||
ECHO %TIME:~0,8% Install WinGet from the GitHub Repository >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-WingetFromRepositoryRelease.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:AutomateTheDriverUpdateProcess
|
||||
ECHO Automate the driver update process
|
||||
ECHO %TIME:~0,8% Automate the driver update process >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -Command "(c:\scripts\PowerShell\Invoke-MSIntuneDriverUpdate.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:DesktopCleanup
|
||||
ECHO Desktop Cleanup
|
||||
ECHO %TIME:~0,8% Desktop Cleanup >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Remove-AllPublicDesktopLinks.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
ECHO Set the default Start menu
|
||||
ECHO %TIME:~0,8% Set the default Start menu >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Set-DefaultStartMenu.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:DisableWindowsScriptHost
|
||||
:: Turn off Windows Script Host (current user only)
|
||||
ECHO Turn off Windows Script Host
|
||||
ECHO %TIME:~0,8% Turn on Windows Script Host >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (New-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings' -Name Enabled -PropertyType DWord -Value 0 -Force -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:EncryptTheBootDriveWithBitLocker
|
||||
ECHO Encrypt the Boot drive with BitLocker
|
||||
ECHO %TIME:~0,8% Encrypt the Boot drive with BitLocker >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Enable-BitLockerEncryption.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:SaveBitLockerKeyToAzureAD
|
||||
ECHO Save BitLocker Key to AzureAD
|
||||
ECHO %TIME:~0,8% Save BitLocker Key to AzureAD >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Invoke-BackupBitLockerKeyToAAD.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:ApplyAllPendingMicrosoftUpdates
|
||||
ECHO Apply all pending Microsoft updates
|
||||
ECHO %TIME:~0,8% Apply all pending Microsoft updates >>%logfile_setup% 2>&1
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "(C:\scripts\PowerShell\Install-AllMissingMicrosoftUpdates.ps1 -ErrorAction Continue)" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: DEFAULT
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "$null = (Set-MpPreference -EnableControlledFolderAccess Enabled -Force -ErrorAction SilentlyContinue)" >nul 2>&1
|
||||
SC stop wsearch >nul 2>&1
|
||||
:: DEFAULT
|
||||
|
||||
:SetPowerPlanToAuto
|
||||
ECHO Set Power Plan to Auto
|
||||
ECHO %TIME:~0,8% Set Power Plan to Auto >>%logfile_setup%
|
||||
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "c:\scripts\PowerShell\Set-PowerPlanToAuto.ps1" >>%logfile_setup% 2>&1
|
||||
ECHO Errorlevel=%Errorlevel% >>%logfile_setup% 2>nul
|
||||
|
||||
:: Go away
|
||||
POPD >nul 2>&1
|
||||
CD / >nul 2>&1
|
||||
|
||||
ECHO %TIME:~0,8% Bootstrap and JumpStart finished >>%logfile_setup%
|
||||
ECHO ******************************************************************************** >>%logfile_setup%
|
||||
ECHO.>>%logfile_setup% 2>nul
|
||||
|
||||
:: Initiate a restart
|
||||
SHUTDOWN -r -t 5 >nul 2>&1
|
||||
|
||||
:: Final cleanup
|
||||
IF EXIST c:\install\ rd /s /q c:\install\ >nul 2>&1
|
||||
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Changelog:
|
||||
::
|
||||
:: 0.9.0: Internal Test
|
||||
:: 1.0.0: Initial Release
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: License: BSD 3-Clause License
|
||||
::
|
||||
:: Copyright 2020, enabling Technology
|
||||
:: All rights reserved.
|
||||
::
|
||||
:: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
:: following conditions are met:
|
||||
:: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
|
||||
:: disclaimer.
|
||||
:: 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
|
||||
:: following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
:: 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
|
||||
:: products derived from this software without specific prior written permission.
|
||||
::
|
||||
:: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
:: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
:: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
:: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
:: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
:: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
:: USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
::
|
||||
:: Disclaimer:
|
||||
:: - Use at your own risk, etc.
|
||||
:: - This is open-source software, if you find an issue try to fix it yourself. There is no support and/or warranty
|
||||
:: in any kind
|
||||
:: - This is a third-party Software
|
||||
:: - The developer of this Software is NOT sponsored by or affiliated with Microsoft Corp (MSFT) or any of its
|
||||
:: subsidiaries in any way
|
||||
:: - The Software is not supported by Microsoft Corp (MSFT)
|
||||
:: - By using the Software, you agree to the License, Terms, and any Conditions declared and described above
|
||||
:: - If you disagree with any of the Terms, and any Conditions declared: Just delete it and build your own solution
|
||||
::
|
||||
:: ********************************************************************************************************************
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<supportedRuntime version="v4.0" />
|
||||
<supportedRuntime version="v2.0" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
|
||||
</appSettings>
|
||||
<runtime>
|
||||
<AppContextSwitchOverrides value="Switch.System.IO.BlockLongPaths=false;Switch.System.IO.UseLegacyPathHandling=false"/>
|
||||
</runtime>
|
||||
</configuration>
|
||||