如何在C中找到远程计算机Windows安装位置 [英] How to find the remote machine windows installed location in c

查看:51
本文介绍了如何在C中找到远程计算机Windows安装位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用msdev.
我需要找到远程计算机的Windows路径.

如果他们在c:中安装了Windows操作系统,则

我需要获取c:\ windows路径.使用ip和凭据.

有任何API..

i am using msdev.
i need to find the remote machine windows path.

if they installed windows os in c: means

i need to get the c:\windows path. using the ip, and credentials .

is there any API is there..

推荐答案

如果您拥有远程计算机的凭据(您似乎表示会这样做),则可以访问远程计算机注册表并从那里读取路径.这是一个带有详细信息的堆栈溢出问题:

http://stackoverflow.com/questions/7342340/getting-remote-machines-windows-path [^ ]
If you have credentials for the remote machine (which you seem to indicate you will), you could access the remote machines registry and read the path from there. Here is a Stack Overflow question with the details:

http://stackoverflow.com/questions/7342340/getting-remote-machines-windows-path[^]


这篇关于如何在C中找到远程计算机Windows安装位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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