Tips for using the registry under Windows _ Registry

Source: Internet
Author: User
Tags anonymous

Author: Alpine

Wix9x to prevent anonymous users from logging in

Although "Win9x" can customize each user interface and specify a password, anyone can enter the system by clicking "Cancel" in the login window or by pressing "ESC", the so-called anonymous login. The following methods prevent anonymous users from logging on: Choose Run from the Start menu, type the regedit command in the Run Command dialog box, and press ENTER. Open the Registry Editor. Under HKEY_LOCAL_MACHINE \network \logon, create a new "DWORD" type "mustbevalidated" with a value of 1.

(Attached: If you can't get in, you can enter in Safe mode and change the value to 0.) )

Second, screen "Start" menu "Run", "find", "Turn off system function"

Create a new three "DWORD" value in HKEY_CURRENT_USER \ Software \microsoft \ Windows \currentversion\policies \explorer with the name "NoRun" (masked) running ")," Nofind "(Mask" find ")," Noclose "(Shield shut down system), its value is set to" 1 ", after the system is restarted to perform the" Run "and" Shut down system "command when the prompt action is restricted and canceled, and you will find the" Start "menu of the" Find "option is not, To restart its settings, you can delete the corresponding key or set the key value to "0".


Screen the disk drive icon in My Computer

In a multiuser operating environment, you can set different disk drive icons for different users, which restricts the operation rights of various users.

Open HKEY_CURRENT_USER \software \microsoft \ Windows \currentversion\policies \explores Branch, Under this branch the NoDrives key value name provides convenience for different users to set different disk drive icons, and the default key value is 0x00000000. The NoDrives key value is four bytes, each byte of each bit corresponds to a letter (a:--z:), the first letter represents a: to H: Eight disks, such as: 01 for a:,02 b:,04 for C: ... 80 is H:. And so on, the second letter represents I: to P:; The third byte represents Q: to x:; the fourth byte represents y: and Z:. Therefore, when the corresponding bit is 1 o'clock, when you open "My Computer", you will never see the corresponding disk. For example, to turn off the C: disk, simply right-click the NoDrives key value name and choose Modify from the shortcut menu to change its key value to 04000000; To turn off D: Disk, change the key value to 08000000; To turn off C: and D:, change this key value to 0c000000 ; To hide all the drive ffffffff.

Iv. Disabling MS-DOS mode

Although all of the drives are hidden in my computer, users can still access each drive using MS-DOS, so for security reasons, we also have to prohibit the use of MS-DOS by ordinary users, with the following steps:

Open the HKEY_CURRENT_USER \software \microsoft \ Windows \currentversion\policies \explores Branch. Under this branch, create a new primary key "Winoldapp", and then a stand-alone "Winoldapp" primary key. Create a new DWORD value "Disabled" in the right window and double-click the "Disabled" key to enter "1" in the Key Value box of the pop-up dialog box. To prevent users from entering the restart computer to MS-DOS mode when they restart the computer, the HKEY_CURRENT_USER \software \microsoft \ Windows \currentversion\policies \ In the right window of the explores branch, create a DWORD key value "Norealmode" key value, enter 1 in the Key Value box in the pop-up dialog box.

Five, lock desktop

Desktop settings include, for example, wallpaper, icons, and shortcuts, and after careful selection, we do not want others to arbitrarily modify the desktop settings or delete shortcuts at random. Modify the registry, no matter how others change, just restart the computer, your original settings will appear intact in front of you.

Open the Hkey \users \default \software \microsoft \ Windows \currentvsersion \policies branch. Double-click "No Save Setting" and change its key value from 0 to 1.

Six, set two IP addresses for a single machine

In general, you can configure only one IP address for one network adapter, but by modifying the system registry, you may configure multiple IP addresses for one NIC:

Open HKEY_LOCAL_MACHINE \system \CurrentControlSet \services \class \NetTrans, where you can see multiple names 0000, 0001, 0002 ... Directories that are used to record the installation of the Protocol. Find DriverDesc in the middle of the "TCP/IP" directory, modify IPAddress and IPMask two keys. Where IPAddress is a comma-separated number of IP addresses, IPMask is the corresponding subnet mask. For example, when setting IPAddress to "192..168.0.230,192.168.0.102" and IPMask to "255.255.255.0,255.255.255.0", Indicates that two IP addresses have been set for the system 192.168.0.230 and 192.168.0.102

How is it interesting ah, you have any good technology please share with me gaoshan333333@163.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.