Script başlatma hatası

Windows 11 ile ilgili haber, bilgi ve ipucu Paylaşım alanıdır
Kullanıcı avatarı
skinnycem
Kilobyte4
Kilobyte4
Mesajlar: 669
Kayıt: 19 Mar 2006, 18:32
cinsiyet: Erkek
Teşekkür etti: 2 kez
Teşekkür edildi: 1 kez

Script başlatma hatası

Mesaj gönderen skinnycem »

Powershell de bu scripti açmaya çalıştığımda, irm "https://github.com/memstechtips/Winhanc ... nhance.ps1" | iex ;

"the property "name" can not be found on this object.Verify that the property exists and can be set " hatası alıyorum.

Araştırdığımda çözümler genelde script yazma ile ilgili. O da bende yok. işletim sistemi win 11 pro. Anlayacağım şekilde yardımcı olacak var mı? :-)
Kullanıcı avatarı
Kayserilifatih
Petabyte4
Petabyte4
Mesajlar: 9466
Kayıt: 30 Ağu 2024, 20:48
cinsiyet: Erkek
Teşekkür etti: 930 kez
Teşekkür edildi: 7010 kez

Re: Script başlatma hatası

Mesaj gönderen Kayserilifatih »

Site github ile ilgili olduğu için demek ki githubdan elindeki bir scriptle içerik indirmeye çalışıyorsun ve name yani isim bulunamadı diyor. Bir scriptin tamamını mümkünse tamamen paylaşır mısın daha detaylı bakılır hatanın kaynağı öyle anlaşılabilir yoksa bu şekilde pek bir şey anlaşılmıyor.
Kullanıcı avatarı
skinnycem
Kilobyte4
Kilobyte4
Mesajlar: 669
Kayıt: 19 Mar 2006, 18:32
cinsiyet: Erkek
Teşekkür etti: 2 kez
Teşekkür edildi: 1 kez

Re: Script başlatma hatası

Mesaj gönderen skinnycem »

https://github.com/memstechtips/Winhance bu adreste tamamı yazıyor. Buraya aktaramadım.
Kullanıcı avatarı
Kayserilifatih
Petabyte4
Petabyte4
Mesajlar: 9466
Kayıt: 30 Ağu 2024, 20:48
cinsiyet: Erkek
Teşekkür etti: 930 kez
Teşekkür edildi: 7010 kez

Re: Script başlatma hatası

Mesaj gönderen Kayserilifatih »

Github'da paylaşacaktın fakat paylaşamadın doğru mu anladım
Kullanıcı avatarı
skinnycem
Kilobyte4
Kilobyte4
Mesajlar: 669
Kayıt: 19 Mar 2006, 18:32
cinsiyet: Erkek
Teşekkür etti: 2 kez
Teşekkür edildi: 1 kez

Re: Script başlatma hatası

Mesaj gönderen skinnycem »

Hayır .. Bu scripti açamıyorum . Açınca yukarıda yazdığım hatayı alıyorum. sorun bu.
Kullanıcı avatarı
Kayserilifatih
Petabyte4
Petabyte4
Mesajlar: 9466
Kayıt: 30 Ağu 2024, 20:48
cinsiyet: Erkek
Teşekkür etti: 930 kez
Teşekkür edildi: 7010 kez

Re: Script başlatma hatası

Mesaj gönderen Kayserilifatih »

Scriptte hata var. Github'daki script geliştiricisine bu durumu bildirin elinden geldiğince düzeltirler. Hata sende değil yani scriptte hata var. Bende de aynı şekilde hata verdi.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -1

Mesaj gönderen TRWE_2012 »

Bu büyük betiği bölüm bölüm parçalayarak açıklamasını yapalım...!!!

BÖLÜM -1 :

Kod: Tümünü seç

# Update the SystemParametersInfo declaration to include all required parameters (for Wallpaper Functions)
Add-Type -TypeDefinition @"
using System;
using System.Runtime.InteropServices;

public class Wallpaper {
    [DllImport("user32.dll", CharSet = CharSet.Auto)]
    public static extern int SystemParametersInfo(
        uint uAction,
        uint uParam,
        string lpvParam,
        uint fuWinIni
    );

    public const uint SPI_SETDESKWALLPAPER = 0x0014;
    public const uint SPIF_UPDATEINIFILE = 0x01;
    public const uint SPIF_SENDCHANGE = 0x02;
}
"@

# Hide the console window as events are logged and shown in the GUI status text
Add-Type -Name Window -Namespace Console -MemberDefinition '
[DllImport("Kernel32.dll")]
public static extern IntPtr GetConsoleWindow();
[DllImport("user32.dll")]
public static extern bool ShowWindow(IntPtr hWnd, Int32 nCmdShow);
'
$consolePtr = [Console.Window]::GetConsoleWindow()
[Console.Window]::ShowWindow($consolePtr, 0) | Out-Null

# Check if running as administrator
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) {
    Try {
        Start-Process PowerShell.exe -ArgumentList ("-NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File `"{0}`"" -f $PSCommandPath) -Verb RunAs
        Exit
    }
    Catch {
        [System.Windows.MessageBox]::Show("Failed to run as Administrator. Please rerun with elevated privileges.", "Error", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Error)
        Exit
    }
}

#region 2. Type Definitions
# ====================================================================================================
# Type Definitions
# Definition of custom types, enums, and classes used throughout the application
# ====================================================================================================

# [Enums]
enum RegistryAction {
    Apply
    Test
    Rollback
}

enum TaskAction {
    Apply
    Rollback
}

enum BaseKey {
    System
    LocationConsent
    SensorOverrides
    Telemetry
    Feedback
    Advertising
    CapabilityConsent
    InternationalUserProfile
    EdgeUI
    InputPersonalization
    TrainedDataStore
    PersonalizationSettings
    SiufRules
    ContentDeliveryManager
    AccountNotifications
    CloudContent
    SharedAccess
    DeviceMetadata
    RemoteAssistance
    Maintenance
    ErrorReporting
    PushToInstall
    WindowsSearch
    PolicyManagerWiFi
    AppPrivacy
    InkingTypingPersonalization
    ThemesPersonalize
    Maps
    LocationService
    WindowsInk
    SystemPolicy
    BitLocker
    EnhancedStorage
    GameConfigStore
    GameBar
    DirectXUserGpuPreferences
    GameDVR
    NvidiaFTS
    MultimediaSystemProfile
    MultimediaSystemProfileTasksGames
    GraphicsDrivers
    PriorityControl
    StorageSensePolicies
    WindowsUpdateMain
    WindowsUpdate
    DeliveryOptimization
    WindowsStorePolicies
    AppxPolicies
    Taskband
    TaskbarChat
    TaskbarFeeds
    PolicyManagerNews
    TaskbarDsh
    LMPolicyExplorer
    ExplorerPolicies
    CUExplorerAdvanced
    CUExplorer
    CUPolicyExplorer
    CUSearch
    PolicyManagerStart
    PolicyManagerProvidersStart
    FileSystem
    WorkplaceJoin
    MyComputerNamespace
    MyComputerNamespaceWOW64
    DesktopNamespace
    Explorer
    CabinetState
    ControlPanelMouse
    VisualEffects
    ControlPanelDesktop
    TabletTip
    ClassesCLSID
    ImmersiveShell
    BootAnimation
    EditionOverrides
    MultimediaAudio
    SpeechOneCoreSettings
    Accessibility
    EaseOfAccess
    InputSettings
    Lighting
    SearchSettings
    Notifications
    Services
}

class RegistrySetting {
    [string] $Category 
    [RegistryHive] $Hive
    [string] $SubKey
    [string] $Name
    [object] $RecommendedValue
    [RegistryValueKind] $ValueType
    [object] $DefaultValue
    [string] $Description
    hidden [RegistryView] $_RegistryView = [RegistryView]::Registry64

    # Constructor
    RegistrySetting(
        [RegistryHive] $Hive,
        [string] $SubKey,
        [string] $Name,
        [object] $RecommendedValue,
        [RegistryValueKind] $ValueType,
        [object] $DefaultValue,
        [string] $Description
    ) {
        $this.Hive = $Hive
        $this.SubKey = $SubKey.Trim('\') -replace '/', '\'
        $this.Name = $Name
        $this.RecommendedValue = $RecommendedValue
        $this.ValueType = $ValueType
        $this.DefaultValue = $DefaultValue
        $this.Description = $Description
        
        $this._RegistryView = if ($this.Hive -eq [RegistryHive]::LocalMachine) {
            [RegistryView]::Registry64
        }
        else {
            [RegistryView]::Default
        }
    }

    [void] Execute([RegistryAction] $Action) {
        $baseKey = $null
        $registrySubKey = $null 
    
        try {
            Write-Log "Processing: $($this.Name) [Action: $Action]"
            $baseKey = [RegistryKey]::OpenBaseKey($this.Hive, $this._RegistryView)
            
            switch ($Action) {
                ([RegistryAction]::Apply) {
                    if ($this.ValueType -eq [RegistryValueKind]::None) {
                        # Handle key deletion
                        $fullPath = [IO.Path]::Combine($this.SubKey, $this.Name)
                        try {
                            $baseKey.DeleteSubKeyTree($fullPath, $false)
                            Write-Log "Deleted key: $fullPath"
                        }
                        catch [System.ArgumentException] {
                            # Key doesn't exist, which is fine
                            Write-Log "Key already removed: $fullPath"
                        }
                    }
                    else {
                        # Handle value operations
                        $registrySubKey = $baseKey.OpenSubKey($this.SubKey, $true)
                        if (-not $registrySubKey) {
                            $registrySubKey = $baseKey.CreateSubKey($this.SubKey, $true)
                        }
                        $registrySubKey.SetValue($this.Name, $this.RecommendedValue, $this.ValueType)
                        Write-Log "Set value: $($this.Name)=$($this.RecommendedValue)"
                        $registrySubKey.Flush()
                    }
                }
                ([RegistryAction]::Test) {
                    if ($this.ValueType -eq [RegistryValueKind]::None) {
                        $fullPath = [IO.Path]::Combine($this.SubKey, $this.Name)
                        $exists = $null -ne $baseKey.OpenSubKey($fullPath)
                        Write-Log "Tested key existence: $fullPath = $exists (Expected: False)"
                    }
                    else {
                        $registrySubKey = $baseKey.OpenSubKey($this.SubKey)
                        if ($registrySubKey) {
                            $currentValue = $registrySubKey.GetValue($this.Name, $null)
                            Write-Log "Tested: $($this.Name) = $currentValue (Expected: $($this.RecommendedValue))"
                        }
                        else {
                            Write-Log "Tested: SubKey does not exist: $($this.SubKey)"
                        }
                    }
                }
                ([RegistryAction]::Rollback) {
                    if ($this.ValueType -eq [RegistryValueKind]::None) {
                        # For key deletion, rollback means recreating the key if DefaultValue is not null
                        if ($null -ne $this.DefaultValue) {
                            $fullPath = [IO.Path]::Combine($this.SubKey, $this.Name)
                            $baseKey.CreateSubKey($fullPath, $true)
                            Write-Log "Restored key: $fullPath"
                        }
                    }
                    else {
                        $registrySubKey = $baseKey.OpenSubKey($this.SubKey, $true)
                        if ($registrySubKey) {
                            if ($null -ne $this.DefaultValue) {
                                $registrySubKey.SetValue($this.Name, $this.DefaultValue, $this.ValueType)
                                Write-Log "Restored default: $($this.Name)=$($this.DefaultValue)"
                            }
                            else {
                                $registrySubKey.DeleteValue($this.Name, $false)
                                Write-Log "Deleted value: $($this.Name)"
                            }
                            $registrySubKey.Flush()
                        }
                    }
                }
            }
        }
        catch {
            Write-Log "Error ($Action): $($this.Name) - $($_.Exception.Message)"
            throw
        }
        finally {
            if ($registrySubKey) { $registrySubKey.Close() }
            if ($baseKey) { $baseKey.Close() }
        }
    }
}

class ValuePair {
    [object] $Value
    [RegistryValueKind] $Type
    
    ValuePair([object]$val, [RegistryValueKind]$type) {
        $this.Value = $val
        $this.Type = $type
    }
}

class RegistryHelper {
    static [object] GetCurrentValue([RegistrySetting]$Setting) {
        $baseKey = $null
        $subKey = $null
        try {
            $baseKey = [RegistryKey]::OpenBaseKey($Setting.Hive, $Setting._RegistryView)
            $subKey = $baseKey.OpenSubKey($Setting.SubKey)
            
            if ($null -ne $subKey) {
                return $subKey.GetValue($Setting.Name, $null)
            }
            return $null
        }
        catch {
            Write-Log "Error reading $($Setting.Name): $_"
            return $null
        }
        finally {
            if ($subKey) { $subKey.Close() }
            if ($baseKey) { $baseKey.Close() }
        }
    }

    static [void] ApplyValue([RegistrySetting]$Setting, [object]$Value) {
        $baseKey = $null
        $subKey = $null
        try {
            if ($null -eq $Value) {
                # Delete the value
                $baseKey = [RegistryKey]::OpenBaseKey($Setting.Hive, $Setting._RegistryView)
                $subKey = $baseKey.OpenSubKey($Setting.SubKey, $true)
                if ($null -ne $subKey) {
                    $subKey.DeleteValue($Setting.Name)
                    Write-Log "Deleted $($Setting.Name)"
                }
            }
            else {
                # Create temporary setting and apply
                $tempSetting = [RegistrySetting]::new(
                    $Setting.Hive,
                    $Setting.SubKey,
                    $Setting.Name,
                    $Value,
                    $Setting.ValueType,
                    $Setting.DefaultValue,
                    $Setting.Description
                )
                $tempSetting.Execute([RegistryAction]::Apply)
            }
        }
        catch {
            throw "Registry operation failed: $_"
        }
        finally {
            if ($subKey) { $subKey.Close() }
            if ($baseKey) { $baseKey.Close() }
        }
    }
}
BÖLÜM-1'İN AÇIKLAMASI :

Bu betik, Windows işletim sisteminde bazı sistem ayarlarını değiştirmek ve özellikle kayıt defteri ile etkileşimde bulunmak için yazılmış bir PowerShell betiğidir. Şimdi, betiğin bölümlerini analiz edelim:

1. SystemParametersInfo Tanımı

Bu bölüm, Windows API'sini kullanarak masaüstü arka planını değiştirmek için gerekli olan SystemParametersInfo fonksiyonunu tanımlar. Add-Type komutu ile C# kodu PowerShell'e eklenir. Bu, arka plan resmini ayarlamak için kullanılacak.

2. Konsol Penceresini Gizleme

Konsol penceresinin gizlenmesi, kullanıcı arayüzü ile etkileşimde bulunurken daha temiz bir görünüm sağlamak için yapılır. GetConsoleWindow ve ShowWindow fonksiyonları kullanılarak konsol penceresi gizlenir.

3. Yönetici Olarak Çalıştırma Kontrolü

Betik, yönetici haklarıyla çalışıp çalışmadığını kontrol eder. Eğer yönetici olarak çalışmıyorsa, kendisini yönetici olarak yeniden başlatmaya çalışır. Bu, kayıt defteri gibi sistem ayarlarını değiştirmek için gerekli olan izinleri sağlamak içindir.

4. Tür Tanımları

Bu bölümde, uygulama boyunca kullanılacak özel türler, enum'lar ve sınıflar tanımlanır.

Örneğin:

RegistryAction: Kayıt defteri işlemleri için (Uygula, Test, Geri Al) eylem türlerini tanımlar.
RegistrySetting: Kayıt defteri ayarlarını temsil eden bir sınıf. Kayıt defteri anahtarları ve değerleri ile ilgili işlemleri yönetir.
ValuePair: Kayıt defterindeki değer ve türünü tutan bir sınıf.
RegistryHelper: Kayıt defteri ile etkileşimde bulunmak için yardımcı yöntemler içeren bir sınıf.

5. Kayıt Defteri İşlemleri

RegistrySetting sınıfı, kayıt defteri anahtarlarını ve değerlerini yönetmek için çeşitli yöntemler içerir:

Execute: Belirtilen eyleme göre (Uygula, Test, Geri Al) kayıt defteri işlemlerini gerçekleştirir.
GetCurrentValue: Mevcut bir kayıt defteri değerini alır.
ApplyValue: Belirtilen bir değeri kayıt defterine uygular veya siler.

Genel Değerlendirme -1

Bu betik, Windows kayıt defteri ile etkileşimde bulunarak sistem ayarlarını değiştirmek için kapsamlı bir yapı sunmaktadır. Yönetici hakları gerektiren işlemleri güvenli bir şekilde gerçekleştirmek için gerekli kontrolleri içerir. Ayrıca, kullanıcı arayüzü ile etkileşimde bulunurken konsol penceresinin gizlenmesi gibi kullanıcı deneyimini iyileştiren özellikler de barındırır.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -2

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

#region 3. Global Variables & Configuration
# ====================================================================================================
# Global Variables & Configuration
# Global script variables, configuration settings, and constants
# ====================================================================================================

# === Logging Configuration ===
$SCRIPT:LogPath = "$env:TEMP\Winhance-Log_$(Get-Date -Format 'yyyyMMdd-HHmmss').log"
$SCRIPT:LogEnabled = $true
$SCRIPT:Version = "25.02.17"

# === Theme Config ===
$SCRIPT:isDarkMode = $true
$SCRIPT:ThemeColors = @{
    Dark  = @{
        MainBackground       = "#1F2022"
        ContentBackground    = "#2B2D30"
        SecondaryBackground  = "#1F2022"
        TextColor            = "#FFFFFF"
        SubTextColor         = "#99A3A4"
        AccentColor          = "#FFDE00"
        CheckBoxFillColor    = "#FFFFFF"      
        CheckBoxBorderColor  = "#FFDE00"  
        TooltipBackground    = "#2B2D30"
        TooltipForeground    = "#FFFFFF"
        TooltipBorderBrush   = "#FFDE00"
        SliderAccentColor    = "#FFDE00"
        ButtonBorderColor    = "#FFDE00"
        ButtonHoverTextColor = "#202124"
    }
    Light = @{
        MainBackground       = "#F6F8FC"         
        ContentBackground    = "#FFFFFF"        
        SecondaryBackground  = "#F6F8FC"     
        TextColor            = "#202124"               
        SubTextColor         = "#5F6368"            
        AccentColor          = "#424242"             
        CheckBoxFillColor    = "#424242"       
        CheckBoxBorderColor  = "#424242"     
        TooltipBackground    = "#FFFFFF"      
        TooltipForeground    = "#202124"
        TooltipBorderBrush   = "#424242"
        SliderAccentColor    = "#424242"       
        ButtonBorderColor    = "#424242"       
        ButtonHoverTextColor = "#FFFFFF"    
    }
}

# Cache variables for package status
$SCRIPT:InstalledCapabilities = $null
$SCRIPT:InstalledPackages = $null

# Global paths
$SCRIPT:ConfigPath = Join-Path $env:ProgramFiles "Winhance\Config"
$SCRIPT:PreferencesFile = Join-Path $script:ConfigPath "preferences.json"
BÖLÜM-2 Açıklaması :

Bu bölüm, betiğin genel yapılandırma ayarlarını ve global değişkenlerini tanımlar. Şimdi, bu bölümün detaylarını analiz edelim:

1. Kayıt ve Günlükleme Yapılandırması

LogPath: Betik çalıştığında, günlük kayıtlarının kaydedileceği dosya yolu belirlenir. Dosya adı, çalıştırma tarih ve saatine göre dinamik olarak oluşturulur.
LogEnabled: Günlüklemenin etkin olup olmadığını belirten bir bayrak. Bu, betik içinde günlükleme işlemlerinin kontrol edilmesine olanak tanır.
Version: Betiğin sürüm numarasını tutar. Bu, kullanıcıların hangi sürümü kullandığını takip etmelerine yardımcı olur.

2. Tema Yapılandırması

isDarkMode: Kullanıcının koyu tema tercih edip etmediğini belirten bir bayrak. Bu, kullanıcı arayüzünün görünümünü etkiler.
ThemeColors: Koyu ve açık tema için renk ayarlarını içeren bir hash tablosu. Her iki tema için de arka plan, metin, vurgulayıcı ve diğer UI bileşenlerinin renkleri tanımlanmıştır. Bu yapı, kullanıcı arayüzünün tutarlı ve estetik bir şekilde görünmesini sağlar.

3. Önbellek Değişkenleri

InstalledCapabilities: Yüklenmiş yeteneklerin durumunu tutan bir değişken. Bu, betiğin hangi özelliklerin yüklü olduğunu takip etmesine yardımcı olur.
InstalledPackages: Yüklenmiş paketlerin durumunu tutan bir değişken. Bu, kullanıcıya hangi paketlerin kurulu olduğunu göstermek için kullanılabilir.

4. Küresel Yollar

ConfigPath: Betik için yapılandırma dosyalarının saklanacağı dizin. Bu, program dosyaları altında "Winhance\Config" yolunu oluşturur.
PreferencesFile: Kullanıcının tercihlerini saklamak için kullanılacak JSON dosyasının yolu. Bu, kullanıcı ayarlarının kalıcı olarak saklanmasına olanak tanır.

Genel Değerlendirme -2

Bu bölüm, betiğin çalışması için gerekli olan temel yapılandırma ayarlarını ve global değişkenleri tanımlar. Günlükleme, tema ayarları ve kullanıcı tercihleri gibi unsurlar, kullanıcı deneyimini iyileştirmek ve betiğin işlevselliğini artırmak için önemlidir.

Kullanıcı arayüzü tasarımı açısından, koyu ve açık tema desteği sağlanması, kullanıcıların tercihlerine göre özelleştirilmiş bir deneyim sunar. Ayrıca, yapılandırma dosyalarının ve kullanıcı tercihlerinin yönetimi, betiğin esnekliğini artırır ve kullanıcıların ayarlarını kolayca değiştirmesine olanak tanır.

Bu yapı, betiğin daha geniş bir uygulama içinde nasıl kullanılabileceği ve kullanıcıların deneyimlerini nasıl geliştirebileceği konusunda önemli bir temel sağlar.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -3-1.KISIM

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

$SCRIPT:BaseKeys = @{
    [BaseKey]::System                            = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\System"
    }
    [BaseKey]::LocationConsent                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore"
    }
    [BaseKey]::SensorOverrides                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides"
    }
    [BaseKey]::Telemetry                         = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection"
    }
    [BaseKey]::Feedback                          = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\DataCollection"
    }
    [BaseKey]::Advertising                       = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo"
    }
    [BaseKey]::CapabilityConsent                 = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore"
    }
    [BaseKey]::InternationalUserProfile          = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Control Panel\International\User Profile"
    }
    [BaseKey]::EdgeUI                            = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Policies\Microsoft\Windows\EdgeUI"
    }
    [BaseKey]::InputPersonalization              = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\InputPersonalization"
    }
    [BaseKey]::TrainedDataStore                  = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\InputPersonalization\TrainedDataStore"
    }
    [BaseKey]::PersonalizationSettings           = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Personalization\Settings"
    }
    [BaseKey]::SiufRules                         = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "SOFTWARE\Microsoft\Siuf\Rules"
    }
    [BaseKey]::ContentDeliveryManager            = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
    }
    [BaseKey]::AccountNotifications              = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\SystemSettings\AccountNotifications"
    }
    [BaseKey]::CloudContent                      = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Policies\Microsoft\Windows\CloudContent"
    }
    [BaseKey]::SharedAccess                      = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\ControlSet001\Control\Network\SharedAccessConnection"
    }
    [BaseKey]::DeviceMetadata                    = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata"
    }
    [BaseKey]::RemoteAssistance                  = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Control\Remote Assistance"
    }
    [BaseKey]::Maintenance                       = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance"
    }
    [BaseKey]::ErrorReporting                    = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting"
    }
    [BaseKey]::PushToInstall                     = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\PushToInstall"
    }
    [BaseKey]::WindowsSearch                     = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "Software\Policies\Microsoft\Windows\Windows Search"
    }
    [BaseKey]::PolicyManagerWiFi                 = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "Software\Microsoft\PolicyManager\default\WiFi"
    }
    [BaseKey]::AppPrivacy                        = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\AppPrivacy"
    }
    [BaseKey]::InkingTypingPersonalization       = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization"
    }
    [BaseKey]::ThemesPersonalize                 = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"
    }
    [BaseKey]::Maps                              = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\Maps"
    }
    [BaseKey]::LocationService                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration"
    }
    [BaseKey]::WindowsInk                        = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\WindowsInkWorkspace"
    }
    [BaseKey]::SystemPolicy                      = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
    }
    [BaseKey]::BitLocker                         = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Control\BitLocker"
    } 
    [BaseKey]::EnhancedStorage                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\EnhancedStorageDevices"
    }
    [BaseKey]::GameConfigStore                   = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "System\GameConfigStore"
    }
    [BaseKey]::GameBar                           = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\GameBar"
    }
    [BaseKey]::DirectXUserGpuPreferences         = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\DirectX\UserGpuPreferences"
    }
    [BaseKey]::GameDVR                           = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\GameDVR"
    }
    [BaseKey]::NvidiaFTS                         = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Services\nvlddmkm\FTS"
    }
    [BaseKey]::MultimediaSystemProfile           = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile"
    }
    [BaseKey]::MultimediaSystemProfileTasksGames = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games"
    }
    [BaseKey]::GraphicsDrivers                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Control\GraphicsDrivers"
    }
    [BaseKey]::PriorityControl                   = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Control\PriorityControl"
    }
    [BaseKey]::StorageSensePolicies              = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\StorageSense"
    }
    [BaseKey]::WindowsUpdateMain                 = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
    }
    [BaseKey]::WindowsUpdate                     = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
    }
    [BaseKey]::DeliveryOptimization              = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization"
    }
    [BaseKey]::WindowsStorePolicies              = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\WindowsStore"
    }
    [BaseKey]::AppxPolicies                      = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\Appx"
    }
    [BaseKey]::Taskband                          = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband"
    }
    [BaseKey]::TaskbarChat                       = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\Windows Chat"
    }
    [BaseKey]::TaskbarFeeds                      = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\Windows Feeds"
    }
    [BaseKey]::PolicyManagerNews                 = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests"
    }
    [BaseKey]::TaskbarDsh                        = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Dsh"
    }
    [BaseKey]::LMPolicyExplorer                  = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer"
    }
    [BaseKey]::ExplorerPolicies                  = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\Explorer"
    }
    [BaseKey]::CUExplorerAdvanced                = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
    }
    [BaseKey]::CUExplorer                        = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer"
    }
    [BaseKey]::CUPolicyExplorer                  = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
    }
    [BaseKey]::CUSearch                          = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Search"
    }
Bu bölüm, Windows kayıt defterinde belirli anahtarların ve alt anahtarların yapılandırmasını içeren bir hash tablosu ($SCRIPT:BaseKeys) tanımlar. Her bir anahtar, belirli bir işlevselliği veya özelliği temsil eder ve bu anahtarların hangi kayıt defteri görünümünde (hive) ve hangi alt anahtar yolunda bulunduğunu belirtir. Şimdi, bu bölümün detaylarını analiz edelim:

1. Kayıt Defteri Anahtarları

Her bir anahtar, belirli bir işlevselliği temsil eder ve aşağıdaki gibi yapılandırılmıştır:

Hive: Kayıt defterinin hangi bölümünde bulunduğunu belirtir. Örneğin, LocalMachine veya CurrentUser.
SubKey: Kayıt defterindeki alt anahtarın yolu. Bu, belirli bir ayarın veya özelliğin konumunu gösterir.

2. Anahtarların İşlevselliği

Aşağıda bazı anahtarların işlevselliği hakkında kısa açıklamalar verilmiştir:

System: Windows sistem ayarları ile ilgili politikaları içerir.
LocationConsent: Konum izinleri ile ilgili ayarları yönetir.
Telemetry: Telemetri verilerinin toplanması ile ilgili ayarları içerir.
Feedback: Kullanıcı geri bildirim ayarlarını yönetir.
Advertising: Reklam bilgileri ile ilgili ayarları içerir.
PersonalizationSettings: Kullanıcı kişiselleştirme ayarlarını yönetir.
WindowsUpdate: Windows güncellemeleri ile ilgili ayarları içerir.
TaskbarChat: Görev çubuğundaki sohbet özellikleri ile ilgili ayarları yönetir.

3. Kullanım Amacı

Bu yapı, betiğin belirli ayarları değiştirmek veya kontrol etmek için hangi kayıt defteri anahtarlarını kullanacağını belirlemesine olanak tanır. Her bir anahtarın ve alt anahtarın tanımlanması, betiğin esnekliğini artırır ve kullanıcıların sistem ayarlarını daha kolay yönetmesine yardımcı olur.
Genel Değerlendirme

Bu bölüm, Windows kayıt defterindeki önemli anahtarların yapılandırmasını sağlar ve betiğin işlevselliğini artırır. Kayıt defteri anahtarlarının düzenli bir şekilde tanımlanması, betiğin bakımını ve genişletilmesini kolaylaştırır. Ayrıca, kullanıcıların sistem ayarlarını değiştirmek için hangi anahtarların kullanılacağını anlamalarına yardımcı olur.

Bu yapı, betiğin daha geniş bir uygulama içinde nasıl kullanılabileceği ve kullanıcıların deneyimlerini nasıl geliştirebileceği konusunda önemli bir temel sağlar. Kullanıcıların, bu anahtarların ne anlama geldiğini ve hangi ayarları etkilediğini anlamaları, sistemlerini daha etkili bir şekilde yönetmelerine olanak tanır.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -3-2.KISIM

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

[BaseKey]::PolicyManagerStart                = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\PolicyManager\current\device\Start"
    }
    [BaseKey]::PolicyManagerProvidersStart       = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start"
    }
    [BaseKey]::FileSystem                        = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\CurrentControlSet\Control\FileSystem"
    }
    [BaseKey]::WorkplaceJoin                     = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin"
    }
    [BaseKey]::MyComputerNamespace               = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace"
    }
    [BaseKey]::MyComputerNamespaceWOW64          = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace"
    }
    [BaseKey]::DesktopNamespace                  = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace"
    }
    [BaseKey]::Explorer                          = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer"
    }
    [BaseKey]::CabinetState                      = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState"
    }
    [BaseKey]::ControlPanelMouse                 = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Control Panel\Mouse"
    }
    [BaseKey]::VisualEffects                     = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects"
    }
    [BaseKey]::ControlPanelDesktop               = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Control Panel\Desktop"
    }
    [BaseKey]::TabletTip                         = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\TabletTip\1.7"
    }
    [BaseKey]::ClassesCLSID                      = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Classes\CLSID"
    }
    [BaseKey]::ImmersiveShell                    = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell"
    }
    [BaseKey]::BootAnimation                     = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation"
    }
    [BaseKey]::EditionOverrides                  = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "Software\Microsoft\Windows\CurrentVersion\EditionOverrides"
    }
    [BaseKey]::MultimediaAudio                   = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Multimedia\Audio"
    }
    [BaseKey]::SpeechOneCoreSettings             = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Speech_OneCore\Settings\VoiceActivation\UserPreferenceForAllApps"
    }
    [BaseKey]::Accessibility                     = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Control Panel\Accessibility"
    }
    [BaseKey]::EaseOfAccess                      = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Ease of Access"
    }
    [BaseKey]::InputSettings                     = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\input\Settings"
    }
    [BaseKey]::Lighting                          = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Lighting"
    }
    [BaseKey]::SearchSettings                    = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion\SearchSettings"
    }
    [BaseKey]::Notifications                     = [pscustomobject]@{
        Hive   = [RegistryHive]::CurrentUser
        SubKey = "Software\Microsoft\Windows\CurrentVersion"
    }
    [BaseKey]::Services                          = [pscustomobject]@{
        Hive   = [RegistryHive]::LocalMachine
        SubKey = "SYSTEM\ControlSet001\Services"
    }
}
Bu bölüm, Windows kayıt defterinde daha fazla anahtar ve alt anahtar yapılandırmasını içeren bir hash tablosu ($SCRIPT:BaseKeys) tanımlar. Her bir anahtar, belirli bir işlevselliği temsil eder ve bu anahtarların hangi kayıt defteri görünümünde (hive) ve hangi alt anahtar yolunda bulunduğunu belirtir. Şimdi, bu bölümün detaylarını analiz edelim:

1. Kayıt Defteri Anahtarları

Her bir anahtar, belirli bir işlevselliği temsil eder ve aşağıdaki gibi yapılandırılmıştır:

Hive: Kayıt defterinin hangi bölümünde bulunduğunu belirtir. Örneğin, LocalMachine veya CurrentUser.
SubKey: Kayıt defterindeki alt anahtarın yolu. Bu, belirli bir ayarın veya özelliğin konumunu gösterir.

2. Anahtarların İşlevselliği

Aşağıda bazı anahtarların işlevselliği hakkında kısa açıklamalar verilmiştir:

PolicyManagerStart: Cihazın başlangıç ayarları ile ilgili politikaları yönetir.
FileSystem: Dosya sistemi ile ilgili ayarları içerir.
WorkplaceJoin: İş yeri katılımı ile ilgili ayarları yönetir.
MyComputerNamespace: "Bilgisayarım" görünümündeki ad alanlarını yönetir.
ControlPanelMouse: Fare ayarlarını içerir.
VisualEffects: Görsel efektlerle ilgili ayarları yönetir.
TabletTip: Tablet girişi ile ilgili ayarları içerir.
ImmersiveShell: Kapsayıcı arayüz ile ilgili ayarları yönetir.
BootAnimation: Başlangıç animasyonu ile ilgili ayarları içerir.
Accessibility: Erişilebilirlik ayarlarını yönetir.
SearchSettings: Arama ayarlarını içerir.
Services: Sistem hizmetleri ile ilgili ayarları yönetir.

3. Kullanım Amacı

Bu yapı, betiğin belirli ayarları değiştirmek veya kontrol etmek için hangi kayıt defteri anahtarlarını kullanacağını belirlemesine olanak tanır. Her bir anahtarın ve alt anahtarın tanımlanması, betiğin esnekliğini artırır ve kullanıcıların sistem ayarlarını daha kolay yönetmesine yardımcı olur.
Genel Değerlendirme

Bu bölüm, Windows kayıt defterindeki önemli anahtarların yapılandırmasını sağlar ve betiğin işlevselliğini artırır. Kayıt defteri anahtarlarının düzenli bir şekilde tanımlanması, betiğin bakımını ve genişletilmesini kolaylaştırır. Ayrıca, kullanıcıların sistem ayarlarını değiştirmek için hangi anahtarların kullanılacağını anlamalarına yardımcı olur.

Bu yapı, betiğin daha geniş bir uygulama içinde nasıl kullanılabileceği ve kullanıcıların deneyimlerini nasıl geliştirebileceği konusunda önemli bir temel sağlar. Kullanıcıların, bu anahtarların ne anlama geldiğini ve hangi ayarları etkilediğini anlamaları, sistemlerini daha etkili bir şekilde yönetmelerine olanak tanır.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -4.KISIM-1

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

# ====================================================================================================
# Registry Configuration Settings
# Defines registry settings for various system configurations organized by category (Privacy, Security, etc.)
# Each setting includes:
#   BaseKey      - Registry hive and subkey path
#   SubKeySuffix - Additional path to append to BaseKey path (if applicable)
#   Name         - Registry value name
#   Recommended  - Recommended value and data type using ValuePair class
#   DefaultValue - Original/default value (null if not applicable) 
#   Description  - Description of what the setting controls
# ====================================================================================================
$SCRIPT:RegConfig = @{
    Privacy         = @(
        # Region: Activity History
        [pscustomobject]@{
            BaseKey      = [BaseKey]::System
            Name         = "EnableActivityFeed"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables activity history tracking"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::System
            Name         = "PublishUserActivities"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Prevents publishing user activities to Microsoft"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::System
            Name         = "UploadUserActivities"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Blocks uploading user activity history to the cloud"
        },

        # Region: Location Tracking
        [pscustomobject]@{
            BaseKey      = [BaseKey]::LocationConsent
            SubKeySuffix = "location"
            Name         = "Value"
            Recommended  = [ValuePair]::new("Deny", [RegistryValueKind]::String)
            DefaultValue = $null
            Description  = "Denies location tracking consent for all apps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::SensorOverrides
            SubKeySuffix = "{BFA794E4-F964-4FDB-90F6-51056BFE4B44}"
            Name         = "SensorPermissionState"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables location sensor override permissions"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Maps
            Name         = "AutoUpdateEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = 1
            Description  = "Disables automatic map updates for offline maps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::LocationService
            Name         = "Status"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables location service (lfsvc)"
        },

        # Region: Telemetry
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Telemetry
            Name         = "AllowTelemetry"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Sets telemetry level to disabled (Security)"
        },

        # Region: Feedback Notifications
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Feedback
            Name         = "AllowTelemetry"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables feedback and diagnostic data collection"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Feedback
            Name         = "DoNotShowFeedbackNotifications"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hides feedback notifications from Microsoft"
        },

        # Region: Windows Ink Workspace
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsInk
            Name         = "AllowWindowsInkWorkspace"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Windows Ink Workspace functionality"
        },

        # Region: Advertising ID
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Advertising
            Name         = "DisabledByGroupPolicy"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables advertising ID through group policy"
        },

        # Region: Account Info
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CapabilityConsent
            SubKeySuffix = "userAccountInformation"
            Name         = "Value"
            Recommended  = [ValuePair]::new("Deny", [RegistryValueKind]::String)
            DefaultValue = "Allow"
            Description  = "Blocks apps from accessing account information"
        },

        # Region: Language List Tracking
        [pscustomobject]@{
            BaseKey      = [BaseKey]::InternationalUserProfile
            Name         = "HttpAcceptLanguageOptOut"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Prevents websites from accessing language list"
        },

        # Region: App Launch Tracking
        [pscustomobject]@{
            BaseKey      = [BaseKey]::EdgeUI
            Name         = "DisableMFUTracking"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables tracking of frequently used apps"
        },

        # Region: Speech Recognition
        [pscustomobject]@{
            BaseKey      = [BaseKey]::InputPersonalization
            Name         = "AllowInputPersonalization"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables online speech recognition services"
        },

        # Region: Inking & Typing Data Collection
        [pscustomobject]@{
            BaseKey      = [BaseKey]::InkingTypingPersonalization
            Name         = "Value"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables personal inking and typing dictionary"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::InputPersonalization
            Name         = "RestrictImplicitInkCollection"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Restricts implicit ink data collection"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::InputPersonalization
            Name         = "RestrictImplicitTextCollection"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Restricts implicit text input collection"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::TrainedDataStore
            Name         = "HarvestContacts"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Prevents harvesting contacts for typing data"
        },

        # Region: Feedback Frequency
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PersonalizationSettings
            Name         = "AcceptedPrivacyPolicy"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Resets privacy policy acceptance state"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::SiufRules
            Name         = "NumberOfSIUFInPeriod"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables periodic feedback prompts"
BÖLÜM -4.KISIM-1 AÇIKLAMASI :

Bu bölüm, bir sistemin kayıt defteri (registry) ayarlarını yapılandırmak için kullanılan bir betiğin başlangıcını temsil ediyor. Betik, çeşitli sistem yapılandırmalarını düzenlemek için gereken ayarları kategorilere ayırarak sunuyor. İşte bu bölümün analizi:

Yapı ve Organizasyon:

Betik, ayarları "Privacy" (Gizlilik), "Security" (Güvenlik) gibi kategorilere ayırarak düzenli bir yapı sunuyor. Bu, kullanıcıların hangi ayarların hangi alanlarla ilgili olduğunu kolayca anlamalarına yardımcı olur.

Kullanılan Veri Yapıları:

Her ayar, pscustomobject kullanılarak tanımlanmış. Bu, her bir ayarın özelliklerini (BaseKey, Name, Recommended, DefaultValue, Description) tutan bir nesne oluşturulmasını sağlıyor. Bu yapı, ayarların yönetimini ve erişimini kolaylaştırıyor.

Ayarların Açıklamaları:

Her ayar için bir açıklama sağlanmış. Bu açıklamalar, ayarın ne işe yaradığını ve ne tür bir etki yaratacağını anlamak için önemlidir. Örneğin, "Disables activity history tracking" ifadesi, kullanıcının etkinlik geçmişinin izlenmesini devre dışı bırakacağını açıkça belirtiyor.

Önerilen Değerler:

Her ayar için önerilen değerler belirtilmiş. Bu, kullanıcıların hangi ayarların daha güvenli veya gizlilik dostu olduğunu anlamalarına yardımcı olur. Örneğin, "AllowTelemetry" ayarının önerilen değeri 0 (devre dışı) olarak belirlenmiş, bu da kullanıcıların veri toplama süreçlerini sınırlamak için bir öneri sunuyor.


Varsayılan Değerler:

Varsayılan değerlerin belirtilmesi, kullanıcıların ayarları değiştirmeden önce mevcut durum hakkında bilgi sahibi olmalarını sağlar. Varsayılan değerlerin null olması, ayarın daha önce ayarlanmamış olabileceğini gösteriyor.

Kapsamlı Gizlilik Ayarları:

Betik, kullanıcıların gizliliğini korumak için birçok farklı ayar sunuyor. Bu, kullanıcıların hangi verilerin toplandığını ve nasıl kullanıldığını kontrol etmelerine olanak tanıyor.

Genel Yaklaşım

Bu bölüm, bir sistemin gizlilik ve güvenlik ayarlarını yapılandırmak için kapsamlı bir rehber sunuyor. Kullanıcıların gizliliklerini korumak için hangi ayarları değiştirmeleri gerektiği konusunda net bilgiler sağlıyor. Betik, sistem yöneticileri veya kullanıcılar için, gizlilik ayarlarını yönetme ve özelleştirme konusunda güçlü bir araç olarak işlev görüyor.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -4.KISIM-2

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

},
        [pscustomobject]@{
            BaseKey      = [BaseKey]::SiufRules
            Name         = "PeriodInNanoSeconds"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Removes feedback collection interval setting"
        },

        # Region: Suggested Content
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-338393Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables suggested content in Settings"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-353694Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Blocks third-party content suggestions"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-353696Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables promotional content in Settings"
        },

        # Region: Account Notifications
        [pscustomobject]@{
            BaseKey      = [BaseKey]::AccountNotifications
            Name         = "EnableAccountNotifications"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables account-related notifications"
        },

        # Region: Tailored Experiences
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CloudContent
            Name         = "DisableTailoredExperiencesWithDiagnosticData"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Blocks personalized experiences using diagnostic data"
        },
        # Cloud Content
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CloudContent
            Name         = "DisableWindowsConsumerFeatures"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable Windows Consumer Features"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CloudContent
            Name         = "DisableConsumerAccountStateContent"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable Consumer Account State Content"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CloudContent
            Name         = "DisableCloudOptimizedContent"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable Cloud Optimized Content"
        },
        # Network Privacy
        [pscustomobject]@{
            BaseKey      = [BaseKey]::SharedAccess
            Name         = "EnableControl"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable allow other network users to control or disable the shared internet connection"
        },
    
        # Device Privacy
        [pscustomobject]@{
            BaseKey      = [BaseKey]::DeviceMetadata
            Name         = "PreventDeviceMetadataFromNetwork"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable device installation settings"
        },
    
        # Remote Access
        [pscustomobject]@{
            BaseKey      = [BaseKey]::RemoteAssistance
            Name         = "fAllowToGetHelp"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable remote assistance"
        },
    
        # System Maintenance
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Maintenance
            Name         = "MaintenanceDisabled"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable automatic maintenance"
        },
    
        # Error Reporting
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ErrorReporting
            Name         = "Disabled"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable error reporting"
        },
    
        # Push To Install
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PushToInstall
            Name         = "DisablePushToInstall"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables the Push To Install feature"
        },
    
        # Cortana
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsSearch
            Name         = "AllowCortana"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Cortana"
        },
    
        # WiFi Sense
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PolicyManagerWiFi
            Name         = "AllowWiFiHotSpotReporting"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable WiFi HotSpot Reporting"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PolicyManagerWiFi
            Name         = "AllowAutoConnectToWiFiSenseHotspots"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable WiFi Sense Hotspots"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::BitLocker
            Name         = "PreventDeviceEncryption"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Automatic Bitlocker Drive Encryption"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::EnhancedStorage
            Name         = "TCGSecurityActivationDisabled"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables TCG security device activation"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::SystemPolicy
            Name         = "DisableAutomaticRestartSignOn"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables automatic restart sign-on and restore of applications"
        },
        # Background Apps
        [pscustomobject]@{
            BaseKey      = [BaseKey]::AppPrivacy
            Name         = "LetAppsRunInBackground"
            Recommended  = [ValuePair]::new(2, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable background apps"
        },
        # Content Delivery Manager Settings
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "ContentDeliveryAllowed"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable content delivery"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "FeatureManagementEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable feature management"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "OemPreInstalledAppsEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable OEM pre-installed apps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "PreInstalledAppsEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable pre-installed apps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "PreInstalledAppsEverEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable pre-installed apps from ever being enabled"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "RotatingLockScreenEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable rotating lock screen"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "RotatingLockScreenOverlayEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable rotating lock screen overlay"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SilentInstalledAppsEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable silent installation of apps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SlideshowEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable slideshow"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SoftLandingEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable soft landing"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-310093Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable subscribed content 310093"
        },
BÖLÜM -4.KISIM-2 AÇIKLAMASI :

Bu bölüm, sistemin gizlilik ve güvenlik ayarlarını daha da detaylandırarak, kullanıcıların hangi özellikleri devre dışı bırakabileceklerini gösteriyor. İşte bu bölümün analizi:

Genişletilmiş Kategoriler:

Bu bölümde, "Suggested Content" (Önerilen İçerik), "Account Notifications" (Hesap Bildirimleri), "Tailored Experiences" (Kişiselleştirilmiş Deneyimler) gibi yeni kategoriler eklenmiş. Bu, kullanıcıların daha spesifik ayarları yönetmelerine olanak tanıyor.

Ayarların Çeşitliliği:

Kullanıcıların gizliliklerini korumak için birçok farklı ayar sunulmuş. Örneğin, "DisableTailoredExperiencesWithDiagnosticData" ayarı, kullanıcıların tanılayıcı verilerle kişiselleştirilmiş deneyimlerini engellemelerine olanak tanıyor. Bu, kullanıcıların verilerinin nasıl kullanıldığını kontrol etmeleri açısından önemlidir.

Açıklayıcı Tanımlar:

Her ayar için sağlanan açıklamalar, kullanıcıların ayarların ne işe yaradığını anlamalarına yardımcı oluyor. Örneğin, "Disables Cortana" ifadesi, Cortana'nın devre dışı bırakılacağını açıkça belirtiyor.

Önerilen Değerler ve Varsayılan Değerler:

Çoğu ayar için önerilen değerler 0 veya 1 olarak belirlenmiş. Bu, kullanıcıların gizliliklerini artırmak için hangi ayarları devre dışı bırakmaları gerektiği konusunda net bir rehberlik sağlıyor. Varsayılan değerlerin null olması, ayarın daha önce ayarlanmamış olabileceğini gösteriyor.

Gizlilik ve Güvenlik Üzerine Odaklanma:

Betik, kullanıcıların gizliliklerini korumak için birçok ayar sunarak, kullanıcıların hangi verilerin toplandığını ve nasıl kullanıldığını kontrol etmelerine olanak tanıyor. Örneğin, "DisableErrorReporting" ayarı, hata raporlamasını devre dışı bırakıyor, bu da kullanıcıların sistem hatalarının izlenmesini istemediklerini gösteriyor.

Arka Plan Uygulamaları ve İçerik Yönetimi:

"Background Apps" ve "Content Delivery Manager Settings" gibi bölümler, kullanıcıların arka planda çalışan uygulamaları ve içerik yönetimini kontrol etmelerine olanak tanıyor. Bu, sistem performansını artırmak ve gereksiz veri kullanımını azaltmak için önemlidir.

Genel Yaklaşım

Bu bölüm, kullanıcıların gizliliklerini korumak ve sistemlerini özelleştirmek için daha fazla seçenek sunuyor. Kullanıcılar, hangi özelliklerin devre dışı bırakılacağını belirleyerek, daha güvenli ve gizlilik odaklı bir deneyim elde edebilirler. Betik, sistem yöneticileri veya kullanıcılar için, gizlilik ayarlarını yönetme ve özelleştirme konusunda kapsamlı bir araç olarak işlev görüyor.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -4.KISIM-3

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

},
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-314563Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable subscribed content 314563"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-338388Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable subscribed content 338388"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-338389Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable subscribed content 338389"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContent-353698Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable subscribed content 353698"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SubscribedContentEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable all subscribed content"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ContentDeliveryManager
            Name         = "SystemPaneSuggestionsEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable system pane suggestions"
        }
    )
    Gaming          = @(
        # Disable game bar
        [pscustomobject]@{
            BaseKey      = [BaseKey]::GameConfigStore
            Name         = "GameDVR_Enabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Game Bar and Game DVR"
        },
        # Disable enable open Xbox game bar using game controller
        [pscustomobject]@{
            BaseKey      = [BaseKey]::GameBar
            Name         = "UseNexusForGameBarEnabled"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables opening Xbox Game Bar using a game controller"
        },
        # Enable game mode
        [pscustomobject]@{
            BaseKey      = [BaseKey]::GameBar
            Name         = "AutoGameModeEnabled"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enables Game Mode for better gaming performance"
        },
        # Disable variable refresh rate & enable optimizations for windowed games
        [pscustomobject]@{
            BaseKey      = [BaseKey]::DirectXUserGpuPreferences
            Name         = "DirectXUserGlobalSettings"
            Recommended  = [ValuePair]::new("SwapEffectUpgradeEnable=1;VRROptimizeEnable=0;", [RegistryValueKind]::String)
            DefaultValue = $null
            Description  = "Disables variable refresh rate and enables optimizations for windowed games"
        },
        # Disable Xbox GameDVR
        [pscustomobject]@{
            BaseKey      = [BaseKey]::GameDVR
            Name         = "AllowGameDVR"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Xbox GameDVR to improve gaming performance"
        },
        # Enable Old Nvidia Sharpening
        [pscustomobject]@{
            BaseKey      = [BaseKey]::NvidiaFTS
            Name         = "EnableGR535"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enables old Nvidia sharpening for better image quality"
        },
        # Gives Multimedia Applications like Games and Video Editing a Higher Priority
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MultimediaSystemProfile
            Name         = "SystemResponsiveness"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Improves system responsiveness for multimedia applications like games and video editing"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MultimediaSystemProfile
            Name         = "NetworkThrottlingIndex"
            Recommended  = [ValuePair]::new(10, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Adjusts network throttling index for better gaming performance"
        },
        # Gives GPU and CPU a Higher Priority for Gaming and Gives Games a higher priority in the system's scheduling
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MultimediaSystemProfileTasksGames
            Name         = "GPU Priority"
            Recommended  = [ValuePair]::new(8, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Increases GPU priority for gaming"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MultimediaSystemProfileTasksGames
            Name         = "Priority"
            Recommended  = [ValuePair]::new(6, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Increases CPU priority for gaming"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MultimediaSystemProfileTasksGames
            Name         = "Scheduling Category"
            Recommended  = [ValuePair]::new("High", [RegistryValueKind]::String)
            DefaultValue = $null
            Description  = "Sets scheduling category to High for games"
        },
        # Turn on hardware accelerated GPU scheduling
        [pscustomobject]@{
            BaseKey      = [BaseKey]::GraphicsDrivers
            Name         = "HwSchMode"
            Recommended  = [ValuePair]::new(2, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enables hardware-accelerated GPU scheduling"
        },
        # Adjust for best performance of programs
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PriorityControl
            Name         = "Win32PrioritySeparation"
            Recommended  = [ValuePair]::new(38, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Adjusts Win32 priority separation for best performance of programs"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::StorageSensePolicies
            Name         = "AllowStorageSenseGlobal"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Storage Sense"
        }
    )
    Updates         = @(
        # Automatic Updates (AU)
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdate
            Name         = "NoAutoUpdate"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable automatic updates"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdate
            Name         = "AUOptions"
            Recommended  = [ValuePair]::new(2, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Configure automatic update behavior"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdate
            Name         = "AutoInstallMinorUpdates"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable automatic installation of minor updates"
        },

        # Windows Update Policies
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "TargetReleaseVersion"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enable target version configuration"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "TargetReleaseVersionInfo"
            Recommended  = [ValuePair]::new("22H2", [RegistryValueKind]::String)
            DefaultValue = $null
            Description  = "Specify target feature update version"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "ProductVersion"
            Recommended  = [ValuePair]::new("Windows 10", [RegistryValueKind]::String)
            DefaultValue = $null
            Description  = "Lock OS version to Windows 10 (Manual Upgrade to 11 still Allowed)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "DeferFeatureUpdates"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Defer feature updates"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "DeferFeatureUpdatesPeriodInDays"
            Recommended  = [ValuePair]::new(365, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Feature update deferral period (days)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "DeferQualityUpdates"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Defer quality updates"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsUpdateMain
            Name         = "DeferQualityUpdatesPeriodInDays"
            Recommended  = [ValuePair]::new(7, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Quality update deferral period (days)"
        },

        # Delivery Optimization
        [pscustomobject]@{
            BaseKey      = [BaseKey]::DeliveryOptimization
            Name         = "DODownloadMode"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable peer-to-peer update distribution"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WindowsStorePolicies
            Name         = "AutoDownload"
            Recommended  = [ValuePair]::new(2, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables automatic updates for Microsoft Store apps"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::AppxPolicies
            Name         = "AllowAutomaticAppArchiving"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables automatic archiving of unused apps"
        }
    )
    Personalization = @(
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ThemesPersonalize
            Name         = "AppsUseLightTheme"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = 1 
            Description  = "Application theme (0=Dark)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ThemesPersonalize
            Name         = "SystemUsesLightTheme"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = 1  
            Description  = "System theme (0=Dark)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::ThemesPersonalize
            Name         = "EnableTransparency"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = 1 
            Description  = "Transparency effects"
        }
    )
BÖLÜM -4.KISIM-3 AÇIKLAMASI :

Bu bölüm, sistemin gizlilik, güvenlik, oyun performansı, güncellemeler ve kişiselleştirme ayarlarını daha da detaylandırarak, kullanıcıların hangi özellikleri devre dışı bırakabileceklerini ve hangi ayarları özelleştirebileceklerini gösteriyor. İşte bu bölümün analizi:

Genişletilmiş İçerik Yönetimi:

"Content Delivery Manager" altında birçok yeni ayar eklenmiş. Bu ayarlar, kullanıcıların önerilen içerikleri ve sistem önerilerini devre dışı bırakmalarına olanak tanıyor. Örneğin, "Disable all subscribed content" ayarı, tüm abone içeriklerini devre dışı bırakıyor.

Oyun Performansı Ayarları:

"Gaming" kategorisi, oyun deneyimini optimize etmek için çeşitli ayarlar sunuyor. Örneğin, "Disables Game Bar and Game DVR" ayarı, oyun performansını artırmak için Game Bar ve Game DVR'ı devre dışı bırakıyor. Ayrıca, "Enables Game Mode for better gaming performance" ayarı, oyun modunu etkinleştirerek daha iyi bir oyun deneyimi sağlıyor.

Güncellemeler Üzerine Kontrol:

"Updates" kategorisi, otomatik güncellemeleri yönetmek için birçok ayar içeriyor. Örneğin, "Disable automatic updates" ayarı, otomatik güncellemeleri devre dışı bırakıyor. Ayrıca, "Defer feature updates" ve "Defer quality updates" ayarları, güncellemelerin ertelenmesine olanak tanıyor, bu da kullanıcıların güncellemeleri kontrol etmelerine yardımcı oluyor.

Kişiselleştirme Ayarları:

"Personalization" kategorisi, kullanıcıların uygulama ve sistem temalarını özelleştirmelerine olanak tanıyor. Örneğin, "Application theme (0=Dark)" ayarı, uygulama temasını koyu moda ayarlamak için kullanılabilir. Bu, kullanıcıların görsel deneyimlerini kişiselleştirmelerine yardımcı oluyor.

Açıklayıcı Tanımlar ve Önerilen Değerler:

Her ayar için sağlanan açıklamalar, kullanıcıların ayarların ne işe yaradığını anlamalarına yardımcı oluyor. Önerilen değerlerin belirtilmesi, kullanıcıların hangi ayarların daha güvenli veya performans dostu olduğunu anlamalarına yardımcı olur.

Sistem Performansı ve Kullanıcı Deneyimi:

Bu bölümdeki ayarlar, kullanıcıların sistem performansını artırmalarına ve deneyimlerini özelleştirmelerine olanak tanıyor. Oyun performansını artırmak için yapılan ayarlar, özellikle oyunseverler için önemlidir.

Genel Yaklaşım

Bu bölüm, kullanıcıların gizliliklerini korumak, sistemlerini optimize etmek ve kişiselleştirmek için daha fazla seçenek sunuyor. Kullanıcılar, hangi özelliklerin devre dışı bırakılacağını belirleyerek, daha güvenli ve performans odaklı bir deneyim elde edebilirler. Betik, sistem yöneticileri veya kullanıcılar için, gizlilik ayarlarını yönetme ve özelleştirme konusunda kapsamlı bir araç olarak işlev görüyor.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -4.KISIM-4

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

)
    Taskbar         = @(
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Taskband
            Name         = "Favorites"
            Recommended  = [ValuePair]::new([byte[]](
                    0x00, 0xaa, 0x01, 0x00, 0x00, 0x3a, 0x00, 0x1f, 0x80, 0xc8, 0x27, 0x34, 0x1f, 0x10, 0x5c, 0x10,
                    0x42, 0xaa, 0x03, 0x2e, 0xe4, 0x52, 0x87, 0xd6, 0x68, 0x26, 0x00, 0x01, 0x00, 0x26, 0x00, 0xef,
                    0xbe, 0x10, 0x00, 0x00, 0x00, 0xf4, 0x7e, 0x76, 0xfa, 0xde, 0x9d, 0xda, 0x01, 0x40, 0x61, 0x5d,
                    0x09, 0xdf, 0x9d, 0xda, 0x01, 0x19, 0xb8, 0x5f, 0x09, 0xdf, 0x9d, 0xda, 0x01, 0x14, 0x00, 0x56,
                    0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x58, 0xa9, 0x26, 0x10, 0x00, 0x54, 0x61, 0x73,
                    0x6b, 0x42, 0x61, 0x72, 0x00, 0x40, 0x00, 0x09, 0x00, 0x04, 0x00, 0xef, 0xbe, 0xa4, 0x58, 0xa9,
                    0x26, 0xa4, 0x58, 0xa9, 0x26, 0x2e, 0x00, 0x00, 0x00, 0xde, 0x9c, 0x01, 0x00, 0x00, 0x00, 0x02,
                    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c,
                    0xf4, 0x85, 0x00, 0x54, 0x00, 0x61, 0x00, 0x73, 0x00, 0x6b, 0x00, 0x42, 0x00, 0x61, 0x00, 0x72,
                    0x00, 0x00, 0x00, 0x16, 0x00, 0x18, 0x01, 0x32, 0x00, 0x8a, 0x04, 0x00, 0x00, 0xa4, 0x58, 0xb6,
                    0x26, 0x20, 0x00, 0x46, 0x49, 0x4c, 0x45, 0x45, 0x58, 0x7e, 0x31, 0x2e, 0x4c, 0x4e, 0x4b, 0x00,
                    0x00, 0x54, 0x00, 0x09, 0x00, 0x04, 0x00, 0xef, 0xbe, 0xa4, 0x58, 0xb6, 0x26, 0xa4, 0x58, 0xb6,
                    0x26, 0x2e, 0x00, 0x00, 0x00, 0xb7, 0xa8, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
                    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x5a, 0x1e, 0x01, 0x46,
                    0x00, 0x69, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c,
                    0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, 0x2e, 0x00, 0x6c, 0x00, 0x6e, 0x00, 0x6b,
                    0x00, 0x00, 0x00, 0x1c, 0x00, 0x22, 0x00, 0x00, 0x00, 0x1e, 0x00, 0xef, 0xbe, 0x02, 0x00, 0x55,
                    0x00, 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x50, 0x00, 0x69, 0x00, 0x6e, 0x00, 0x6e, 0x00, 0x65,
                    0x00, 0x64, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x12, 0x00, 0x00, 0x00, 0x2b, 0x00, 0xef, 0xbe, 0x19,
                    0xb8, 0x5f, 0x09, 0xdf, 0x9d, 0xda, 0x01, 0x1c, 0x00, 0x74, 0x00, 0x00, 0x00, 0x1d, 0x00, 0xef,
                    0xbe, 0x02, 0x00, 0x7b, 0x00, 0x46, 0x00, 0x33, 0x00, 0x38, 0x00, 0x42, 0x00, 0x46, 0x00, 0x34,
                    0x00, 0x30, 0x00, 0x34, 0x00, 0x2d, 0x00, 0x31, 0x00, 0x44, 0x00, 0x34, 0x00, 0x33, 0x00, 0x2d,
                    0x00, 0x34, 0x00, 0x32, 0x00, 0x46, 0x00, 0x32, 0x00, 0x2d, 0x00, 0x39, 0x00, 0x33, 0x00, 0x30,
                    0x00, 0x35, 0x00, 0x2d, 0x00, 0x36, 0x00, 0x37, 0x00, 0x44, 0x00, 0x45, 0x00, 0x30, 0x00, 0x42,
                    0x00, 0x32, 0x00, 0x38, 0x00, 0x46, 0x00, 0x43, 0x00, 0x32, 0x00, 0x33, 0x00, 0x7d, 0x00, 0x5c,
                    0x00, 0x65, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72,
                    0x00, 0x2e, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0xff
                ), [RegistryValueKind]::Binary)
            DefaultValue = $null
            Description  = "File Explorer pinning and taskbar layout"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::TaskbarChat
            Name         = "ChatIcon"
            Recommended  = [ValuePair]::new(3, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Windows Chat icon visibility"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::TaskbarFeeds
            Name         = "EnableFeeds"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable news and interests feed"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::PolicyManagerNews
            Name         = "value"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Block news and interests"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::TaskbarDsh
            Name         = "AllowNewsAndInterests"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disable news and interests"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::LMPolicyExplorer
            Name         = "HideSCAMeetNow"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hide Meet Now button"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "TaskbarMn"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Taskbar menu configuration"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowTaskViewButton"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hide Task View button"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorer
            Name         = "EnableAutoTray"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "System tray icon behavior"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUPolicyExplorer
            Name         = "NoStartMenuMFUprogramsList"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Clear frequently used programs list"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUPolicyExplorer
            Name         = "HideSCAMeetNow"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hide Meet Now button (user)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUSearch
            Name         = "SearchboxTaskbarMode"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Search box appearance"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowCopilotButton"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hide Copilot button"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "TaskbarSn"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Taskbar system notifications"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "TaskbarAl"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Left-align taskbar icons"
        }
    )
    Explorer        = @(
        [pscustomobject]@{
            BaseKey      = [BaseKey]::FileSystem
            Name         = "LongPathsEnabled"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enables long file paths (up to 32,767 characters)"
        },
BÖLÜM -4.KISIM-4'ÜN AÇIKLAMASI :

Bu bölüm, bir PowerShell betiği içinde Windows kayıt defteri ayarlarını yapılandırmak için kullanılan bir dizi özelleştirilmiş nesne içeriyor. Her bir nesne, belirli bir ayarın temel anahtarını, adını, önerilen değerini, varsayılan değerini ve açıklamasını içeriyor. Şimdi bu bölümün ana bileşenlerini analiz edelim:

Yapı:
Her bir ayar, [pscustomobject] kullanılarak tanımlanmış. Bu, PowerShell'de nesne oluşturmanın bir yoludur ve her bir ayarın özelliklerini tutmak için kullanılır.
BaseKey, ayarın hangi kayıt defteri anahtarında bulunduğunu belirtir. Örneğin, Taskband, TaskbarChat, TaskbarFeeds gibi anahtarlar, görev çubuğu ile ilgili ayarları temsil eder.

Ayarlar:
Favorites: Dosya Gezgini'nde sabitlenmiş öğelerin ve görev çubuğu düzeninin ayarlarını içerir. Önerilen değer, ikili bir veri dizisi olarak verilmiştir.
ChatIcon: Windows Chat simgesinin görünürlüğünü kontrol eder. Önerilen değer 3, bu da simgenin görünür olduğunu gösterir.
EnableFeeds: Haber ve ilgi alanları akışını devre dışı bırakır. Önerilen değer 0, yani devre dışı.
AllowNewsAndInterests: Haber ve ilgi alanlarını devre dışı bırakır. Önerilen değer yine 0.
HideSCAMeetNow: "Meet Now" butonunu gizler. Önerilen değer 1, yani gizli.
TaskbarMn: Görev çubuğu menü yapılandırmasını kontrol eder. Önerilen değer 0.
ShowTaskViewButton: Görev Görünümü butonunu gizler. Önerilen değer 0.
EnableAutoTray: Sistem tepsisi simgesi davranışını kontrol eder. Önerilen değer 0.
NoStartMenuMFUprogramsList: Sık kullanılan programlar listesini temizler. Önerilen değer 0.
SearchboxTaskbarMode: Arama kutusunun görünümünü kontrol eder. Önerilen değer 0.
ShowCopilotButton: Copilot butonunu gizler. Önerilen değer 0.
TaskbarSn: Görev çubuğu sistem bildirimlerini kontrol eder. Önerilen değer 0.
TaskbarAl: Görev çubuğu simgelerini sola hizalar. Önerilen değer 0.

Amaç:
Bu ayarlar, Windows kullanıcı arayüzünü özelleştirmek ve belirli özellikleri devre dışı bırakmak için kullanılabilir. Özellikle, kullanıcı deneyimini sadeleştirmek ve gereksiz öğeleri gizlemek amacı taşır.

Genel Yaklaşım

Bu bölüm, Windows işletim sisteminin görev çubuğu ve dosya gezgini ile ilgili ayarlarını yapılandırmak için bir dizi özelleştirilmiş nesne içeriyor. Kullanıcıların arayüzlerini özelleştirmelerine ve belirli özellikleri devre dışı bırakmalarına olanak tanır. Bu tür bir yapı, sistem yöneticileri veya kullanıcıların belirli bir iş akışını optimize etmeleri için faydalı olabilir.
Kullanıcı avatarı
TRWE_2012
Zettabyte1
Zettabyte1
Mesajlar: 15159
Kayıt: 25 Eyl 2013, 13:38
cinsiyet: Erkek
Teşekkür etti: 2509 kez
Teşekkür edildi: 5311 kez

BÖLÜM -4.KISIM-5

Mesaj gönderen TRWE_2012 »

Kod: Tümünü seç

[pscustomobject]@{
            BaseKey      = [BaseKey]::CloudContent
            Name         = "DisableSpotlightCollectionOnDesktop"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            Description  = "Disables Windows Spotlight wallpaper feature"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::WorkplaceJoin
            Name         = "BlockAADWorkplaceJoin"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Blocks 'Allow my organization to manage my device' pop-up"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MyComputerNamespace
            Name         = "{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}"
            Recommended  = [ValuePair]::new($null, [RegistryValueKind]::None)
            DefaultValue = $null
            Description  = "Removes 3D Objects from This PC"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::MyComputerNamespaceWOW64
            Name         = "{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}"
            Recommended  = [ValuePair]::new($null, [RegistryValueKind]::None)
            DefaultValue = $null
            Description  = "Removes 3D Objects from This PC (WOW64)"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::DesktopNamespace
            Name         = "{f874310e-b6b7-47dc-bc84-b9e6b38f5903}"
            Recommended  = [ValuePair]::new($null, [RegistryValueKind]::None)
            DefaultValue = $null
            Description  = "Removes Home Folder from Navigation Pane"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "LaunchTo"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Opens File Explorer to 'This PC'"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "HideFileExt"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Shows file name extensions"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "FolderContentsInfoTip"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables file size information in folder tips"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowInfoTip"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables pop-up descriptions for folder and desktop items"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowPreviewHandlers"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables preview handlers in preview pane"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowStatusBar"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables status bar in File Explorer"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ShowSyncProviderNotifications"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables sync provider notifications"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "SharingWizardOn"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables sharing wizard"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "TaskbarAnimations"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables taskbar animations"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "IconsOnly"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Shows thumbnails instead of icons"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ListviewAlphaSelect"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables translucent selection rectangle"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "ListviewShadow"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables drop shadows for icon labels"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "Start_AccountNotifications"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables account-related notifications"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "Start_TrackDocs"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables recently opened items in Start and File Explorer"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "Start_IrisRecommendations"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables recommendations for tips and shortcuts"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "SnapAssist"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Snap Assist"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "DITest"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables DITest"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "EnableSnapBar"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Snap Bar"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "EnableTaskGroups"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Task Groups"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "EnableSnapAssistFlyout"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Snap Assist Flyout"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "SnapFill"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Snap Fill"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "JointResize"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables Joint Resize"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CUExplorerAdvanced
            Name         = "MultiTaskingAltTabFilter"
            Recommended  = [ValuePair]::new(3, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Sets Alt+Tab to show open windows only"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Explorer
            Name         = "ShowFrequent"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Hides frequent folders in Quick Access"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::Explorer
            Name         = "ShowCloudFilesInQuickAccess"
            Recommended  = [ValuePair]::new(0, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Disables files from Office.com in Quick Access"
        },
        [pscustomobject]@{
            BaseKey      = [BaseKey]::CabinetState
            Name         = "FullPath"
            Recommended  = [ValuePair]::new(1, [RegistryValueKind]::DWord)
            DefaultValue = $null
            Description  = "Enables full path in the title bar"
BÖLÜM -4.KISIM-5'İN AÇIKLAMASI :

Bu bölüm de, Windows kayıt defteri ayarlarını yapılandırmak için kullanılan bir dizi özelleştirilmiş nesne içeriyor. Her bir nesne, belirli bir ayarın temel anahtarını, adını, önerilen değerini, varsayılan değerini ve açıklamasını içeriyor. Şimdi bu bölümün ana bileşenlerini analiz edelim:

Yapı:

Yine, her bir ayar [pscustomobject] kullanılarak tanımlanmış. Bu, PowerShell'de nesne oluşturmanın bir yoludur.
BaseKey, ayarın hangi kayıt defteri anahtarında bulunduğunu belirtir. Örneğin, CloudContent, WorkplaceJoin, MyComputerNamespace gibi anahtarlar, farklı sistem bileşenleri ile ilgili ayarları temsil eder.

Ayarlar:

DisableSpotlightCollectionOnDesktop: Windows Spotlight duvar kağıdı özelliğini devre dışı bırakır. Önerilen değer 1, yani devre dışı.
BlockAADWorkplaceJoin: "Kuruluşumun cihazımı yönetmesine izin ver" pop-up'ını engeller. Önerilen değer 1.

3D Objects Removal:

{0DB7E03F-FC29-4DC6-9020-FF41B59E513A} anahtarı, "Bu PC" bölümünden 3D Nesneler klasörünü kaldırır. Hem MyComputerNamespace hem de MyComputerNamespaceWOW64 için tanımlanmış.

DesktopNamespace:

{f874310e-b6b7-47dc-bc84-b9e6b38f5903} anahtarı, Navigasyon Panosu'ndan Ana Klasör'ü kaldırır.

CUExplorerAdvanced Ayarları:
LaunchTo: Dosya Gezgini'nin "Bu PC" olarak açılmasını sağlar. Önerilen değer 1.
HideFileExt: Dosya adı uzantılarını gösterir. Önerilen değer 0, yani uzantılar gösterilecek.
FolderContentsInfoTip: Klasör ipuçlarında dosya boyutu bilgisini devre dışı bırakır. Önerilen değer 0.
ShowInfoTip: Klasör ve masaüstü öğeleri için açılır açıklamaları devre dışı bırakır. Önerilen değer 0.
ShowPreviewHandlers: Önizleme panelinde önizleme işleyicilerini devre dışı bırakır. Önerilen değer 0.
ShowStatusBar: Dosya Gezgini'nde durum çubuğunu devre dışı bırakır. Önerilen değer 0.
ShowSyncProviderNotifications: Senkronizasyon sağlayıcı bildirimlerini devre dışı bırakır. Önerilen değer 0.
SharingWizardOn: Paylaşım sihirbazını devre dışı bırakır. Önerilen değer 0.
TaskbarAnimations: Görev çubuğu animasyonlarını devre dışı bırakır. Önerilen değer 0.
IconsOnly: Sadece simgeleri gösterir, küçük resimler yerine. Önerilen değer 0.
ListviewAlphaSelect: Saydam seçim dikdörtgenini devre dışı bırakır. Önerilen değer 0.
ListviewShadow: Simge etiketleri için gölgeyi devre dışı bırakır. Önerilen değer 0.
Start_AccountNotifications: Hesapla ilgili bildirimleri devre dışı bırakır. Önerilen değer 0.
Start_TrackDocs: Başlat menüsünde ve Dosya Gezgini'nde son açılan öğeleri devre dışı bırakır. Önerilen değer 0.
Start_IrisRecommendations: İpuçları ve kısayollar için önerileri devre dışı bırakır. Önerilen değer 0.
SnapAssist: Snap Assist özelliğini devre dışı bırakır. Önerilen değer 0.
DITest: DITest'i devre dışı bırakır. Önerilen değer 0.
EnableSnapBar: Snap Bar'ı devre dışı bırakır. Önerilen değer 0.
EnableTaskGroups: Görev Gruplarını devre dışı bırakır. Önerilen değer 0.
EnableSnapAssistFlyout: Snap Assist Flyout'u devre dışı bırakır. Önerilen değer 0.
SnapFill: Snap Fill özelliğini devre dışı bırakır. Önerilen değer 0.
JointResize: Birlikte yeniden boyutlandırmayı devre dışı bırakır. Önerilen değer 0.
MultiTaskingAltTabFilter: Alt+Tab tuş kombinasyonunun yalnızca açık pencereleri göstermesini ayarlar. Önerilen değer 3.

Explorer Ayarları:
ShowFrequent: Hızlı Erişim'de sık kullanılan klasörleri gizler. Önerilen değer 0.
ShowCloudFilesInQuickAccess: Hızlı Erişim'de Office.com'dan dosyaları devre dışı bırakır. Önerilen değer 0.

CabinetState Ayarı:
FullPath: Başlık çubuğunda tam yolu etkinleştirir. Önerilen değer 1.
Cevapla