从Windows网络驱动器启动服务给我一个错误“系统找不到指定的路径。” [英] Starting a service from a windows network drive gives me an error "The system cannot find the path specified."

查看:95
本文介绍了从Windows网络驱动器启动服务给我一个错误“系统找不到指定的路径。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows中的映射网络文件夹中有一项服务。当我开始这项服务时,我得到"系统找不到指定的路径"。错误信息。

Hi,

I have a service in a mapped network folder in Windows. While I am
starting this service I am getting "The system cannot find the path
specified" error message.

我们不能运行网络文件夹中存在的服务吗?

Can't we run a service which is present in a network folder?

如果有任何办法,请告诉我我可以在映射的网络文件夹中启动服务。

Kindly let me know if there is any way that I can start the service
present in a mapped network folder.

PS:注册表项ImagePath in regedit - > HKLM - > - > system -

PS: The registry key ImagePath in regedit --> HKLM --> -->system--

> CCS - > services - > "我的服务"指向网络驱动器位置。
我尝试提供在其属性下具有网络凭证的登录帐户,但它也不起作用。
是否有任何解决方法可以使其工作?

>CCS-->services --> "my service" points to the network drive location.
I tried providing the logon account which has the network credentials
under it's properties, but it also didn't work either.
Is there any workaround to get it to work?

推荐答案



在"运行"中,键入Services.msc
+在"服务"管理单元中,在"名称"下,验证计算机上安装的IIS服务。
+在"运行"中,键入cmd。
+在命令中键入命令 cd HardDisk \inetpub \adminscripts 提示。
HardDisk =安装IIS的硬盘
+要验证配置数据库中是否配置了IIS服务,请在命令提示符处键入以下命令,其中ServiceName是您要使用的IIS服务在IIS元数据库中验证:
Adsutil.vbs枚举服务名称

例如,要验证IIS元数据库是否包含FTP发布服务的配置信息,请键入Adsutil .vbs枚举MSFTPSVC。

如果收到类似的错误消息如下所示,IIS服务可能未正确安装

找不到请求的路径。

Hi,

I am not sure, you may need to check IIS metabase for configured services using ADsutil.vbs utility.

+ In Run, type Services.msc
+ In the Services snap-in, under Name, verify the IIS services that are installed on the computer.
+ In Run, type cmd.
+ Type command cd HardDisk\inetpub\adminscripts  in command prompt.
HardDisk = hard disk where IIS is installed
+To verify that an IIS service is configured in the metabase,type the following command at the command prompt, where ServiceName is the IIS service that you want to verify in the IIS metabase:
Adsutil.vbs enum ServiceName

For example, to verify that the IIS metabase contains configuration information for the FTP Publishing Service, type Adsutil.vbs enum MSFTPSVC.

If you receive an error message that is similar to the following, the IIS service may not be installed correctly


The path requested could not be found.

6。确定元数据库中存储的信息与计算机上运行的服务之间的配置差异后,请在计算机上安装或删除服务。为此,请按照下列步骤操作:
1。单击"开始",单击"运行",键入Appwiz.cpl,然后单击"确定"。双击"添加/删除Windows组件"。双击Internet信息服务(IIS)。单击以选中或单击以清除要配置的服务的复选框,然后单击"下一步"。按照屏幕上的提示完成Windows组件向导。

请告诉我这是否有帮助。

感谢ASha

6. After you determine the configuration differences between the information that is stored in the metabase and the services that are running on the computer, install or remove services on the computer. To do this, follow these steps:
1. Click Start, click Run, type Appwiz.cpl, and then click OK.
2. Double-click Add/Remove Windows Components.
3. Double-click Internet Information Services (IIS).
4. Click to select or click to clear the check boxes for the services that you want to configure, and then click Next.
5. Follow the prompts on the screen to complete the Windows Components Wizard.

Let me know if this helps.

Thanks
ASha


这篇关于从Windows网络驱动器启动服务给我一个错误“系统找不到指定的路径。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆