Need a Powershell script

TechUST 416 Reputation points
2024-02-15T19:19:00.6066667+00:00

Hi expert, I have a script for the Windows 11 UI, which is functioning well. I've also discovered a script for the Windows 10 UI that closely resembles the Windows 11 UI. I want to confirm if this Windows 10 UI script will meet the requirements similar to the Windows 11 UI script. Please advise. My objective is to design a Windows 10 UI with the following settings: would request if you can test it in your test environment. Thank you

Search: Icon Only

Widgets: Off

Chat: Off

Taskbar Alignment: Left

Copilot: Off"

Win11 UI Script (working fine) –

#turn off Chat

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarMn /t REG_DWORD /d 0

#turn off Widgets

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarDa /t REG_DWORD /d 0

#change Search : Icon only

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /f /v SearchboxTaskbarMode /t REG_DWORD /d 1

#change Taskbar Alignment: Left

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarAl /t REG_DWORD /d 0

Remove new AI/CoPilot button

REG ADD "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot" /f /v TurnOffWindowsCopilot /t REG_DWORD /d 1

I found this script for win10 but not sure it meet requirements similar to the Windows 11 UI script

####taskbar location###

$Settings = (Get-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 -Name Settings).Settings

$Settings[12] = 0x00

Set-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 -Name Settings -Value $Settings

####search icon only###

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t "REG_DWORD" /d "1" /f

####widgets off###

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" /v "ShellFeedsTaskbarViewMode" /t "REG_DWORD" /d "2" /f

####chat off###

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t "REG_DWORD" /d "0" /f

shutdown /r /t 0

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,635 questions
System Center Virtual Machine Manager
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,188 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,725 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 7,980 Reputation points Microsoft Vendor
    2024-02-20T02:56:57.01+00:00

    @TechUST, Thanks for posting in Q&A.

    From your description, I know you find a script for windows 10 and want to check whether it can work.

    Based on my testing, the script for windows10 work fine on my Windows 10 computers and you can use the script to change the settings.

    If there is any unclear, feel free to contact me.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 11,716 Reputation points
    2024-02-19T10:57:11.8833333+00:00

    You should compare existing reg values W10 vs. W11 and test test test. You probably will need to publish 2 different scripts, for W10 only and for W11. I do practise similar heavy style customizations for Windows machines and I have wrapped PS1 scripts to Win32 apps and I am using filters to drop them whenever to Win10 or to Win11 suitable.

    0 comments No comments