|
andison625
初级用户
 
积分 70
发帖 36
注册 2008-5-21
状态 离线
|
『楼 主』:
删除网络共享记住的密码,将bat转换成vbs
使用 LLM 解释/回答一下
我有几个BAT文件,一个是清理系统垃圾的,另一个就是调用WIN的control命令
运行 control userpasswords2 之后,进密码管理,那里记住了局域网共享的密码
用批处理 net use * /del /y 可以清去,但这个好像不是次次都可以清掉
因为做网管,很多重要的文档都要锁着,又不能让用户看到,
我想要一个 vbs脚本,运行后,会删除共享的密码。
我找了很多论坛,都没有关于这个有脚本。
VBS能不能实现这个啊。。。批处理实现不了。。。郁闷ING。。。。。
I have several BAT files. One is for cleaning system junk, and the other is to call the WIN control command.
After running control userpasswords2, enter the password management, where the passwords for LAN shares are remembered.
Using the batch command net use * /del /y can clear them, but this doesn't seem to work every time.
Because as a network administrator, many important documents need to be locked and users shouldn't be able to see them.
I want a VBS script that, when run, will delete the shared passwords.
I've searched many forums, but there are no scripts about this.
Can VBS achieve this... Batch can't... Depressed ING......
|
|
2009-2-24 18:55 |
|
|
zz999
新手上路

积分 5
发帖 2
注册 2007-5-18
状态 离线
|
|
2009-2-25 00:37 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
在安装系统后使用公用计算机安全模板
或者
打开本地策略,在安全选项中启用 "不允许为网络身份验证保存凭据或.NET Passpores"
Use the Public Computer Security Template after installing the system.
Or
Open Local Policies, and enable "Do not allow saving credentials or.NET Passports for network authentication" in the Security Options.
|

49206C6F766520796F752067757973 54656C3A3133383238343036373837 |
|
2009-2-25 03:39 |
|
|
andison625
初级用户
 
积分 70
发帖 36
注册 2008-5-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Originally posted by everest79 at 2009-2-25 03:39 AM:
在安装系统后使用公用计算机安全模板
或者
打开本地策略,在安全选项中启用 "不允许为网络身份验证保存凭据或.NET Passpores"
这个是不是要实施域管理才能搞?
单机的有没有VBS脚本实现呢?
Originally posted by everest79 at 2009-2-25 03:39 AM:
Use the public computer security template after installing the system
Or
Open the local policy, and enable "Do not allow saving credentials or.NET Passpores for network authentication" in the security options
Does this need to be implemented for domain management?
Is there a VBS script implementation for standalone computers?
|
|
2009-2-25 10:26 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by andison625 at 2009-2-25 10:26 AM:
这个是不是要实施域管理才能搞?
单机的有没有VBS脚本实现呢?
本地策略,正好是应用到非登录到域的设置,试试就知道了
Originally posted by andison625 at 2009-2-25 10:26 AM:
Does this need to be implemented with domain management?
Is there a VBS script implementation for standalone machines?
Local policies are exactly applied to non-domain-joined settings, just try it and you'll know
|

49206C6F766520796F752067757973 54656C3A3133383238343036373837 |
|
2009-2-26 04:54 |
|
|
andison625
初级用户
 
积分 70
发帖 36
注册 2008-5-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
楼上的,但这个要批量做,也相当麻烦,有没有修改这个设置的VBS脚本?设完后重启下计算机就好了??
Upstairs, but this needs to be done in batches, which is quite troublesome. Is there a VBS script to modify this setting? Just restart the computer after setting it?
|
|
2009-3-5 04:36 |
|
|
everest79
金牌会员
      一叶枝头,万树皆春
积分 2564
发帖 1127
注册 2006-12-25
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
单击 开始 ,单击 运行 ,键入 gpedit.msc ,然后单击 确定 。
在 计算机配置 ,下展开 Windows 设置 、 安全设置 、 本地策略 ,然后展开 安全选项 。
在该 策略 窗格中右键单击 网络访问: 不允许进行网络身份验证存储凭据或.NET Passport ,单击 属性 中,单击以选中 禁用 ,然后再单击 确定 。
单击 开始 ,单击 运行 ,键入 regedit ,然后单击 确定 。
找到,然后右键单击下的注册表子项:
验证 值被设置为 0。
重新启动计算机。
在注册表
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
下将
disabledomaincreds
的值设为
1
然后重启
Click "Start", click "Run", type "gpedit.msc", and then click "OK".
Under "Computer Configuration", expand "Windows Settings", "Security Settings", "Local Policies", and then expand "Security Options".
In this policy pane, right - click "Network access: Do not allow storage of credentials or.NET Passport for network authentication", click "Properties", click to select "Disabled", and then click "OK".
Click "Start", click "Run", type "regedit", and then click "OK".
Find and then right - click the registry sub - key under:
The "Validation" value is set to 0.
Restart the computer.
Under the registry HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa, set the value of "disabledomaincreds" to 1, and then restart
|

49206C6F766520796F752067757973 54656C3A3133383238343036373837 |
|
2009-3-6 15:22 |
|