windows nt sunucusu üstündeki güvenlik veritabanı bu iş istasyonu güven ilişkisi için bir bilgisayar hesabına sahip değil.

Mustafa Ülker
1 min readFeb 7, 2020

--

ACTIVE DIRECTORY hatalarından en çözümsüz en çaresiz hatalarından bir tanesi.

Ad sunucunuzda yeni bir bilgisayar oluşturmanız gerekecek.

tabi yeterli değil attribute alanlarını da oluşturmanız gereklidir.

$dc = “domain”
$pw = “parolaniz” | ConvertTo-SecureString -asPlainText -Force
$usr = “$dc\userloginisminiz”
$pc = “bilgisayaradi”
$creds = New-Object System.Management.Automation.PSCredential($usr,$pw)
Remove-Computer -ComputerName $pc -Credential $creds –Verbose –Restart –Force

Remove-Computer -ComputerName $pc –Verbose –Restart –Force

Create a Computer Object in AD
New-ADComputer –Name $pc –SamAccountName $pc

Reset an AD Computer Account
$pc = read-host –Prompt “Input computer name to reset”
$pw = read-host –Prompt “Input random characters for temp password” –AsSecureString
Get-ADComputer $pc | Set-ADAccountPassword –NewPassword:$pw -Reset:$true

To reset the secure channel for the one-way trust between domain and $pc, type the following command at the command prompt:
netdom trust /d:domain $pc /reset

check the value of the servicePrincipalName attribute
Make sure your computer object has a populated SPN property value in the following format:

HOST/bilgisayaradi
HOST/bilgisayaradi.domain.local
RestrictedKrbHost/bilgisayaradi
RestrictedKrbHost/bilgisayaradi.domain.local
TERMSRV/bilgisayaradi
TERMSRV/bilgisayaradi.domain.local

Set-ADComputer -Identity bilgisayaradi -ServicePrincipalName @{Replace=”host/bilgisayaradi”,”host/bilgisayaradi.domain.local”,”RestrictedKrbHost/bilgisayaradi”,”RestrictedKrbHost/bilgisayaradi.domain.local”,”TERMSRV/bilgisayaradi”,”TERMSRV/bilgisayaradi.domain.local”}

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response