共享与安全 [英] sharing and security

查看:99
本文介绍了共享与安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想连接到属于域的客户端计算机中的文件夹.我总是本地登录到我的笔记本电脑,该笔记本电脑不属于该域,但可以通过将其连接到域的网络来访问.很明显,我的本地帐户不是 在域帐户或用户中.我想通过Windows资源管理器或更好的资源访问它,创建直接的快捷方式吗?我应该怎么做?谢谢

I would like to connect to a folder in a client computer that belongs to a domain. I always login locally to my laptop that is not part of the domain but has access by connecting it to the domain's network.  So obvously my local account is not in the domain account or user.  I would like to access it through windows explorer or better, create a direct shortcutr to it? How should I go about it?  Thank you

 

推荐答案

您可以创建一个脚本,该脚本映射通过域凭据的共享

You can create a script that maps the share passing the domain credentials

    Net.exe使用Z:\\< Machine> \< Share> /U:<域> \<用户名> <密码>

     Net.exe Use Z: \\<Machine>\<Share> /U:<Domain>\<UserName> <Password>

 

然后您可以通过注册表项HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunOnce在Windows登录上运行此脚本

You could then have this script run on Windows logon via the regkey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

 

希望这会有所帮助

 


这篇关于共享与安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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