In the Windows System DOS environment using SC command to remove system service error:[SC] openservice FAILED 1060 , the essential reason is that the system service name and display name is not the same.
For example, to remove the Telnet service, if you use the command:
Copy Code code as follows:
SC Delete "Telnet"
That would be an error. "[
Failure phenomenon:
The new shipment Lenovo Notebook packing list has "the Setup poster V2.0 SC" and "Llwspec flyer V2.0 SC" Two items, for the English abbreviation, the user does not know the corresponding material, its meaning is as follows:
Solution:
1. The "Setup poster V2.0 SC" In the notebook product packing list refers to the "installation instru
Command format
SC command format: SC [Servername] command Servicename [optionname= optionvalues
* The service name is the name of the service itself, not the display name,
Add a space after the *= number before you can write the option name
The SC command has a total of 24 subcommand commands, as shown below
SC Bo
SC in the penetration of the commonly used functions of three, remote implementation of things, remote on/off service, check service information, such as the service EXE path.
1.1 Execute Command (System permissions):
Other Execute command Method reference: http://bra.adminsec.com/security/787.html
SC 10.1.1.1 create Winnt binpath= C:cmd.exe
SC 10.1.1.1 start
SC Design Planning and objectives2015-03the goals of SC design:SC is a simple Directui-based interface library. Design SC, mainly based on personal interests and learning purposes. In my study of C + + in the past few months, will be a little harvest and understanding. I want to improve and consolidate by designing SC.
Sccommand command details (a very useful Commander serves as a command line tool. SC .exe can be used to test your own system. You can set a batch file to use different parameters to call SC .exe to control the service. I. SC uses the following syntax: 1. SC [servername] command servicename [optionname = optionvalues]
There are three tables, Student table SC table and course table;
Student Table: School number SNO, name sname, sex ssex
Course Table: Course number CNO, course name cname, credits Ccredit
SC table: School Number SNO, course number CNO, results grade
Please use SQL statement to query student name and total course credits
(Note: If the course fails, then this course is divided into 0)
Answer:
Select St.
"SC"scom-agent installation -based on Uinx\linux--------uinx\linux---scom-agent installation------For the scom agent installation, there are quite a lot of graphic tutorials on the Internet, why do you want to write it? In fact, there are some other online tutorials are flawed, novice if only look at one of the estimates will be a lot of wall, so re-collation is very necessary. It is in this perspective that only the agent is installed from the client
For example, start Messenger in cmd:
sc config Messenger start= auto
net start Messenger
Auto Auto Demand manual disabled disabled
The above first sentence for the manual to automatically, = number after the space can not be missed, the second sentence is to open the service command
There is a command to view the process in cmd tasklist
TASKLIST [/S system [/u username [/p [password]]]]
[/M [module] |/svc |/v] [/FI Filter] [/FO format] [/NH]
Descr
By calling the Windows SC command, you can add or delete a service in a Windows service or configure the corresponding service to automatically start the application. The following describes how to use the collected SC commands:
SC uses the following syntax:1. SC [servername] command servicename [optionname =
Windows 2003 Server has a SC command (it seems that Windows 2000/XP/NT has this command .) This command can be used to manually create a Windows Service (NT Service)
The following describes the SC command in the Microsoft Help file:
Communicate with the service controller and installed devices. SC .exe retrieves and sets service control information. You can
So let some non-windows Services such as SQL server do not start up, and then use batch processing to start it when it is used:
First, set the SQL server-related Service Startup Type in "Control Panel> Administrative Tools> Services" to manual (Services starting with SQL Server), and create a new text document, change the suffix to "bat ". Add the batch processing command below:
1. Start SQL SERVER. batCopy codeThe Code is as follows: @ echo. Service Startup ......@ Echo off@
SC .exe commandFunction list:
1. Change the service startup status (this is a useful feature)
2. delete a service (unless it is clear about the services required by software and hardware on your computer, it is not recommended to delete any system services, especially basic services)
3. stop or start the service (the function is similar to net stop/start, but more services are faster and can be stopped)
The command format is as follows:
Modify the co
See http://technet.microsoft.com/zh-cn/library/cc772676 (WS.10 ). there are three common features of aspx SC in penetration: remotely execute things, remotely enable/disable services, and query service information, such as the service exe path. 1.1 Execute Command (system permission): // for other methods to execute command reference: http://bra.adminsec.com/security/787.html SC \ 10.1.1.1 create winnt binp
I was planning to write the specific implementation of the jobs module in this article. But when I look back, it seems that I still forget an important problem, that is, when deploying and uninstalling Windows service, I have introduced two different commands: SC and installutil. Why do we not need to create projectinstaller internally when using SC? When Using installutil, we must create projectinstaller,
The purpose of writing this article is to let everyone know about the use of the SC Service Management Program. On the other hand, it is also to let everyone know more about some basic problems of the NT and 2000 services, if you have time, please take a good look. Let's take a look at the article on how to open the termservice. With this feature, you can delete the ffsniffer and sksockerver files that are left in other machines. You don't have to wor
The purpose of writing this article is to let everyone know about the use of the SC Service Management Program. On the other hand, it is also to let everyone know more about some basic problems of the NT and 2000 services, if you have time, please take a good look. Let's take a look at the article on how to open the termservice. With this feature, you can delete the ffsniffer and sksockerver files that are left in other machines. You don't have to wor
First, configure the service to open and closeSC stop service name # Stop Service SC start service name # Start the service SC Delete Service name # Delete ServiceSecond, configure the status of the servicesc config service name start= auto # Sets the service to automatically start the sc config service name start= demand (manual)
#
Set the ser
restored, create them manually.
(3) Q: Why does "so8. SC .cn" appear after the shortcut is restored "?
A: At the beginning of the script design, it was designed to restore shortcuts, replace manual work, and did not clear viruses and rogue software. In view of the fact that most users reported that antivirus software did not detect any exceptions, I recommend that you use 360 security guard to disable all suspicious startup items and suspicious servi
In Windows, SC CREATE command line is used to add, create, and modify services.
SC create bits binpath = "C: \ windows \ system32 \ svchost.exe-K netsvcs" type = share start = auto displayname = "Background Intelligent Transfer Service" depend = RPCSS/EventSystem
Description:
SC description bits "transmits files in the background using idle network bandwidth.
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.