• Home
  • Linux
  • Docker
  • Windows
    • PS
    • C#
    • Exchange Server
  • Other
    • Perl
    • IPV6
    • MacOS
  • DB
    • MSSQL
    • MariaDB
    • PG

Home

WSUS failed. Error Number 80131509

Details
Written by: po3dno
Category: Other
Created: 29 November 2022
Hits: 487

You need to tell .NET to use TLS1.2 which is what the PowerShell code below does (Run it from an Administrative PowerShell Window).

  1. $Properties = @{
  2. Name = 'SchUseStrongCrypto'
  3. Value = '1'
  4. Type = 'DWord'
  5. }
  6. $null,'Wow6432Node' | Foreach-Object {
  7. Set-ItemProperty @Properties -Path "HKLM:\SOFTWARE$("\$_")\Microsoft\.NetFramework\v4.0.30319" -Verbose
  8. }

PowerShell equivalents for Repadmin commands

Details
Written by: po3dno
Category: Power Shell
Created: 10 November 2022
Hits: 583
Get replication partner status
repadmin /showrepl Get-ADReplicationPartnerMetadata
Get Inbound replication queue details
repadmin /queue Get-ADReplicationQueueOperation
Replicate specific AD objects between domain controllers
repadmin /replsingleobj Sync-ADObject
Get replication metadata of an AD object
repadmin /showobjmeta Get-ADReplicationAttributeMetadata
Shows highest committed USN
repadmin /showutdvec Get-ADReplicationUpToDatenessVectorTable
Displays ISTG details
repadmin /istg * Get-ADReplicationSite –filter * | Select InterSiteTopologyGenerator
List all the subnets in the forest
dsquery subnet Get-ADReplicationSubnet
List the AD sites in the domain
dsquery site Get-ADReplicationSite

 

Get-ADReplicationPartnerMetadata -Target $env:computername |Select Server,@{n="Partner";e={(Resolve-DnsName $_.PartnerAddress).NameHost}},LastReplicationAttempt,LastReplicationResult, LastReplicationSuccess

 

Configure Managed Service Accounts for SQL Server Always On Availability Groups

Details
Written by: po3dno
Category: MSSQL
Created: 03 November 2022
Hits: 634

Introduction

DBA uses services accounts to run the various SQL Services. Usually, we should use a separate service account for an individual server SQL Services.

  • You should run SQL services having the least permissions
  • You should use a complex password and store it in a secure place
  • Its password should never expire
  • You should also change the password regularly, depending upon your organization’s security policy

If you maintain a large inventory of SQL Servers, you might think it is a cumbersome task to change and maintain the passwords for these servers. Once you change the service account password using SQL Server Configuration Manager, it also requires the restart of SQL Services. It might be a challenging task as well to get downtime for highly transactional applications.

We can leverage Group Managed Service Accounts (gMSA) in these cases. Let’s explore it in the subsequent section.

Read more …

Fix heavy memory usage in ReFS

Details
Written by: po3dno
Category: Windows
Created: 28 October 2022
Hits: 549

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsEnableLargeWorkingSetTrim -Value 1 

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsNumberOfChunksToTrim -Value 32 

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsEnableInlineTrim -Value 1

https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/fix-heavy-memory-usage-refs

 

fsutil behavior set disableDeleteNotify refs 1

Networking does not work

Details
Written by: po3dno
Category: Windows
Created: 10 August 2022
Hits: 557

If Windows 11 setup is stuck due to lack of network connection:

  1. Press Shift + F10 to launch Command Prompt.
  2. Type in OOBE\BYPASSNRO and press Enter.
  3. Your VM should reboot and at the setup screen you should see an option for “I don’t have internet.”
  4. Once Windows setup is completed, make sure to install the SPICE guest tools for network drivers.
  1. This PC can’t run Windows 11
  2. Pending Reboot Flags are in the Registry
  3. Resetting the Windows Search per-user index
  4. Manually Clearing the ConflictAndDeleted Folder in DFSR

Subcategories

Power Shell Article Count:  53

C# Article Count:  10

Perl Article Count:  1

Exchange Server Article Count:  15

Other Article Count:  24

MSSQL Article Count:  17

Windows Article Count:  25

MariaDB Article Count:  3

Linux Article Count:  8

Docker Article Count:  2

pg Article Count:  2

Page 8 of 32

  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 176
  • Articles View Hits 157831