ข้ามไปที่เนื้อหาหลัก
การสนับสนุน
ลงชื่อเข้าใช้
ลงชื่อเข้าใช้ด้วย Microsoft
ลงชื่อเข้าใช้หรือสร้างบัญชี
สวัสดี
เลือกบัญชีอื่น
คุณมีหลายบัญชี
เลือกบัญชีที่คุณต้องการลงชื่อเข้าใช้

บทนำ

Microsoft ได้นำออกใช้บูเลทีนรักษาความปลอดภัย MS14-025 เมื่อต้องการเรียนรู้เพิ่มเติมเกี่ยวกับบูเลทีนรักษาความปลอดภัยนี้:

วิธีการขอรับบริการช่วยเหลือและสนับสนุนสำหรับการปรับปรุงการรักษาความปลอดภัยนี้


ความช่วยเหลือในการติดตั้งการปรับปรุง:
การสนับสนุนสำหรับการปรับปรุงของ Microsoft

โซลูชันการรักษาความปลอดภัยสำหรับผู้เชี่ยวชาญด้าน IT:
การแก้ไขปัญหาความปลอดภัย TechNet และสนับสนุน

ช่วยป้องกันคอมพิวเตอร์ของคุณใช้ Windows Windows จากไวรัสและมัลแวร์:
โซลูชันไวรัสและศูนย์รักษาความปลอดภัย

สนับสนุนท้องถิ่นตามประเทศของคุณ:
สนับสนุนสากล

ข้อมูลเพิ่มเติม

ปัญหาที่ทราบและข้อมูลเพิ่มเติมเกี่ยวกับการปรับปรุงการรักษาความปลอดภัยนี้

บทความต่อไปนี้ประกอบด้วยข้อมูลเพิ่มเติมเกี่ยวกับการปรับปรุงการรักษาความปลอดภัยนี้เท่านั้นที่เกี่ยวข้องกับผลิตภัณฑ์แต่ละรุ่น บทความนี้อาจประกอบด้วยสาเหตุที่ทราบข้อมูล ถ้าเป็นกรณีนี้ ปัญหาที่ทราบที่อยู่ภายใต้การเชื่อมโยงแต่ละบทความ

  • 2928120



    MS14-025: คำอธิบายของการปรับปรุงความปลอดภัยสำหรับ Windows เครื่องมือดูแลเซิร์ฟเวอร์ระยะไกลสำหรับระบบที่มีการปรับปรุง 2919355 ที่ติดตั้ง: 13 พฤษภาคม 2014

  • 2961899

    MS14-025: คำอธิบายของการปรับปรุงความปลอดภัยสำหรับ Windows เครื่องมือดูแลเซิร์ฟเวอร์ระยะไกลสำหรับระบบที่ไม่มีการปรับปรุง 2919355 ที่ติดตั้ง: 13 พฤษภาคม 2014

กำหนดลักษณะของนโยบายกลุ่ม

ภาพรวม


การกำหนดลักษณะนโยบายกลุ่มบางอย่างสามารถจัดเก็บรหัสผ่าน ฟังก์ชันการทำงานนี้กำลังถูกเอาออกเนื่องจากรหัสผ่านถูกเก็บไว้ insecurely บทความนี้อธิบายถึงการเปลี่ยนแปลงส่วนติดต่อผู้ใช้และวิธีการแก้ไขปัญหาใด ๆ พร้อมใช้งาน

กำหนดลักษณะนโยบายกลุ่มต่อไปนี้จะไม่อนุญาตให้ชื่อผู้ใช้และรหัสผ่านจะถูกบันทึก:

  • แมปไดรฟ์

  • เฉพาะผู้ใช้และกลุ่ม

  • งานที่จัดกำหนดการ

  • บริการ

  • แหล่งข้อมูล

ซึ่งจะมีผลต่อลักษณะการทำงานใด ๆ ที่มีอยู่วัตถุนโยบายกลุ่ม (Gpo) ในสภาพแวดล้อมของคุณควรใช้รหัสผ่านที่มีอยู่ในการกำหนดลักษณะเหล่านี้ ซึ่งจะป้องกันไม่ให้สร้างการกำหนดลักษณะนโยบายกลุ่มใหม่ โดยใช้ฟังก์ชันการทำงานนี้

สำหรับการ แมปไดรฟ์ ผู้ ใช้ท้องถิ่น และกลุ่ม และบริการ คุณอาจสามารถบรรลุเป้าหมายที่คล้ายกันผ่านฟังก์ชันอื่น ๆ ความปลอดภัยใน Windows

สำหรับแหล่งข้อมูลและการจัดกำหนดการงาน คุณจะไม่สามารถบรรลุเป้าหมายเดียวกันได้โดยใช้ฟังก์ชันการทำงานที่ไม่ปลอดภัยของรหัสผ่านที่กำหนดลักษณะของนโยบายกลุ่ม

สถานการณ์สมมติ

กำหนดลักษณะนโยบายกลุ่มต่อไปนี้ได้รับผลกระทบจากการเปลี่ยนแปลงนี้ กำหนดลักษณะแต่ละครอบคลุมสั้น ๆ แล้ว ในรายละเอียดเพิ่มเติม นอกจากนี้ วิธีแก้ไขปัญหาจะมีเงื่อนไขที่ทำให้คุณสามารถดำเนินการงานเดียวกัน

การกำหนดลักษณะที่ได้รับผลกระทบ

นำไปใช้กับผู้ใช้

นำไปใช้กับคอมพิวเตอร์

จัดการผู้ใช้ภายใน

ใช่

ใช่

ไดรฟ์ที่แมป

ใช่

ไม่ใช่

บริการ

ไม่ใช่

ใช่

งานที่กำหนดเวลาไว้ (ระดับขึ้น)

ใช่

ใช่

งานที่กำหนดเวลาไว้ (ระดับล่าง)

ใช่

ใช่

งานในทันที (ระดับขึ้น)

ใช่

ใช่

งานในทันที (ระดับล่าง)

ใช่

ใช่

แหล่งข้อมูล

ใช่

ใช่

สรุปการเปลี่ยนแปลง

  • เขตข้อมูลรหัสผ่านในการกำหนดลักษณะที่ได้รับผลกระทบทั้งหมดถูกปิดใช้งาน ผู้ดูแลไม่สามารถสร้างลักษณะใหม่ โดยใช้เขตข้อมูลรหัสผ่านเหล่านี้

  • เขตข้อมูลชื่อผู้ใช้ถูกปิดใช้งานในการกำหนดลักษณะบางอย่าง

  • ไม่สามารถปรับปรุงการกำหนดลักษณะที่มีอยู่แล้วที่ประกอบด้วยรหัสผ่าน พวกเขาสามารถลบ หรือปิดการใช้งาน การกำหนดลักษณะเฉพาะตามความเหมาะสม

  • ไม่ได้เปลี่ยนลักษณะการทำงานสำหรับการดำเนินการลบและปิดการใช้งานสำหรับการกำหนดลักษณะ

  • เมื่อผู้ดูแลระบบเปิดการกำหนดลักษณะใด ๆ ที่ประกอบด้วยแอตทริบิวต์ CPassword ผู้ดูแลระบบได้รับกล่องโต้ตอบคำเตือนต่อไปนี้เพื่อแจ้งให้ทราบของเขาหรือเธอของ deprecation ที่ล่าสุด ความพยายามในการบันทึกการเปลี่ยนแปลงการกำหนดลักษณะใหม่ หรือที่มีอยู่ซึ่งจำเป็นต้องมีแอตทริบิวต์ CPassword จะทริกเกอร์กล่องโต้ตอบเดียวกัน ลบเฉพาะ และปิดใช้งานการดำเนินการจะทริกเกอร์กล่องโต้ตอบคำเตือน






สถานการณ์สมมติที่ 1: การจัดการผู้ใช้ภายใน


มักมีใช้การกำหนดลักษณะการจัดการผู้ใช้ภายในเพื่อสร้างผู้ดูแลท้องถิ่นที่มีรหัสผ่านที่รู้จักบนเครื่องคอมพิวเตอร์ คุณลักษณะนี้ไม่มีความปลอดภัย เพราะวิธีที่กำหนดลักษณะของนโยบายกลุ่มจัดเก็บรหัสผ่าน ดังนั้น ฟังก์ชันการทำงานนี้จะไม่พร้อมใช้งาน จะมีผลต่อการกำหนดลักษณะดังต่อไปนี้:

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> แผงควบคุม -> การตั้งค่าผู้ใช้ท้องถิ่น และกลุ่ม -> สร้าง -> ผู้ใช้ภายใน

  • การตั้งค่าคอนฟิกผู้ใช้ -> แผงควบคุม -> การตั้งค่าผู้ใช้ท้องถิ่น และกลุ่ม -> สร้าง -> ผู้ใช้ภายใน

การเปลี่ยนแปลงที่สำคัญ

การดำเนินการ: สร้าง หรือแทน

  • เขตข้อมูลชื่อผู้ใช้รหัสผ่านและยืนยันรหัสผ่านถูกปิดใช้งาน

  • กล่องโต้ตอบคำเตือนปรากฏขึ้นเมื่อผู้ดูแลระบบเปิด หรือพยายามที่จะปรับเปลี่ยนการกำหนดลักษณะที่มีอยู่แล้วที่ประกอบด้วยรหัสผ่าน





การดำเนินการ: การปรับปรุง

  • เขตข้อมูลรหัสผ่านและยืนยันรหัสผ่านถูกปิดใช้งาน

  • กล่องโต้ตอบคำเตือนปรากฏขึ้นเมื่อผู้ดูแลระบบเปิด หรือพยายามที่จะปรับเปลี่ยนการกำหนดลักษณะที่มีอยู่แล้วที่ประกอบด้วยรหัสผ่าน





การกระทำ: ลบ

  • ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

วิธีแก้ไขปัญหา


สำหรับผู้ ที่พึ่งไว้ก่อนหน้านี้ ในการกำหนดลักษณะนโยบายกลุ่มสำหรับรหัสผ่านผู้ดูแลระบบภายในการตั้งค่า สคริปต์ต่อไปนี้ไว้ให้เป็นทางเลือกปลอดภัยในการ CPassword คัดลอก และบันทึกเนื้อหาไปยังแฟ้ม Windows PowerShell ใหม่ และจากนั้น เรียกใช้สคริปต์ตามที่ระบุไว้ในนั้น ส่วนตัวอย่าง

Microsoft ให้ตัวอย่างการเขียนโปรแกรมไว้สำหรับประกอบการอธิบายเท่านั้นโดยไม่มีการรับประกันไม่ว่าจะโดยชัดแจ้งหรือโดยนัย กรณีนี้รวมถึงแต่มิได้จำกัดเพียงแค่การการรับประกันโดยนัยเกี่ยวกับการจำหน่ายเป็นสินค้าหรือความเหมาะสำหรับวัตถุประสงค์เฉพาะ บทความนี้ตั้งสมมติฐานว่าคุณมีความคุ้นเคยกับภาษาการเขียนโปรแกรมที่กำลังแสดงและคุ้นเคยกับเครื่องมือที่ใช้ใน การสร้างและแก้จุดบกพร่องของขั้นตอนการดำเนินการ วิศวกรฝ่ายสนับสนุนของ Microsoft สามารถช่วยอธิบายเกี่ยวกับหน้าที่การใช้งานของกระบวนการเฉพาะ อย่างไรก็ตาม จะไม่แก้ไขตัวอย่างเหล่านี้เพื่อเพิ่มฟังก์ชัน หรือสร้างขั้นตอนเพื่อตอบสนองความต้องการเฉพาะของคุณ

function Invoke-PasswordRoll
{
<#
.SYNOPSIS

This script can be used to set the local account passwords on remote machines to random passwords. The username/password/server combination will be saved in a CSV file.
The account passwords stored in the CSV file can be encrypted using a password of the administrators choosing to ensure clear-text account passwords aren't written to disk.
The encrypted passwords can be decrypted using another function in this file: ConvertTo-CleartextPassword


Function: Invoke-PasswordRoll
Author: Microsoft
Version: 1.0

.DESCRIPTION

This script can be used to set the local account passwords on remote machines to random passwords. The username/password/server combination will be saved in a CSV file.
The account passwords stored in the CSV file can be encrypted using a password of the administrators choosing to ensure clear-text account passwords aren't written to disk.
The encrypted passwords can be decrypted using another function in this file: ConvertTo-CleartextPassword

.PARAMETER ComputerName

An array of computers to run the script against using PowerShell remoting.

.PARAMETER LocalAccounts

An array of local accounts whose password should be changed.

.PARAMETER TsvFileName

The file to output the username/password/server combinations to.

.PARAMETER EncryptionKey

A password to encrypt the TSV file with. Uses AES encryption. Only the passwords stored in the TSV file will be encrypted, the username and servername will be clear-text.

.PARAMETER PasswordLength

The length of the passwords which will be randomly generated for local accounts.

.PARAMETER NoEncryption

Do not encrypt the account passwords stored in the TSV file. This will result in clear-text passwords being written to disk.

.EXAMPLE

. .\Invoke-PasswordRoll.ps1 #Loads the functions in this script file
Invoke-PasswordRoll -ComputerName (Get-Content computerlist.txt) -LocalAccounts @("administrator","CustomLocalAdmin") -TsvFileName "LocalAdminCredentials.tsv" -EncryptionKey "Password1"

Connects to all the computers stored in the file "computerlist.txt". If the local account "administrator" and/or "CustomLocalAdmin" are present on the system, their password is changed
to a randomly generated password of length 20 (the default). The username/password/server combinations are stored in LocalAdminCredentials.tsv, and the account passwords are AES encrypted using the password "Password1".

.EXAMPLE

. .\Invoke-PasswordRoll.ps1 #Loads the functions in this script file
Invoke-PasswordRoll -ComputerName (Get-Content computerlist.txt) -LocalAccounts @("administrator") -TsvFileName "LocalAdminCredentials.tsv" -NoEncryption -PasswordLength 40

Connects to all the computers stored in the file "computerlist.txt". If the local account "administrator" is present on the system, its password is changed to a random generated
password of length 40. The username/password/server combinations are stored in LocalAdminCredentials.tsv unencrypted.

.NOTES
Requirements:
-PowerShellv2 or above must be installed
-PowerShell remoting must be enabled on all systems the script will be run against

Script behavior:
-If a local account is present on the system, but not specified in the LocalAccounts parameter, the script will write a warning to the screen to alert you to the presence of this local account. The script will continue running when this happens.
-If a local account is specified in the LocalAccounts parameter, but the account does not exist on the computer, nothing will happen (an account will NOT be created).
-The function ConvertTo-CleartextPassword, contained in this file, can be used to decrypt passwords that are stored encrypted in the TSV file.
-If a server specified in ComputerName cannot be connected to, PowerShell will output an error message.
-Microsoft advises companies to regularly roll all local and domain account passwords.

#>
[CmdletBinding(DefaultParameterSetName="Encryption")]
Param(
[Parameter(Mandatory=$true)]
[String[]]
$ComputerName,

[Parameter(Mandatory=$true)]
[String[]]
$LocalAccounts,

[Parameter(Mandatory=$true)]
[String]
$TsvFileName,

[Parameter(ParameterSetName="Encryption", Mandatory=$true)]
[String]
$EncryptionKey,

[Parameter()]
[ValidateRange(20,120)]
[Int]
$PasswordLength = 20,

[Parameter(ParameterSetName="NoEncryption", Mandatory=$true)]
[Switch]
$NoEncryption
)


#Load any needed .net classes
Add-Type -AssemblyName "System.Web" -ErrorAction Stop


#This is the scriptblock that will be executed on every computer specified in ComputerName
$RemoteRollScript = {
Param(
[Parameter(Mandatory=$true, Position=1)]
[String[]]
$Passwords,

[Parameter(Mandatory=$true, Position=2)]
[String[]]
$LocalAccounts,

#This is here so I can record what the server name that the script connected to was, sometimes the DNS records get messed up, it can be nice to have this.
[Parameter(Mandatory=$true, Position=3)]
[String]
$TargettedServerName
)

$LocalUsers = Get-WmiObject Win32_UserAccount -Filter "LocalAccount=true" | Foreach {$_.Name}

#Check if the computer has any local user accounts whose passwords are not going to be rolled by this script
foreach ($User in $LocalUsers)
{
if ($LocalAccounts -inotcontains $User)
{
Write-Warning "Server: '$($TargettedServerName)' has a local account '$($User)' whos password is NOT being changed by this script"
}
}

#For every local account specified that exists on this server, change the password
$PasswordIndex = 0
foreach ($LocalAdmin in $LocalAccounts)
{
$Password = $Passwords[$PasswordIndex]

if ($LocalUsers -icontains $LocalAdmin)
{
try
{
$objUser = [ADSI]"WinNT://localhost/$($LocalAdmin), user"
$objUser.psbase.Invoke("SetPassword", $Password)

$Properties = @{
TargettedServerName = $TargettedServerName
Username = $LocalAdmin
Password = $Password
RealServerName = $env:computername
}

$ReturnData = New-Object PSObject -Property $Properties
Write-Output $ReturnData
}
catch
{
Write-Error "Error changing password for user:$($LocalAdmin) on server:$($TargettedServerName)"
}
}

$PasswordIndex++
}
}


#Generate the password on the client running this script, not on the remote machine. System.Web.Security isn't available in the .NET Client profile. Making this call
# on the client running the script ensures only 1 computer needs the full .NET runtime installed (as opposed to every system having the password rolled).
function Create-RandomPassword
{
Param(
[Parameter(Mandatory=$true)]
[ValidateRange(20,120)]
[Int]
$PasswordLength
)

$Password = [System.Web.Security.Membership]::GeneratePassword($PasswordLength, $PasswordLength / 4)

#This should never fail, but I'm putting a sanity check here anyways
if ($Password.Length -ne $PasswordLength)
{
throw new Exception("Password returned by GeneratePassword is not the same length as required. Required length: $($PasswordLength). Generated length: $($Password.Length)")
}

return $Password
}


#Main functionality - Generate a password and remote in to machines to change the password of local accounts specified
if ($PsCmdlet.ParameterSetName -ieq "Encryption")
{
try
{
$Sha256 = new-object System.Security.Cryptography.SHA256CryptoServiceProvider
$SecureStringKey = $Sha256.ComputeHash([System.Text.UnicodeEncoding]::Unicode.GetBytes($EncryptionKey))
}
catch
{
Write-Error "Error creating TSV encryption key" -ErrorAction Stop
}
}

foreach ($Computer in $ComputerName)
{
#Need to generate 1 password for each account that could be changed
$Passwords = @()
for ($i = 0; $i -lt $LocalAccounts.Length; $i++)
{
$Passwords += Create-RandomPassword -PasswordLength $PasswordLength
}

Write-Output "Connecting to server '$($Computer)' to roll specified local admin passwords"
$Result = Invoke-Command -ScriptBlock $RemoteRollScript -ArgumentList @($Passwords, $LocalAccounts, $Computer) -ComputerName $Computer
#If encryption is being used, encrypt the password with the user supplied key prior to writing to disk
if ($Result -ne $null)
{
if ($PsCmdlet.ParameterSetName -ieq "NoEncryption")
{
$Result | Select-Object Username,Password,TargettedServerName,RealServerName | Export-Csv -Append -Path $TsvFileName -NoTypeInformation
}
else
{
#Filters out $null entries returned
$Result = $Result | Select-Object Username,Password,TargettedServerName,RealServerName

foreach ($Record in $Result)
{
$PasswordSecureString = ConvertTo-SecureString -AsPlainText -Force -String ($Record.Password)
$Record | Add-Member -MemberType NoteProperty -Name EncryptedPassword -Value (ConvertFrom-SecureString -Key $SecureStringKey -SecureString $PasswordSecureString)
$Record.PSObject.Properties.Remove("Password")
$Record | Select-Object Username,EncryptedPassword,TargettedServerName,RealServerName | Export-Csv -Append -Path $TsvFileName -NoTypeInformation
}
}
}
}
}


function ConvertTo-CleartextPassword
{
<#
.SYNOPSIS
This function can be used to decrypt passwords that were stored encrypted by the function Invoke-PasswordRoll.

Function: ConvertTo-CleartextPassword
Author: Microsoft
Version: 1.0

.DESCRIPTION
This function can be used to decrypt passwords that were stored encrypted by the function Invoke-PasswordRoll.


.PARAMETER EncryptedPassword

The encrypted password that was stored in a TSV file.

.PARAMETER EncryptionKey

The password used to do the encryption.


.EXAMPLE

. .\Invoke-PasswordRoll.ps1 #Loads the functions in this script file
ConvertTo-CleartextPassword -EncryptionKey "Password1" -EncryptedPassword 76492d1116743f0423413b16050a5345MgB8AGcAZgBaAHUAaQBwADAAQgB2AGgAcABNADMASwBaAFoAQQBzADEAeABjAEEAPQA9AHwAZgBiAGYAMAA1ADYANgA2ADEANwBkADQAZgAwADMANABjAGUAZQAxAGIAMABiADkANgBiADkAMAA4ADcANwBhADMAYQA3AGYAOABkADcAMQA5ADQAMwBmAGYANQBhADEAYQBjADcANABkADIANgBhADUANwBlADgAMAAyADQANgA1ADIAOQA0AGMAZQA0ADEAMwAzADcANQAyADUANAAzADYAMAA1AGEANgAzADEAMQA5ADAAYwBmADQAZAA2AGQA"

Decrypts the encrypted password which was stored in the TSV file.

#>
Param(
[Parameter(Mandatory=$true)]
[String]
$EncryptedPassword,

[Parameter(Mandatory=$true)]
[String]
$EncryptionKey
)

$Sha256 = new-object System.Security.Cryptography.SHA256CryptoServiceProvider
$SecureStringKey = $Sha256.ComputeHash([System.Text.UnicodeEncoding]::Unicode.GetBytes($EncryptionKey))

[SecureString]$SecureStringPassword = ConvertTo-SecureString -String $EncryptedPassword -Key $SecureStringKey
Write-Output ([System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToCoTaskMemUnicode($SecureStringPassword)))
}

ผู้ดูแลสามารถเพิ่มบัญชีผู้ดูแลภายในเครื่องคอมพิวเตอร์ โดยการสร้างกลุ่ม Active Directory และเพิ่มเข้าไปในกลุ่มผู้ดูแลท้องถิ่นผ่านการกำหนดลักษณะของนโยบายกลุ่ม -> กลุ่มท้องถิ่น การกระทำนี้แคข้อมูลประจำตัว กล่องโต้ตอบคล้ายกับต่อไปนี้ วิธีแก้ปัญหานี้จำเป็นต้องเชื่อมต่อกับบริการระบบโดเมนไดเรกทอรีที่ใช้งานอยู่เมื่อผู้ใช้เข้าสู่ระบบ โดยใช้ข้อมูลประจำตัวเหล่านี้





สถานการณ์สมมติที่ 2: ไดรฟ์ที่แมป

ผู้ดูแลระบบใช้แมปไดรฟ์เพื่อปันส่วนตำแหน่งบนเครือข่ายให้กับผู้ใช้ คุณลักษณะการป้องกันด้วยรหัสผ่านถูกใช้เพื่อทำให้แน่ใจว่าการเข้าถึงที่ได้รับอนุญาตลงในไดรฟ์ จะมีผลต่อการกำหนดลักษณะดังต่อไปนี้:

  • การตั้งค่าคอนฟิกผู้ใช้ -> Windows ไดรฟ์ -> การตั้งค่า -> แผนผังใหม่ -> ไดรฟ์ที่ถูกแมป

การเปลี่ยนแปลงที่สำคัญ

การดำเนินการ: สร้าง ปรับปรุง หรือแทน

  • เขตข้อมูลชื่อผู้ใช้รหัสผ่านและยืนยันรหัสผ่านถูกปิดใช้งาน




การกระทำ: ลบ

  • ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

วิธีแก้ไขปัญหา


แทนการใช้รหัสผ่านวิธีการรับรองความถูกต้อง คุณสามารถใช้ Windows Explorer เพื่อจัดการสิทธิ์การใช้งานร่วมกัน และการจัดสรรสิทธิ์แก่ผู้ใช้ คุณสามารถใช้วัตถุ Active Directory เพื่อควบคุมสิทธิ์ไปยังโฟลเดอร์


สถานการณ์สมมติที่ 3: บริการ

คุณสามารถใช้การกำหนดลักษณะของการบริการเมื่อต้องการเปลี่ยนคุณสมบัติของบริการในเช่นวิธีที่เรียกใช้ในบริบทนอกเหนือจากบริบทความปลอดภัยของต้นฉบับ ได้ จะมีผลต่อการกำหนดลักษณะดังต่อไปนี้:

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> แผงควบคุม -> การตั้งค่าบริการ -> -> บริการใหม่

การเปลี่ยนแปลงที่สำคัญ

เริ่มต้น: ไม่มีการเปลี่ยนแปลง อัตโนมัติ หรือด้วยตนเอง

  • เขตข้อมูลรหัสผ่านและการยืนยันรหัสผ่านถูกปิดใช้งาน

  • ผู้ดูแลระบบสามารถใช้บัญชีที่มีอยู่แล้วเท่านั้น




เริ่มต้นระบบ: ปิดใช้งาน

  • ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

กล่องโต้ตอบใหม่

  • ผู้ดูแลระบบที่พยายามที่จะใช้ผู้ใช้ที่ไม่ใช่สร้างในสำหรับบัญชีผู้ใช้นี้"ได้รับคำเตือนต่อไปนี้:





วิธีแก้ไขปัญหา




บริการยังคงสามารถรันเป็นบัญชีระบบภายในเครื่อง สามารถเปลี่ยนสิทธิ์การบริการตามที่จัดทำเอกสารในบทความในฐานความรู้ของ Microsoft ต่อไปนี้:

256345วิธีการตั้งค่านโยบายกลุ่มการตั้งค่าคอนฟิกการตั้งค่าความปลอดภัยสำหรับบริการของระบบ

หมายเหตุถ้าไม่มีการบริการที่คุณต้องการตั้งค่าคอนฟิก คุณต้องกำหนดค่าการตั้งค่าบนคอมพิวเตอร์ที่มีการเรียกใช้บริการ


สถานการณ์สมมติที่ 4: ในทันที และจัดกำหนดการงาน (ระดับขึ้น)

ใช้สำหรับการรันการจัดตารางงานในบริบทความปลอดภัยเฉพาะ ความสามารถในการเก็บข้อมูลประจำตัวสำหรับงานที่กำหนดเวลาไว้เพื่อเรียกใช้ในฐานะผู้ใช้กำหนดเมื่อผู้ใช้ที่ไม่ได้เข้าสู่ระบบจะไม่พร้อมใช้งาน การกำหนดลักษณะดังต่อไปนี้จะได้รับผลกระทบ (โปรดทราบที่บนแพลตฟอร์มบาง, "อย่างน้อย Windows 7 " จะถูกแทนที่ด้วย " Windows Vista และรุ่นที่ใหม่กว่า")

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> การตั้งค่าแผงควบคุม -> การจัดกำหนดการงาน -> สร้าง -> การจัดกำหนดการงาน (อย่างน้อย Windows 7)

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> การตั้งค่าแผงควบคุม -> งานที่จัดกำหนดการ -> สร้าง -> งานทันที (อย่างน้อย Windows 7)

  • การตั้งค่าคอนฟิกผู้ใช้ -> การตั้งค่าแผงควบคุม -> งานที่จัดกำหนดการ -> สร้าง -> งานที่จัดกำหนดการ (อย่างน้อย Windows 7)

  • การตั้งค่าคอนฟิกผู้ใช้ -> การตั้งค่าแผงควบคุม -> งานที่จัดกำหนดการ -> สร้าง -> งานทันที (อย่างน้อย Windows 7)

การเปลี่ยนแปลงที่สำคัญ

การดำเนินการ: สร้าง ปรับปรุง หรือแทน

  • เมื่อคุณเลือกตัวเลือกที่เรียกว่าผู้ใช้เข้าสู่ระบบ หรือไม่กล่องโต้ตอบพร้อมท์สำหรับข้อมูลประจำตัวของผู้ดูแลระบบไม่

  • กล่องกาเครื่องหมายเก็บรหัสผ่านถูกปิดใช้งาน โดยค่าเริ่มต้น นอกจากนี้ยังมีเลือกกล่องแสดง




การกระทำ: ลบ

ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

วิธีแก้ไขปัญหา


สำหรับการ "งานที่จัดกำหนดการแล้ว (อย่างน้อย Windows 7) " และ "งานทันที (อย่างน้อย Windows 7) " งาน ผู้ดูแลระบบสามารถใช้บัญชีผู้ใช้เฉพาะเมื่อมีการกำหนดให้ผู้ใช้เข้าสู่ระบบได้ หรือ จะได้เข้าถึงทรัพยากรภายในเครื่องเป็นผู้ใช้รายนั้น งานเหล่านี้ยังสามารถเรียกใช้ในบริบทของบริการบนเครื่อง



สถานการณ์จำลอง 5: ทันที และจัดกำหนดการงาน (ระดับล่าง)นี่คือลักษณะที่ใช้ในการรันการจัดกำหนดการงานในบริบทความปลอดภัยเฉพาะรุ่นระดับล่าง ความสามารถในการเก็บข้อมูลประจำตัวสำหรับงานที่กำหนดเวลาไว้เพื่อเรียกใช้ในฐานะผู้ใช้กำหนดเมื่อผู้ใช้ที่ไม่ได้เข้าสู่ระบบจะไม่พร้อมใช้งาน จะมีผลต่อการกำหนดลักษณะดังต่อไปนี้:

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> แผงควบคุม -> การตั้งค่างานที่จัดกำหนดการ -> -> งานที่จัดกำหนดการใหม่

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> แผงควบคุม -> การตั้งค่างานที่จัดกำหนดการ -> สร้าง -> งานทันที (Windows XP)

  • การตั้งค่าคอนฟิกผู้ใช้ -> แผงควบคุม -> การตั้งค่างานที่จัดกำหนดการ -> -> งานที่จัดกำหนดการใหม่

  • การตั้งค่าคอนฟิกผู้ใช้ -> แผงควบคุม -> การตั้งค่างานที่จัดกำหนดการ -> สร้าง -> งานทันที (Windows XP)

การเปลี่ยนแปลงที่สำคัญ

การดำเนินการ: สร้าง ปรับปรุง หรือแทน

  • กล่องกาเครื่องหมายรันเป็นถูกปิดใช้งาน ดังนั้น เขตข้อมูลชื่อผู้ใช้รหัสผ่านและยืนยันรหัสผ่านมีทั้งหมดปิดใช้งาน




การกระทำ: ลบ

ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

วิธีแก้ไขปัญหา


สำหรับรายการ "ทันทีงาน (Windows XP)" และ "จัดกำหนดการงาน" จัดกำหนดการงานรัน โดยใช้สิทธิ์ที่มีอยู่ไปยังบริการภายในเครื่อง


สถานการณ์สมมติที่ 6: แหล่งข้อมูล

การกำหนดลักษณะของแหล่งข้อมูลถูกใช้เพื่อเชื่อมโยงแหล่งข้อมูลกับคอมพิวเตอร์หรือผู้ใช้ คุณลักษณะนี้เก็บข้อมูลประจำตัวเพื่อเปิดใช้งานการเข้าถึงแหล่งข้อมูลที่มีป้องกัน ด้วยรหัสผ่านไม่ จะมีผลต่อการกำหนดลักษณะดังต่อไปนี้:

  • การตั้งค่าคอนฟิกคอมพิวเตอร์ -> แผงควบคุม -> การตั้งค่าแหล่งข้อมูล

  • การตั้งค่าคอนฟิกผู้ใช้ -> แผงควบคุม -> การตั้งค่าแหล่งข้อมูล

การเปลี่ยนแปลงที่สำคัญ


การดำเนินการ: สร้าง ปรับปรุง หรือแทน

  • เขตข้อมูลชื่อผู้ใช้รหัสผ่านและยืนยันรหัสผ่านถูกปิดใช้งาน:




การกระทำ: ลบ

  • ไม่มีการเปลี่ยนแปลงในลักษณะการทำงาน

วิธีแก้ไขปัญหา


ไม่มีวิธีแก้ไขปัญหาจะพร้อมใช้งาน การกำหนดลักษณะนี้จัดเก็บข้อมูลประจำตัวเพื่ออนุญาตให้เข้าถึงแหล่งข้อมูลที่มีป้องกัน ด้วยรหัสผ่านไม่ได้อีกต่อไป


Deprecation ของ CPassword

เอา CPassword

Windows PowerShell สคริปต์ที่รวมอยู่ในบทความฐานความรู้ของ Microsoft นี้ตรวจสอบว่า โดเมนประกอบด้วยการกำหนดลักษณะนโยบายกลุ่มใด ๆ ที่อาจใช้ CPassword นั้น ถ้าตรวจพบ CPassword XML ในการกำหนดลักษณะที่กำหนด ซึ่งจะแสดงในรายการนี้


ตรวจสอบการกำหนดลักษณะ CPassword


ต้องเรียกใช้สคริปต์นี้จากไดเรกทอรีภายในเครื่องบนตัวควบคุมโดเมนที่คุณต้องการทำความสะอาด คัดลอก และบันทึกเนื้อหาไปยังแฟ้ม Windows PowerShell ใหม่ ตรวจสอบไดรฟ์ระบบของคุณ และจากนั้น เรียกใช้สคริปต์ตามที่กำหนดในการใช้งานต่อไปนี้

<#.SYNOPSIS
Group Policy objects in your domain can have preferences that store passwords for different tasks, such as the following:
1. Data Sources
2. Drive Maps
3. Local Users
4. Scheduled Tasks (both XP and up-level)
5. Services
These passwords are stored in SYSVOL as part of GP preferences and are not secure because of weak encryption (32-byte AES).
Therefore, we recommend that you not deploy such preferences in your domain environment and remove any such existing
preferences. This script is to help administrator find GP Preferences in their domain's SYSVOL that contains passwords.

.DESCRIPTION
This script should be run on a DC or a client computer that is installed with RSAT to print all the preferences that contain
password with information such as GPO, Preference Name, GPEdit path under which this preference is defined.
After you have a list of affected preferences, these preferences can be removed by using the editor in the Group Policy Management Console.

.SYNTAX
Get-SettingsWithCPassword.ps1 [-Path <String>]
.EXAMPLE
Get-SettingsWithCPassword.ps1 -Path %WinDir%\SYSVOL\domain
Get-SettingsWithCPassword.ps1 -Path <GPO Backup Folder Path>

.NOTES
If Group Policy PS module is not found the output will contain GPO GUIDs instead of GPO names. You can either run
this script on a domain controller or rerun the script on the client after you have installed RSAT and
enabled the Group Policy module.
Or, you can use GPO GUIDs to obtain GPO names by using the Get-GPO cmdlet.

.LINK
http://go.microsoft.com/fwlink/?LinkID=390507

#>
#----------------------------------------------------------------------------------------------------------------
# Input parameters
#--------------------------------------------------------------------------------------------------------------
param(
[string]$Path = $(throw "-Path is required.") # Directory path where GPPs are located.
)
#---------------------------------------------------------------------------------------------------------------
$isGPModuleAvailable = $false
$impactedPrefs = { "Groups.xml", "ScheduledTasks.xml","Services.xml", "DataSources.xml", "Drives.xml" }
#----------------------------------------------------------------------------------------------------------------
# import Group olicy module if available
#----------------------------------------------------------------------------------------------------------------
if (-not (Get-Module -name "GroupPolicy"))
{
if (Get-Module -ListAvailable |
Where-Object { $_.Name -ieq "GroupPolicy" })
{
$isGPModuleAvailable = $true
Import-Module "GroupPolicy"
}
else
{
Write-Warning "Unable to import Group Policy module for PowerShell. Therefore, GPO guids will be reported.
Run this script on DC to obtain the GPO names, or use the Get-GPO cmdlet (on DC) to obtain the GPO name from GPO guid."
}
}
else
{
$isGPModuleAvailable = $true
}
Function Enum-SettingsWithCpassword ( [string]$sysvolLocation )
{
# GPMC tree paths
$commonPath = " -> Preferences -> Control Panel Settings -> "
$driveMapPath = " -> Preferences -> Windows Settings -> "

# Recursively obtain all the xml files within the SYVOL location
$impactedXmls = Get-ChildItem $sysvolLocation -Recurse -Filter "*.xml" | Where-Object { $impactedPrefs -cmatch $_.Name }


# Each xml file contains multiple preferences. Iterate through each preference to check whether it
# contains cpassword attribute and display it.
foreach ( $file in $impactedXmls )
{
$fileFullPath = $file.FullName

# Set GPP category. If file is located under Machine folder in SYSVOL
# the setting is defined under computer configuration otherwise the
# setting is a to user configuration
if ( $fileFullPath.Contains("Machine") )
{
$category = "Computer Configuration"
}
elseif ( $fileFullPath.Contains("User") )
{
$category = "User Configuration"
}
else
{
$category = "Unknown"
}
# Obtain file content as XML
try
{
[xml]$xmlFile = get-content $fileFullPath -ErrorAction Continue
}
catch [Exception]{
Write-Host $_.Exception.Message
}
if ($xmlFile -eq $null)
{
continue
}
switch ( $file.BaseName )
{
Groups
{
$gppWithCpassword = $xmlFile.SelectNodes("Groups/User") | where-Object { [String]::IsNullOrEmpty($_.Properties.cpassword) -eq $false }
$preferenceType = "Local Users"
}
ScheduledTasks
{
$gppWithCpassword = $xmlFile.SelectNodes("ScheduledTasks/*") | where-Object { [String]::IsNullOrEmpty($_.Properties.cpassword) -eq $false }
$preferenceType = "Scheduled Tasks"
}
DataSources
{
$gppWithCpassword = $xmlFile.SelectNodes("DataSources/DataSource") | where-Object { [String]::IsNullOrEmpty($_.Properties.cpassword) -eq $false }
$preferenceType = "Data sources"
}
Drives
{
$gppWithCpassword = $xmlFile.SelectNodes("Drives/Drive") | where-Object { [String]::IsNullOrEmpty($_.Properties.cpassword) -eq $false }
$preferenceType = "Drive Maps"
}
Services
{
$gppWithCpassword = $xmlFile.SelectNodes("NTServices/NTService") | where-Object { [String]::IsNullOrEmpty($_.Properties.cpassword) -eq $false }
$preferenceType = "Services"
}
default
{ # clear gppWithCpassword and preferenceType for next item.
try
{
Clear-Variable -Name gppWithCpassword -ErrorAction SilentlyContinue
Clear-Variable -Name preferenceType -ErrorAction SilentlyContinue
}
catch [Exception]{}
}
}
if ($gppWithCpassword -ne $null)
{
# Build GPO name from GUID extracted from filePath
$guidRegex = [regex]"\{(.*)\}"
$match = $guidRegex.match($fileFullPath)
if ($match.Success)
{
$gpoGuid = $match.groups[1].value
$gpoName = $gpoGuid
}
else
{
$gpoName = "Unknown"
}
if($isGPModuleAvailable -eq $true)
{
try
{
$gpoInfo = Get-GPO -Guid $gpoGuid -ErrorAction Continue
$gpoName = $gpoInfo.DisplayName
}
catch [Exception] {
Write-Host $_.Exception.Message
}
}
# display prefrences that contain cpassword
foreach ( $gpp in $gppWithCpassword )
{
if ( $preferenceType -eq "Drive Maps" )
{
$prefLocation = $category + $driveMapPath + $preferenceType
}
else
{
$prefLocation = $category + $commonPath + $preferenceType
}
$obj = New-Object -typeName PSObject
$obj | Add-Member –membertype NoteProperty –name GPOName –value ($gpoName) –passthru |
Add-Member -MemberType NoteProperty -name Preference -value ($gpp.Name) -passthru |
Add-Member -MemberType NoteProperty -name Path -value ($prefLocation)
Write-Output $obj
}
} # end if $gppWithCpassword
} # end foreach $file
} # end functions Enum-PoliciesWithCpassword
#-----------------------------------------------------------------------------------
# Check whether Path is valid. Enumerate all settings that contain cpassword.
#-----------------------------------------------------------------------------------
if (Test-Path $Path )
{
Enum-SettingsWithCpassword $Path
}
else
{
Write-Warning "No such directory: $Path"
}



การใช้ตัวอย่าง (สมมติว่า ไดรฟ์ระบบถูก C)

.\Get-SettingsWithCPassword.ps1 –path “C:\Windows\SYSVOL\domain” | Format-List
หมายเหตุ  โปรดทราบว่า คุณสามารถกำหนดเป้าหมายใด ๆ GPO สำรองสำหรับเส้นทางแทนโดเมน.

สคริปต์การตรวจหารายการสร้างรายการที่มีลักษณะต่อไปนี้:



สำหรับรายการยาว พิจารณาการบันทึกผลลัพธ์ไปยังแฟ้ม:

.\Get-SettingsWithCPassword.ps1 –path “C:\Windows\SYSVOL\domain” | ConvertTo-Html > gpps.html

เอาการกำหนดลักษณะของ CPassword

เมื่อต้องการเอาการกำหนดลักษณะที่ประกอบด้วยข้อมูล CPassword เราแนะนำให้ คุณใช้กลุ่มนโยบายจัดการคอนโซล (ของ gpmc ได้จาก) บนตัวควบคุมโดเมน หรือ จากไคลเอนต์ที่มีเครื่องมือดูแลเซิร์ฟเวอร์ระยะไกลที่ติดตั้ง คุณสามารถเอาการกำหนดลักษณะใด ๆ ในขั้นตอนที่ห้าในคอนโซลเหล่านี้ เมื่อต้องการทำเช่นนี้ ให้ทำตามขั้นตอนเหล่านี้

  1. ในของ gpmc ได้จาก เปิดการกำหนดลักษณะที่ประกอบด้วยข้อมูล CPassword

  2. เปลี่ยนแปลงการดำเนินการการลบหรือปิดการใช้งานตามความเหมาะกับการกำหนดลักษณะ

  3. คลิกตกลงเพื่อบันทึกการเปลี่ยนแปลงของคุณ

  4. รอสักครู่สำหรับหนึ่ง หรือสองนโยบายกลุ่มฟื้นฟูรอบการอนุญาตให้เปลี่ยนแปลงเพื่อเผยแพร่ไปยังไคลเอนต์

  5. หลังจากที่มีใช้การเปลี่ยนแปลงบนไคลเอ็นต์ทั้งหมด ลบการกำหนดลักษณะ

  6. ทำซ้ำขั้นตอนที่ 1 ถึง 5 ตามที่จำเป็นในการทำความสะอาดสภาพแวดล้อมของคุณทั้งหมด เมื่อสคริปต์ตรวจหาส่งกลับผลลัพธ์เป็นศูนย์ คุณทำเสร็จแล้ว

ชื่อแฟ้ม

แฮช SHA1

แฮช SHA256

Windows6.0-KB2928120-ia64.msu

B2A74305CB56191774BFCF9FCDEAA983B26DC9A6

DCE8C0F9CEB97DBF1F7B9BAF76458B3770EF01C0EDC581621BC8C3B2C7FD14E7

Windows6.0-KB2928120-x64.msu

386457497682A2FB80BC93346D85A9C1BC38FBF7

1AF67EB12614F37F4AC327E7B5767AFA085FE676F6E81F0CED95D20393A1D38D

Windows6.0-KB2928120-x86.msu

42FF283781CEC9CE34EBF459CA1EFE011D5132C3

016D7E9DBBC5E487E397BE0147B590CFBBB5E83795B997894870EC10171E16D4

Windows6.1-KB2928120-ia64.msu

5C2196832EC94B99AAF9B074D3938525B7219690

9958FA58134F55487521243AD9740BEE0AC210AC290D45C8322E424B3E5EBF16

Windows6.1-KB2928120-x64.msu

EA5332F4E289DC799611EAB8E3EE2E86B7880A4B

417A2BA34F8FD367556812197E2395ED40D8B394F9224CDCBE8AB3939795EC2A

Windows6.1-KB2928120-x86.msu

7B7B6EE24CD8BE1AB3479F9E1CF9C98982C8BAB1

603206D44815EF2DC262016ED13D6569BE13D06E2C6029FB22621027788B8095

Windows8-RT-KB2928120-x64.msu

E18FC05B4CCA0E195E62FF0AE534BA39511A8593

FCAED97BF1D61F60802D397350380FADED71AED64435D3E9EAA4C0468D80141E

Windows8-RT-KB2928120-x86.msu

A5DFB34F3B9EAD9FA78C67DFC7ACACFA2FBEAC0B

7F00A72D8A15EB2CA70F7146A8014E39A71CFF5E39596F379ACD883239DABD41

Windows8.1-KB2928120-x64.msu

A07FF14EED24F3241D508C50E869540915134BB4

6641B1A9C95A7E4F0D5A247B9F488887AC94550B7F1D7B1198D5BCBA92F7A753

Windows8.1-KB2928120-x86.msu

DE84667EC79CBA2006892452660EB99580D27306

468EE4FA3A22DDE61D85FD3A9D0583F504105DF2F8256539051BC0B1EB713E9C

Windows8.1-KB2961899-x64.msu

10BAE807DB158978BCD5D8A7862BC6B3EF20038B

EC26618E23D9278FC1F02CA1F13BB289E1C6C4E0C8DA5D22E1D9CDA0DA8AFF51

Windows8.1-KB2961899-x86.msu

230C64447CC6E4AB3AD7B4D4655B8D8CEFBFBE98

E3FAD567AB6CA616E42873D3623A777185BE061232B952938A8846A974FFA7AF


ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ

ชุมชนช่วยให้คุณถามและตอบคําถาม ให้คําติชม และรับฟังจากผู้เชี่ยวชาญที่มีความรู้มากมาย

ข้อมูลนี้เป็นประโยชน์หรือไม่

คุณพึงพอใจกับคุณภาพภาษาเพียงใด
สิ่งที่ส่งผลต่อประสบการณ์ใช้งานของคุณ
เมื่อกดส่ง คำติชมของคุณจะถูกใช้เพื่อปรับปรุงผลิตภัณฑ์และบริการของ Microsoft ผู้ดูแลระบบ IT ของคุณจะสามารถรวบรวมข้อมูลนี้ได้ นโยบายความเป็นส่วนตัว

ขอบคุณสำหรับคำติชมของคุณ!

×