iT邦幫忙

0

如何寫一登錄檔以新增File and Printer Sharing for Microsoft Netwo網路服務元件

jensie 2009-07-06 00:12:5011140 瀏覽

如何寫一登錄檔以新增File and Printer Sharing for Microsoft Networks 網路服務元件?以方便網域內所有使用者登入網域後能透過Login Script自動執行該登錄檔, 以統一確保所有用戶端均有安裝該元件!(因已知某些網域用戶端並未安裝該元件)

cooch iT邦研究生 3 級 ‧ 2009-07-06 09:04:54 檢舉
跟我的想法剛好相反..

原則上,
我們單位用戶端電腦的File and Printer Sharing for Microsoft Network 是刻意要移除掉的!!
tom6507 iT邦大師 1 級 ‧ 2009-07-06 10:41:14 檢舉
這個功能安裝起來沒關係,只要有加入網域的電腦,網域帳號是屬於user的都不能自行分享目錄或是印表機
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

22
tom6507
iT邦大師 1 級 ‧ 2009-07-06 10:39:45
最佳解答

微軟的官方文件中有提到,不過當初是給W2K用的,不知道XP可不可以,你可以試看看。
使用下列語法,建立批次檔並命名 batch.cmd

<pre class="c" name="code">
regsvr32 /s %windir%\inf\Netcfgx.dll
%windir%\inf\Netcfg.exe -v -l  %windir%\inf\netserv.inf -c s -i MS_Server
%windir%\inf\Netcfg.exe -v -winpe
看更多先前的回應...收起先前的回應...
jensie iT邦新手 2 級 ‧ 2009-07-06 13:41:20 檢舉

可是我找遍了2000/XP的原始安裝光碟, 也找不到 Netcfg.exe 有這個檔ㄚ!?
Microsoft何時冒出這個幽靈人口?

tom6507 iT邦大師 1 級 ‧ 2009-07-06 15:17:03 檢舉

netcfg.exe文件可從WinPE1.2、ERD Commander 2002光碟中找到
或者到這邊下載:
http://cid-868d8d65cc6b4bd0.skydrive.live.com/self.aspx/%e5%85%ac%e9%96%8b/netcfg.rar

jensie iT邦新手 2 級 ‧ 2009-07-06 20:36:34 檢舉

感恩阿!
但依微軟說明不符實況來看, 微軟仍是說謊!
因為確實不在原始安裝光碟內!

tom6507 iT邦大師 1 級 ‧ 2009-07-07 07:16:59 檢舉

這我就不知道了,因為我也是查資料找到你的需求,而我提供的檔案也確實是從ERD Commander 中抽出來的

我要發表回答

立即登入回答