Friday, August 04, 2017

Disable or Turn Off Cortana in Windows 10 via Registry or Group Policy

You can disable or turn off Cortana in Windows 10 Anniversary Update by tweaking the Windows Registry or configuring Group Policy settings. We have seen how to disable Cortana or Hide the Search bar in Windows 10, now let us see how to do it using the Registry Editor or Local Group Policy Editor.

Turn Off Cortana using Group Policy



Type gpedit.msc in the taskbar search bar and hit Enter to open the Local Group Policy Editor.
Navigate to the following settings:
Computer Configuration > Administrative Templates > Windows Components > Search.
Double-click on Allow Cortana to open its settings box.
This policy setting specifies whether Cortana is allowed on the device. If you enable or don’t configure this setting, Cortana will be allowed on the device. If you disable this setting, Cortana will be turned off. When Cortana is off, users will still be able to use search to find things on the device and on the Internet.
Set the settings to Disabled, click Apply and Exit.

Disable Cortana using Registry

If your Windows does not ship with Group Policy, type regedit in the taskbar search and hit Enter to open the Registry Editor.
Navigate to the followig key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Now in the left pane, right-click on Windows Search key and select New > DWORD (32-it) Value.  You will it formed in the left pane. Give this newly created DWORD value a name AllowCortana and set its value to 0 to disable the feature.


To enable Cortana again, you may delete this AllowCortana value or change it from 0 to 1.
UPDATE: Andrew Rodecki from Elkhart contacted me and mentioned that the path for creating the AllowCortana DWORD. It is now:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search

So you may want to try and see if that works for you.

Nguồn:"http://www.thewindowsclub.com/disable-turn-off-cortana-windows-10"

Tuesday, July 18, 2017

Fix lỗi "Logged on with a Temporary Profile" trong Windows 7

Khi máy tính của bạn hiển thị thông báo lỗi: "Logged on with a Temporary Profile" ở phía dưới góc phải màn hình, để sửa được lỗi này bạn cần phải truy cập vào Registry và chỉnh sửa một số thông tin.
Lỗi Logged on with a Temporary Profile xuất hiện gây cản trở quá trình sử dụng máy tính của bạn. Vậy làm sao để khắc phục lỗi này trên máy tính dùng hệ điều hành Win 7. Bài viết dưới đây của Taimienphi.vn sẽ giúp bạn sửa lỗi Logged on with a Temporary Profile, lưu ý cần sao lưu Registry để tránh trường hợp mất dữ liệu trên máy tính.

Fix lỗi "Logged on with a Temporary Profile" trong Windows 7
Nếu máy tính của bạn xuất hiện lỗi "Logged on with a Temporary Profile" như dưới đây, bạn có thể thực hiện theo các bước sau để khắc phục.


Bước 1: Từ nút Start bạn nhập từ khóa “regedit” vào ô tìm kiếm rồi nhấn Enter từ bàn phím


Bước 2: Bạn tìm đến từ khóa sau:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Tại đây bạn tìm đến thư mục bên tay trái bắt đầu bằng S-1-5 (SID key) và đằng sau là một chuỗi các ký tự dài và kết thúc bằng “.bak”


Bước 3: Tại đây bạn phải chuột vào thư mục đó rồi chọn “Rename” sau đó xóa phần “.bak” đi


Bước 4: Vẫn tại thư mục đó, bạn DoubleClick vào “RefCount” phía bên phải rồi nhập “0” vào ô “Value Data” sau đó Click “OK”


Bước 5: Cũng tương tự như trên, bạn DoubleClick vào State rồi nhập “0” vào ô “Value Data” sau đó Click “OK”



Bước 6: Đóng cửa sổ “Regedit” lại sau đó khởi động lại máy tính thì sẽ không hiển thị thông báo như trên nữa.

Nguồn:"http://thuthuat.taimienphi.vn/fix-loi-logged-on-with-a-temporary-profile-trong-win-7-1186n.aspx"

Monday, July 17, 2017

Map thư mục giống như một ổ đĩa

Đó là lệnh subst. Chỉ cần thực hiện lệnh subst, gán đường dẫn thư mục bạn muốn hiện dưới dạng một ổ đĩa.
Ví dụ, bạn muốn thư mục C:\Windows\Fonts biến thành ổ đĩa Q:. Chỉ cần thực thi lệnh subst q: c:\windows\fonts. Thủ thuật Command Prompt này khiến việc truy cập vào một vị trí cụ thể từ Command Prompt dễ dàng hơn.

Mẹo: Cách dễ dàng để xóa, ví dụ "network drive", là dùng lệnh subst /d q:. Chỉ cần thay thế q: bằng ký tự ổ đĩa của bạn.
 Nguồn :"https://quantrimang.com/21-thu-thuat-command-prompt-co-the-ban-chua-biet-137984"

Tuesday, July 11, 2017

How To Change The Way Users Logon To Windows 7

NOTE 1:
You must have administrative privileges.
NOTE 2:
This is only one of several methods of accomplishing this task.
1.
From the Start menu, select Control Panel.
2.
Select System Maintenance.
3.
Select Administrative Tools.
4.
Select Local Security Policy.  This will open the Local Security Policy editor.
5.
In the Local Security Policy editor, you will see two panes, one on the left with tree-view navigation and one on the right which will have the actual definitions and items to edit.
6.
On the left side, open the item labeled Local Policies.
7.
Select Security Options.
8.
Switch to the right pane and Double-Click the item labeled Interactive Logon Do Not Display Last Username.
9.
Place a Checkbox in the Enable box and Click enable
10.
Restart Windows 7 and you will be prompted for both a username and password.
 Nguồn: "http://mark.candleshoreblog.com/2009/01/26/how-to-change-the-way-users-logon-to-windows-7/"

Wednesday, May 03, 2017

How to fix “Windows cannot connect to printer” Errors in Windows 7

You can request the hotfix if you really want to, or even wait for Windows 7 SP1, but the “workaround” is so simple that there’s no point in trying the other options:
  1. Go to the C:\Windows\system32\ directory and find the file “mscms.dll
  2. Copy that file to:
    • C:\windows\system32\spool\drivers\x64\3\ if you are using 64-bit Windows 7
    • C:\windows\system32\spool\drivers\w32x86\3\ if you are using 32-bit Windows 7 
     nguon: "https://scottiestech.info/2010/09/21/how-to-fix-windows-cannot-connect-to-printer-errors-in-windows-7/"

Thursday, October 09, 2014

COMMAND LINE - LỆNH TRONG LINUX

Ghi chú:
- Nội dung trong dấu [] phải được cụ thể khi thực hiện lệnh
ví dụ: #hostname [tên mới] thì khi chạy lệnh phải là #hostname Server

A. LỆNH HỆ THỐNG
1. Logout máy (logout computer)
#exit hoặc #logout hoặc Ctrl + D

2. Khởi động máy (reboot computer)
#reboot hoặc #init-6 hoặc #shutdown -r - now

3. Tắt máy (shutdown)
#poweroff hoặc #init 0 hoặc #shutdown -t -now

4. Xem tên máy tính (show computername)
#hostname

5. Đổi tên máy tính tạm thời (rename computername temporarity)
#hostname [tên mới]

6. Xem user hiện hành
#whoami

7. Xem thông tin user hiện hành
#finger

8. Thay đổi thông tin user hiện hành
#chfn

9. Xem lại user đang login
#who hoặc #w

10. Xem terminal hiện hành
#tty

11. Chuyển qua terminal khác
Alt+F1 đến Alt+F6 (máy ảo)
Alt+Ctrl+F1 đến Alt+Ctrl+F6 (máy thật)

12. Xem trợ giúp lệnh
#man [tên lệnh]

13. Xem danh sách các lệnh đã gõ
#history

14. Xem thời gian
#date

15. Xem lịch
#cal

16. Xem địa chỉ IP
#ifconfig

17. Đặt IP tạm thời
#ifconfig eth0 [ip] netmask 255.255.255.0

18. Disable card mạng
#ifconfig eth0 down

19. Enable card mạng
#ifconfig eth0 up

20. Xem bảng routing
#route -n hoặc #netstat -rn

21. add default gateway
#route add default gw [IP]

22. delete default gateway
#route delete default gw [IP]

23. Kiểm tra kết nối đến máy khác
#ping [ip gateway]

24. Xem thông tin DNS
#more /etc/resolv.conf

25. Khởi động chế độ đồ họa (Start graphic mode)
#startx

26. Chuyển đổi giữa các user
#su -[tên user]

27. Tạo user
#useradd [tên user]

28. Xem danh sách các tiến trình của hệ thống
#top

29. Chuyển lệnh chạy ở chế độ background
#[command]&

30. Điều khiển job - liệt kê các job đang hoạt động
#jobs

31. Chuyển background sang foreground
#fg [number]

32. Biến môi trường (chứa thông tin của hệ thống)
- Xem
#env hoặc #printenv

- In
#echo $[tên]

- Cài đặt
#rpm=[tên]
#export rpm=[tên]

- Gỡ bỏ
#unset [tên]

B. LỆNH VỚI TẬP TIN, THƯ MỤC
1. Tạo thư mục
#mkdir [name]
ví dụ: #mkdir Soft

2. Liệt kê thư mục
#ls

3. Xem đường dẫn thư mục hiện hành
#pwd

4. Chuyển đổi thư mục
#cd [tên thư mục]
ví dụ: #cd /Soft

5. Xóa thư mục rỗng
#rmdir [tên thư mục]
ví dụ: #rmdir Soft

6. Xóa thư mục không rỗng
#rm -rf [tên thư mục]

7. Đổi tên thư mục
#mv [tên cũ] [tên mới]

8. Sao chép thư mục
#cp [tên thư mục] [đường dẫn mới]

9. Đọc nội dung tập tin
#cat [tên tập tin] hoặc #more [tên tập tin] hoặc #less [tên tập tin]

10. Xem nội dung tập tin
#head [tên tập tin] hoặc #tail [tên tập tin]

11. Tạo file rỗng
#touch [tên file]
      Nguồn: "https://sites.google.com/site/xuannangit/command-line---lenh-trong-linux"