Author Archives: administrator

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

เปลี่ยนตัวเลขอารบิก เป็นเลขไทย หรือเปลี่ยเลขไทยเป็นอารบิก ด้วย microsoft word แมโคร (Macros)

หลักการเปลี่ยน ตัวเลยอารบิก เป็นเลขไทยใน Microsoft Word  มีดังนี้  

เปิด Microsoft Word ขี้นมา  แลัวเลือกที่    มุมมอง–>แมโคร  ตามภาพเลย

Continue reading

How to Allow MySQL remote connections in Ubuntu Server 18.04

This tutorial explains how to allow remote connections to the MySQL/MariaDB server on Ubuntu 18.04. The default behavior of the Ubuntu MySQL Server blocks all remote connections. Which prevent us from accessing the database server from the outside.

Note that to allow mysql remote connections we need to edit the MySQL main configuration file. If you are using MariaDB Database server, configuration file going to be “nano /etc/mysql/mysql.conf.d/mysqld.cnf”, If you have installed MySQL Database server configuration file is: “nano /etc/mysql/mysql.conf.d/mysqld.cnf”.

Open the nano /etc/mysql/mysql.conf.d/mysqld.cnf file (or /etc/mysql/mysql.conf.d/mysqld.cnf). Continue reading

How to backup and restore MySQL databases on Linux

1. Back up the database using the following command:

mysqldump -u [username] –p[password] [database_name] > [dump_file.sql]

The parameters of the said command as follows:

[username] – A valid MySQL username.

[password] – A valid MySQL password for the user.

[database_name] – A valid Database name you want to take backup.

[dump_file.sql] – The name of backup dump file you want to generate.

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 ก็จะทำงาน แสดงในหน้าจอ