Category Archives: Windows 10

reset password windows command

  1.  open windows login
  2. Shif   +   menu  Restart
  3. computer  login safe mode
  4. click  Troubleshoot   Reset your PC or see advanced options
  5. click   Advanced options
  6. click  Command Prompt     Use the Command Prompt for advanced troubleshooting
  7. copy  C:\Windows\System32\Utilman.exe  c:\Windows\System32\Utilman.exebak
  8. copy  c:\Windows\system32\cmd.exe  c:\Windows\system32\Utilman.exe /y
  9. exit   reboot

How to Ping Specific Port Number in Windows

Ping a Port Using PowerShell

PowerShell is a text-based shell that comes with Windows by default.

To ping a port using PowerShell, follow these steps:

1. Search for “PowerShell” in the start menu. Click the Windows PowerShell app.

2. In the PowerShell prompt window enter

Test-NetConnection <address> -p <port_number>

Windows Enable the hidden Administrator account Command Prompt

  1. When Command Prompt starts, run net user administrator /active: yes command. By doing so you’ll unlock the administrator account.
  2. Now log off of your account and switch to the newly enabled Administrator account. From there you should be able to access your files without any problems.
  3. After you’re done using the Administrator account, go back to your main account and start Command Prompt as administrator again. Now enter net user administrator /active: no to disable the Administrator account.

Continue reading

Windows Copy directory from command line

Windows has two command line utilities to copy files/directories from command line. Copy command can be used to copy files from one folder to another folder. It can’t be used to copy a complete folder to another location on the disk. Xcopy allows us to do this. Let’s see how we can copy a directory along with all the files and sub directories to another location.

Xcopy /E /I SourceFolder DestinationFolder

Continue reading

Test Mode windows 10 คืออะไร

Test Mode windows 10 คืออะไร

      ข้อความนี้ (Test Mode windows 10) จะปรากฏขึ้นเนื่องจากคอมพิวเตอร์ของคุณกำลังทำงานในโหมดทดสอบ Microsoft เพิ่มโหมดทดสอบลงใน Windows เพื่อที่ผู้ใช้จะสามารถทดสอบโปรแกรมได้โดยไม่ต้องแสดงใบรับรองการตรวจสอบความถูกต้อง ซึ่งมีมาตั้งแต่ Windows 7 แล้ว

ขั้นตอนการปิด Test Mode

1. เปิด CMD ด้วยโหมด Admin
2. พิมพ์คำสั่ง bcdedit -set TESTSIGNING OFF  แล้วกด Enter
3.รีคอมพิวเตอร์ 1 ครั้ง หลังจากนั้นลายน้ำ Test Mode ก็จะหายไปแล้วครับ

หากต้องการ  ทอสอบ Test Mode 

1. เปิด CMD ด้วยโหมด Admin
2. พิมพ์คำสั่ง bcdedit -set TESTSIGNING ON  แล้วกด Enter
3.รีคอมพิวเตอร์ 1 ครั้ง หลังจากนั้นลายน้ำ Test Mode ก็จะทำงาน แสดงในหน้าจอ

IIS Redirect HTTP to HTTPS

Setting up an HTTP/HTTPS redirect in IIS

Once the SSL certificate is installed, your site still remains accessible via a regular insecure HTTP connection. To connect securely, visitors must specify the https:// prefix manually when entering your site’s address in their browsers.

In order to force a secure connection on your website, it is necessary to set up a certain HTTP/HTTPS redirection rule. This way, anyone who enters your site using a link like “yourdomain.com” will be redirected to “https://yourdomain.com” or “https://www.yourdomain.com” (depending on your choice) making the traffic encrypted between the server and the client side.

Below are steps to setup a IIS HTTPS redirect: Continue reading

วิธีการ Import SSL Certificate บน Windows Server 2008 ขึ้นไป

1. ต้องมีไฟล์ Import ที่เป็นนามสกุล .pfx เสียก่อน

2. เข้าสู่ Microsoft Management Console (MMC) โดยไปที่ run >> mmc

4.png

Continue reading

วิธีการ Export SSL Certificate และ Privatekey บน Windows Server 2008 ขึ้นไป

สำหรับเครื่อง Windows Server กรณีต้องการนำ SSL Certificate ที่ติดตั้งแล้ว ไปติดตั้งบนเครื่องอื่นเพิ่มเติม ต้องใช้วิธีการ Export จากเครื่องหลัก แล้วไป Import ในเครื่องที่ต้องการใช้งาน SSL ต่อไป โดยวิธีการ Export สามารถดำเนินการได้ดังนี้

1. ไปที่เครื่องที่หลักที่ได้ทำการติดตั้ง SSL Certificate สมบูรณ์แล้ว พร้อมที่จะนำไปใช้งานกับเครื่องอื่นๆ ได้โดยไม่มีปัญหาใดๆ โดยทำการเข้าสู่ Microsoft Management Console (MMC) โดยไปที่ run >> mmc

4.png

Continue reading

วิธีการเปิด-ปิด Protocol ต่างๆใน Window Server

1. เปิด Registry Editor ด้วยสิทธิ์ Administrator โดยไปที่ส่วนค้นหา ที่ Start Menu และพิมพ์หา regedit.exe หลังจากนั้นให้ทำการคลิ๊กขวาที่ Icon ดังกล่าว เลือก Run Adminsitrator

2. ในส่วนของ Registry Editor ไปที่ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\

Continue reading