คลิกขวาที่ addd “cmd_here” และคลิกขวาที่ addd “PowerShellAsAdmin”

คลิกขวาที่เพิ่ม “cmd_here” 

โปรแกรมแก้ไขรีจิสทรี Windows เวอร์ชัน 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here]

@=”cmd_ที่นี่”

“ไอคอน”=”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here\command]

@=”\”C:\\Windows\\System32\\cmd.exe\””

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\โฟลเดอร์\shell\cmdPrompt]

@=”cmd_ที่นี่”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\โฟลเดอร์\shell\cmdPrompt\คำสั่ง]

@=”\”C:\\Windows\\System32\\cmd.exe\” \”ซีดี %1\””

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_ที่นี่]

@=”cmd_ที่นี่”

“ไอคอน”=”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here\command]

@=”\”C:\\Windows\\System32\\cmd.exe\””

คลิกขวาที่เพิ่ม “PowerShellAsAdmin”

โปรแกรมแก้ไขรีจิสทรี Windows เวอร์ชัน 5.00

สร้างโดย: Shawn Brink
; สร้างเมื่อ : 13 สิงหาคม 2559
; ปรับปรุงล่าสุด: 20 ธันวาคม 2566
บทช่วยสอน: https://www.tenforums.com/tutorials/60177-add-open-powershell-window-here-administrator-windows-10-a.html

[HKEY_CLASSES_ROOT\ไดเรกทอรี\พื้นหลัง\shell\PowerShell เป็น Admin]
@=”เปิดหน้าต่าง PowerShell ที่นี่ในฐานะผู้ดูแลระบบ”
“ขยาย”=-
“HasLUAShield” =””
“ไอคอน” = “powershell.exe”

[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin\คำสั่ง]
@=”cmd /c reg add hkcu\\software\\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\”\\\”\\\”(ค่าเริ่มต้น)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[HKEY_CLASSES_ROOT\ไดเรกทอรี\shell\PowerShell เป็น Admin]
@=”เปิดหน้าต่าง PowerShell ที่นี่ในฐานะผู้ดูแลระบบ”
“ขยาย”=-
“HasLUAShield” =””
“ไอคอน” = “powershell.exe”

[HKEY_CLASSES_ROOT\Directory\shell\PowerShellAsAdmin\คำสั่ง]
@=”cmd /c reg add hkcu\\software\\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\”\\\”\\\”(ค่าเริ่มต้น)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[HKEY_CLASSES_ROOT\ไดรฟ์\shell\PowerShell เป็นผู้ดูแลระบบ]
@=”เปิดหน้าต่าง PowerShell ที่นี่ในฐานะผู้ดูแลระบบ”
“ขยาย”=-
“HasLUAShield” =””
“ไอคอน” = “powershell.exe”

[HKEY_CLASSES_ROOT\ไดรฟ์\shell\PowerShellAsAdmin\คำสั่ง]
@=”cmd /c reg add hkcu\\software\\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\\software\\_dir).\\”\\\”\\\”(ค่าเริ่มต้น)\\\”\\\”\\\”; ri hkcu:\\software\\_dir'”

[-HKEY_CLASSES_ROOT\โฟลเดอร์ไลบรารี\พื้นหลัง\shell\PowerShell เป็นผู้ดูแลระบบ]

เพื่อให้สามารถใช้ไดรฟ์ที่แมปใน PowerShell ที่ได้รับการยกระดับได้
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ระบบ]
“เปิดใช้งานการเชื่อมต่อที่เชื่อมโยง” = dword: 00000001

 

โปรโตคอล ModBus ในเราเตอร์อุตสาหกรรม
- กระทู้ก่อนหน้า 11/30/2024 14:25
วิธีการเลือกโปรโตคอล VPN ที่เหมาะสม
กระทู้ถัดไป - 11/30/2024 14:25
thThai