使用Windows服务时出现问题(A problem in working with windows service)

   IT问题网   2021-01-23 00:00:00

问 题

嗨,我已经创建了一个带有自动启动类型的windows服务并成功安装在我的系统中,但是直到我重新启动系统才启动它,我的意思是它在我的系统启动时没有启动但它也在我重新启动时启动我的系统。

这个陈述是真的吗?



"windows服务刚刚启动时窗口重启"

解决方案

如果启动类型设置为"自动",则服务将在windows启动时启动。如果是手动,你必须手动启动服务。



如果您刚刚安装了该服务,它不会自动启动所以如果您想要启动并运行你可以手动启动服务或启动windows。



如果你的意思是当你注销/开启时服务没有启动,那是真的。服务独立于桌面会话。

标签:使用服务出现呈现涌现泛起问题



分享:

  • 微信
  • QQ好友
  • QQ空间
  • 新浪微博


热门推荐

Windows窗体应用程序中跟踪栏的代码(code for trackbar in windows form application)

problem hi, there is a trackbar in my window ...

Prism女士和域名服务银光(Ms Prism and Domain services with silverlight)

problem hi, how can i work with microsoft pri ...

使用Python访问我的.dll文件(Access my .dll file using Python)

problem i am currently planning to access my mfc dialog b ...

从另一个Windows服务调用Windows服务(Call windows service from another windows service)

problem is it possible to call windows service from anoth ...

创建会计程序(creating accounting program)

problem hi all, can any one guide me how to creat acco ...

c sharp regex替换任何单词的第一个或最后一个字符(c sharp regex replace first or last character of any word)

problem want to remove first and last charact ...

用于检查字符串数组是否为空的代码(Code for checking whether string array is empty or not)

problem hi, please send me the code for checking whether ...

消息在try catch块中不起作用(Message is not working in try catch block)

problem showing a modal dialog box or form wh ...

循环如何从开始日期算起5天(How loop to count for 5 days from the start date)

problem hi i have a starting date, now i nee ...

如何绑定diffirent windows窗体中使用的相同用户控件组合框的两个数据源(how to bind two data sources for same user control combo box used in diffirent windows forms)

problem lt;pre lang="c#"gt;lt;/pregt; i want to bind two ...

是他们的任何querybuilder工具(Is Their any querybuilder tool)

problem i want to know that is dere any gui q ...

我希望从gridview获得一个链接来搜索报告页面(i want to have a link from a gridview that will search a report page)

problem can someone help me i want to search fromgridview ...

存储文本框值时无法获得正确的输出(not getting correct output when storing textbox values)

problem i keep getting the output in messagebox as ''0'' ...

如何在asp.net中调用客户端的服务器端功能?(How to call server side function in client side in asp.net)

problem how to call server side function in client side i ...

将Excel数据导入并更新到sql中(Import and Update Excel data into sql)

problem hi, am working on a project which import data int ...

如何在asp中使用我的sql(How to use my sql in asp)

problem hi sir/madam, in our application of asp,we have ...

如何制作wpf鼠标事件?(How can made wpf mouse event )

problem how can made wpf mouse event see more: c# please ...

如何在包含三个用于用户输入的asp.net服务器控件的表中动态添加行(how to add rows dynamically in the table containing three asp.net server controls for user input)

problem hi a table having 5 rows and 3 columns, each ro ...

如何将string []数组值分配给cookie(How to assign a string[] array values to a cookie)

problem i have a string array and it is filling by databa ...

在基本MSI项目中从InstallShield显示消息“安装程序需要64位处理器”(Show message “Setup requires a 64Bit processor” from InstallShield in basic MSI project)

problem i am using installshield 11 and creat ...