A program that can disable USB storage devices (setupapi usage)
A program that can disable USB storage devices (setupapi usage)
Author: WY. lslrt
Environment: XP SP1 DDKThis program uses setupapi and the cm_xx function family in DDK to enumerate, query, and control devices. The following is a description of the setupapi function used, followed by the program code. This program can actually
How can I Disable Windows XP system restoration?
"System Restore" is a function of Windows XP, similar to "Last correct configuration" in Windows NT and Windows 2000 ". You can use the "System Restore" function to restore the system to its previous state by backing up the selected system files and program files. However, the "Last correct configuration" is to restore the computer to a Windows-ready state, while "System Restore" allows you
based on the software interrupt command number. second, write the C language service function for the corresponding command number. the following is an example of how to use a software interrupt to enable or disable the gateway.
Step 1: Change the startup code
The startup code of the Keil MDK is similar to the following statement:
Vectors ldr pc, reset_addrLdr pc, undef_addrLdr pc, swi_addrLdr pc, pabt_addrLdr pc, dabt_addr
The blue statement is the
. conf
Turn off the Linux bell
1. Close the bell in shell.Disable vi/etc/inputrcAdd set bell-style = noneSet bell-style noneSet bell-style offDisable User vi ~ /. InputrcAdd set bell-style = none
2. Disable the rings in vi and vim.Vi/etc/vimrcVi/etc/vircOpen the above two files and addSet vb t_vb =
In the X Window System, you can use the xset command as follows:Xset B off(Enter xset and press enter to obtain the xset Command Option)
In the linux conso
Disable iptables and selinux when you configure LNMP and samba. it was previously used to solve the problem, and it was disabled for whatever reason, so as to avoid trouble. If this problem occurs in the past few days, I would like to return and ask: 1. if a simple lnmp production server is set up, shut them down... disable iptables and selinux when you configure LNMP and samba. it was previously used to so
Down the AppDomain, a solution is also proposed in the article, but the approach is too complicated. The ideal solution is to have related patches to solve the problem. Fortunately, we can find the patch here and introduce how to configure it to solve the problem.
Solution: The mechanism for deleting or renaming the monitoring directory is File Change configurations (FCNs). This patch is used to set the switch for disabling or enabling FCNS, we only need to
From: http://roln.cn/2008/08/27/lamp/ecshop-memcache/
The cache of ecshop is stored in the templates/caches/Article folder. After a long time, this folder will be very large and slow down the website speed. In many cases, we do not need the cache. This topic describes how to disable ecshop cache.
Ecshop cache includes two parts: the smarty page cache and the SQL query result cache. These two parts are saved in the templates/caches/folder. As long as
Source: http://www.17nc.com
Windows 2000 has a longer start time than Windows 98 and me, especially when there is only 64 MB of memory. You will see that your hard disk keeps reading and writing at startup, at this time, Windows 2000 is loading many service components. If you only use Windows 2000 on a single machine and are not connected to any LAN, there are actually many service components that are not required at all, of course, the additional service programs have slowed down the system sp
Disable firewall in CentOS 7.0
CentOS 7.0 uses firewall as the firewall by default. You must reset it when using iptables.
1. Directly disable the Firewall
Systemctl stop firewalld. service # stop firewall
Systemctl disable firewalld. service # disable firewall startup
2. Set iptables service
Yum-y install iptabl
Disable sendmail with system startupHow To Disable sendmail with system startup
Previously, when deploying the wasnd environment in centos, it took several minutes to start sendmail. However, sendmail was not used at all, so I disabled it with system startup.
Disable sendmailService sendmail stop
Disable sendmai
Sendmail is the most important mail transmission agent. Understanding the working mode of email is very important. Generally, the email program is divided into user agents, transmission agents, and delivery agents. The specific command to Disable Sendmail is as follows:
Disable sendmail
1) [root @ sample ~] #/Etc/rc. d/init. d/sendmail stop messages disable t
With the help of the system's built-in settings, the USB is disabled, so that no one has the opportunity to use U disks, mobile hard disks, and other rotating in their own computers, thus achieving the goal of self-protection. The method to block all USB storage devices out of the door is simple: Press win + R to open the run dialog box, enter regedit, and press enter to openRegistryEditor, expand to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ usbstor in sequence. If the START
RedHat 5 Disable Ipv6
IPv6 has not been fully popularized yet, but IPv6 is effective after the system is installed, which affects network performance to a certain extent. Therefore, we recommend that you disable IPv6. Now we will describe how to disable it in the complete steps in this article.
1. Modify/etc/sysconfig/network and change the second line to no:
NET
Disable auto completion and Input Method favorites in HTML
IE provides an Automatic completion function to remember the input content (such as the login account), so that you can quickly enter similar information next time. this is indeed a very friendly feature. during operation, you only need to double-click the text box or enter the first few characters. The system will automatically list the previous input history for you to choose from, this grea
Under certain conditions, you may need to avoid verification. For example, you may have a page that can be sent even if the user does not correctly fill in all verification fields. You can setASP. NETServer Control, instead of client verification.
Security description: By default, ASP. NET The webpage performs request verification to ensure that the user input content does not contain scripts or Html Element. You can explicitly disable this fu
Enable Nginx to disable the version display information. Nginx will display a highlighted version number prompt in the http header or when an error page appears. To ensure security, you can disable this information. The method is very simple, just in nginx. the server_tokens parameter is added to the http {of conf, for example... enable Nginx to disable the versi
In earlier versions, the command to disable services such as firewall is serviceiptablesstop/etc/init. d/iptablesstop in RHEL7. In fact, this service does not exist [root @ rhel7 ~]. # Cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrel
In earlier versions, the command to disable services such as firewall is
Service iptables stop
/Etc/init. d/iptables stop
In RHEL7, there is actually no such service
[Root
Check what services are running on the port lsof-I: 123. this 123 indicates the port number you want to view. disable ports not commonly used in LINUX and disable Port 111/etc/init. d/portmapstop close port 25/etc/init. d/sendmailsdrop disable port 631/etc/init. d/cupsstop close 9... view the services running on the port
Lsof-I: 123 this 123 represents the port n
In the XP system, if you insert a mobile device, such as a USB flash drive or a mobile hard disk, the system will automatically search for media files and play back the files. If you want to disable the automatic playback function of Windows XP at one time, follow these steps:
1. Click Start> Run. In the open box, type gpedit. MSC and click OK to open the Group Policy window;
2. In the left pane, under "Local Computer Policy", expand "Computer Confi
There are two methods for C to disable socket: 1. Shutdown # Include Int Shutdown (INT sockfd, int how ); There are three methods for how: Shut_rd (0): Disable the READ function on sockfd. This option does not allow sockfd to perform read operations. Shut_wr (1): Disable the FD write function. This option does not allow FD to write. Shut_rdwr (2):
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.