Browse Source

Fixed Cursors function

pull/500/head 6.5.1
Dmitry Nefedov 2 years ago
parent
commit
5caf1d5876
  1. 83
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 83
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 83
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  5. 83
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  6. 83
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  7. 104
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  8. 88
      src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

83
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -4234,7 +4234,7 @@ function AeroShaking
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -4320,7 +4320,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4332,8 +4332,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -4343,30 +4345,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4437,7 +4440,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4449,8 +4452,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -4460,30 +4465,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4503,7 +4509,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4517,14 +4523,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

83
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -3183,7 +3183,7 @@ function AppsLanguageSwitch
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -3269,7 +3269,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3281,8 +3281,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -3292,30 +3294,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -3386,7 +3389,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3398,8 +3401,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -3409,30 +3414,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -3452,7 +3458,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3466,14 +3472,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

83
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -3557,7 +3557,7 @@ function AeroShaking
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -3643,7 +3643,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3655,8 +3655,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -3666,30 +3668,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -3760,7 +3763,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3772,8 +3775,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -3783,30 +3788,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -3826,7 +3832,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3840,14 +3846,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -953,7 +953,7 @@ AppSuggestions -Hide
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Валидные значения ярлыков: ControlPanel, DevicesPrinters
Валидные значения ярлыков: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters

83
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -4238,7 +4238,7 @@ function AeroShaking
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -4324,7 +4324,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4336,8 +4336,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -4347,30 +4349,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4441,7 +4444,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4453,8 +4456,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -4464,30 +4469,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4507,7 +4513,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4521,14 +4527,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

83
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -3885,7 +3885,7 @@ function AeroShaking
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -3971,7 +3971,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -3983,8 +3983,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -3994,30 +3996,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4088,7 +4091,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4100,8 +4103,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -4111,30 +4116,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4154,7 +4160,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4168,14 +4174,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

104
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -3183,25 +3183,6 @@ function TaskViewButton
}
}
<#
.SYNOPSIS
The Chat icon (Microsoft Teams) on the taskbar
.PARAMETER Hide
Hide the Chat icon (Microsoft Teams) on the taskbar
.PARAMETER Show
Show the Chat icon (Microsoft Teams) on the taskbar
.EXAMPLE
TaskbarChat -Hide
.EXAMPLE
TaskbarChat -Show
.NOTES
Current user
#>
<#
.SYNOPSIS
The Chat icon (Microsoft Teams) on the taskbar
@ -3210,7 +3191,7 @@ function TaskViewButton
Hide the Chat icon (Microsoft Teams) on the taskbar and prevent Microsoft Teams from installing for new users
.PARAMETER Show
Show the Chat icon (Microsoft Teams) on the taskbar and remove block for Microsoft Teams from installing for new users
Show the Chat icon (Microsoft Teams) on the taskbar and remove block from installing Microsoft Teams for new users
.EXAMPLE
TaskbarChat -Hide
@ -3908,7 +3889,7 @@ function AeroShaking
https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356
.NOTES
The 09/09/22 version
The 21/05/23 version
.NOTES
Current user
@ -3994,7 +3975,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4006,8 +3987,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\move.cur" -Force
@ -4017,30 +4000,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4111,7 +4095,7 @@ function Cursors
Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4123,8 +4107,10 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\beam.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\pin.cur" -Force
# This is not a typo
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\precision.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\move.cur" -Force
@ -4134,30 +4120,31 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\horz.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_light_v2.2\busy.ani" -Force
if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes"))
{
New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force
}
[string[]]$Schemes = (
"%SystemRoot%\Cursors\W11_light_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_light_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\pin.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_light_v2.2\busy.ani"
"%SystemRoot%\Cursors\W11_dark_v2.2\pointer.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\help.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\working.ani",
"%SystemRoot%\Cursors\W11_dark_v2.2\busy.ani",,
"%SystemRoot%\Cursors\W11_dark_v2.2\precision.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\beam.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\handwriting.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\unavailable.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\vert.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\horz.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn1.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\dgn2.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\move.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\link.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\person.cur",
"%SystemRoot%\Cursors\W11_dark_v2.2\pin.cur"
) -join ","
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light Free v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force
}
catch [System.Net.WebException]
{
@ -4177,7 +4164,7 @@ function Cursors
}
"Default"
{
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_working.ani" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_arrow.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force
@ -4191,14 +4178,13 @@ function Cursors
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pen.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_person.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_pin.cur" -Force
Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 2 -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_move.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nesw.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ns.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_nwse.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_ew.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11_dark_v2.2\alternate.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SystemRoot%\cursors\aero_up.cur" -Force
}
}

88
src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

@ -366,6 +366,14 @@ TaskbarAlignment -Center
# Установить выравнивание панели задач по левому краю
# TaskbarAlignment -Left
# Hide the widgets icon on the taskbar
# Скрыть кнопку "Мини-приложения" с панели задач
TaskbarWidgets -Hide
# Show the widgets icon on the taskbar (default value)
# Отобразить кнопку "Мини-приложения" на панели задач (значение по умолчанию)
# TaskbarWidgets -Show
# Hide the search on the taskbar
# Скрыть поле или значок поиска на панели задач
TaskbarSearch -Hide
@ -390,14 +398,6 @@ TaskViewButton -Hide
# Отобразить кнопку "Представление задач" на панели задач (значение по умолчанию)
# TaskViewButton -Show
# Hide the widgets icon on the taskbar
# Скрыть кнопку "Мини-приложения" с панели задач
TaskbarWidgets -Hide
# Show the widgets icon on the taskbar (default value)
# Отобразить кнопку "Мини-приложения" на панели задач (значение по умолчанию)
# TaskbarWidgets -Show
# Hide the Chat icon (Microsoft Teams) on the taskbar and prevent Microsoft Teams from installing for new users
# Скрыть кнопку чата (Microsoft Teams) с панели задач и запретить установку Microsoft Teams для новых пользователей
TaskbarChat -Hide
@ -406,6 +406,14 @@ TaskbarChat -Hide
# Отобразить кнопку чата (Microsoft Teams) на панели задач и убрать блокировку на устанвоку Microsoft Teams для новых пользователей (значение по умолчанию)
# TaskbarChat -Show
# Show seconds on the taskbar clock
# Отобразить секунды в системных часах на панели задач
SecondsInSystemClock -Show
# Hide seconds on the taskbar clock (default value)
# Скрыть секунды в системных часах на панели задач (значение по умолчанию)
# SecondsInSystemClock -Hide
# Unpin the "Microsoft Edge", "Microsoft Store" shortcuts from the taskbar
# Открепить ярлыки "Microsoft Edge", "Microsoft Store" от панели задач
UnpinTaskbarShortcuts -Shortcuts Edge, Store
@ -454,38 +462,6 @@ JPEGWallpapersQuality -Max
# Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию
# JPEGWallpapersQuality -Default
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get Windows updates as soon as they're available for your device (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
# WindowsLatestUpdate -Disable
# Get Windows updates as soon as they're available for your device
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
# Do not add the "- Shortcut" suffix to the file name of created shortcuts
# Нe дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков
ShortcutsSuffix -Disable
@ -904,6 +880,38 @@ NetworkDiscovery -Enable
# Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)
# NetworkDiscovery -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get Windows updates as soon as they're available for your device (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get Windows updates as soon as they're available for your device
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"

Loading…
Cancel
Save