1/1页1 跳转到查看:376
发新话题 回复该主题

[求助] 请管理员及各位版主大大帮忙看看2个问题,跪求解决方法。

请管理员及各位版主大大帮忙看看2个问题,跪求解决方法。

problem 1
I have a VBScript to add users to AD using a .csv file for input.  I want to add a Home Drive and Directory to the profile.  I have the directory as '\\server\users\%username%" .  When I process the script the profile shows the "\\server\users\%username%' as the home directory, but it hasn't been applied to translate the %username% or create the folder.  However, if I manually apply the change, it does create the folder correctly. 
Is there a way to create the folder when the user is added, or do I need to create the folder and assign permissions as a sparate step in the script?
problem 2
由于通过这样方式建立帐户,%username%这个folder的ntfs权限有users group,如何能通过脚本或者其他什么方法一次性把%username%文件夹里users组remove?
这2个问题小弟再次感激不尽,谢谢

TOP

 

难道没人遇到这同样的问题吗? 自己顶

TOP

 

是这样的,您可以是使用文件夹重定向的方式,来解决您第一个问题。
您第二的问题我是不嫩理解,能不能给我解释一下啊。
欢迎大家和我联系
MCSE2003\MCSA2003\MCP\MTO\MVP
QQ群:http://www.mcse.org.cn/showtopic-5035.html
bbs:http://www.mcse.org.cn
msn:lingluo18#hotmail.com
mail:lingluo18#gmail.com

TOP

 



引用:
原帖由 洛洛 于 2008-8-25 8:57:00 发表
是这样的,您可以是使用文件夹重定向的方式,来解决您第一个问题。
您第二的问题我是不嫩理解,能不能给我解释一下啊。


第2个问题我已经解决
第1个问题具体怎么做法,洛洛大大能不能给个例子,谢谢洛洛大大指引了方向

TOP

 

不理解!!!!关注中!

TOP

 

我顶上去

TOP

 

是这样的,我们在组策略中有用户的策略中我们可以借用文件夹重定向中的app定向将是用户自动建立文件夹目录,这样没有用户的权限也同样被建立了。
欢迎大家和我联系
MCSE2003\MCSA2003\MCP\MTO\MVP
QQ群:http://www.mcse.org.cn/showtopic-5035.html
bbs:http://www.mcse.org.cn
msn:lingluo18#hotmail.com
mail:lingluo18#gmail.com

TOP

 

您将您的如何解决第二个问题,告诉大家谢谢
欢迎大家和我联系
MCSE2003\MCSA2003\MCP\MTO\MVP
QQ群:http://www.mcse.org.cn/showtopic-5035.html
bbs:http://www.mcse.org.cn
msn:lingluo18#hotmail.com
mail:lingluo18#gmail.com

TOP

 

第2个问题,我处理的方法不正确,还是有问题,研究中

TOP

 
1/1页1 跳转到
发表新主题 回复该主题