我试图从我的Windows 7客户端PC上成功运行位于服务器PC(Windows Server 2008 R2)上的batch file。 但它不工作,命令提示符显示以下错误信息消息。
当我跑步
psexec \\199.219.21.141 -u admin /c "C:\Compile.bat"
我被提示input密码,当我input密码并按我得到
Make sure that the default admin$ share is enabled on 199.219.21.141
用户pipe理员是服务器计算机上本地pipe理员的一部分
我试过的东西,
使用cmdkey.exe / addcaching用户凭据:MACHINE_NAME_HERE /user:199.219.21.141\admin / pass:PASSWORD_HERE psexec.exe \ 199.219.21.141 -i notepad cmdkey.exe /delete:199.219.21.141
确保在199.219.21.141上启用了默认的admin $共享
pipe理员$共享是存在于服务器上我可以看到我的用户名列为pipe理员组的一部分。 但是,即使使用浏览器,我也无法打开共享
当我运行 – > cmd.exe(pipe理模式) – > \ 199.219.21.141 \ admin $
任何想法我做错了什么?