Category Archives: Windows 10

เปิดแชร์ WiFi จากโน๊ตบุ๊คใน Windows ให้มือถือหรือคอมพิวเตอร์

สำหรับใน Windows 10 ที่เป็นเวอร์อัพเดทล่าสุด (V1607) จากทาง Microsoft จะช่วยให้สามารถแชร์ WiFi ได้ง่ายขึ้น เพราะจะมีฟังก์ชั่น “Mobile hotspot” ที่ตั้งค่าได้เพียงไม่กี่คลิก สำหรับใครที่ยังไม่อัพเดทก็คลิกดู วิธีอัพเดท Windows 10 Anniversary ตามลิ้งค์ครับ หรือ สำหรับคนที่ยังไม่ต้องการอัพเดท Windows 10 เป็นแบบล่าสุดก็สามารถทำตามขั้นตอนของ Windows 7 ได้เลยครับ เดียวมาเริ่มใน widows 10 กันเลยครับ

  1. คลิกที่ Start > เลือก Settings ที่จากนั้นเลือกที่หัวข้อ Network & Internet

Continue reading

Remote desktop connection error Windows Server 2012 – CredSSP CVE-2018-0886

error Remote desktop

วิธีแก้ ไขให้ Remost ได้

  • Run gpedit.msc
  • Computer Configuration -> Administrative Templates -> System -> Credentials Delegation -> Encryption Oracle Remediation

Change it to Enable and in Protection level, change back to Vulnerable.

ตามภาพ

 

เสร็จแล้ว ก็ Remote desktop  ดูอีกที  ใช้งานได้แน่นอน

Windows Logoff/Shutdown/Restart ผ่าน Command Line

การ Logoff ผ่าน Command Line

ผู้ใช้สามารถใช้คำสั่ง shutdown พร้อมพารามิเตอร์ -l เพื่อ Logoff ดังนี้

1
shutdown -l

การ Shutdown ผ่าน Command Line

ผู้ใช้สามารถใช้คำสั่ง shutdown พร้อมพารามิเตอร์ -s เพื่อ Logoff ดังนี้

1
shutdown -s

การ Restart ผ่าน Command Line

Continue reading

command xcopy

xcopy c:\ d:\ /h/i/c/k/e/r/y

Use the above command. It will definitely work.

In this command data will be copied from c:\ to D:\, even folders and system files as well. Here’s what the flags do:

  • /h copies hidden and system files also
  • /i if destination does not exist and copying more than one file, assume that destination must be a directory
  • /c continue copying even if error occurs
  • /k copies attributes
  • /e copies directories and subdirectories, including empty ones
  • /r overwrites read-only files
  • /y suppress prompting to confirm whether you want to overwrite a file

You can see a list of flags by running xcopy /?.

Juniper request system storage cleanup (SRX Series)

user login CLI

 

user@host> request system storage cleanup

Note: You can issue the request system storage cleanup dry-run command to review the list of files that can be deleted with the request system storage cleanup command, without actually deleting the files.

Note:

On SRX Series devices, the /var hierarchy is hosted in a separate partition (instead of the root partition). If Junos OS installation fails as a result of insufficient space:

  • Use the request system storage cleanup command to delete temporary files.
  • Delete any user-created files in both the root partition and under the /var hierarchy.

วิธีปิดการทำงาน SMB How to Disable SMB on Windows Machines to prevent WannaCry Ransomware

In light to the recent cyber attack of ransomware which goes by the name “WannaCry” has affected more over 99 countries. This attack is believed to use the exploit tool called “ETERNALBLUE” which was leaked from the NSA, by the hacker group called ShadowBrokers. This tool exploits the vulnerability in the SMB service of the machine to spread and propagate. This document will provide you with the steps that a reader can take to disable the SMB service. By disabling the service the propagation of the virus will stop from spreading.

Please note: Before proceeding further it is strongly advised to take a backup of the machine because you will in some case might require to change the Windows Registry. If the steps are not carefully followed it might even crash the machine.

For Windows 10/8/7

Windows 10 users can disable the SMB feature by following these simple steps:

1. Click on the Search option and search for “Windows Features” and you will see the result as “Turn Windows Feature on and off.”
2. Upon clicking the option, the following screen will be prompted

3.Now untick the ransom1box and click on “Ok”.

Continue reading

Restore or reset Surface Windows

If you’re having trouble with your Surface Pro model, Surface 3, or Surface Book, you may be able to restore or reset it to solve the problem.

Applies to

Surface Studio, Surface Book, Surface Book with Performance Base, Surface Pro 4, Surface Pro 3, Surface 3, Surface Pro 2, Surface Pro.
Continue reading

Converting a SSL certificate in Apache to Windows

Converting a SSL certificate in Apache to Windows

class=”kbcontents” colspan=”2″>If you have multiple servers that need to use the same SSL certificate, such as in a load-balancer environment or using a wildcard or UC SSL certificates, you can convert the certificates and private key to a .pfx file and then import the certificate on Windows server so it can be used in IIS or Exchange. This may also be necessary when you switch hosting companies. We will be going over the exact process with step-by-step instructions in this article. If necessary, you can copy the SSL certificate from a Windows server to an Apache server instead.

We will assume that you have already successfully installed the SSL certificate on the Apache web server. You will follow these steps to move or copy that working certificate to the Windows server:

  1. Convert the individual certificate files and private key to a .pfx file.
  2. Copy the .pfx file to the Windows server.
  3. Import the .pfx file to the Windows store.
  4. Configure your IIS web sites to use the certificate.

Continue reading