close

ad使用者登入後,有某些特定的網路磁碟機

 

作法很簡單,利用net 這一個指令在搭配gpo群組原則就可以達成

例如:在File-server上有分享兩個資料夾toolsdatauser登入後會產生gh的磁碟機

先打個記事本寫入

net use g: server-name(ip) ools

net use h: server-name(ip)data

然後存成bat檔案,在利用搭配gpouser登入時執行這個批次檔就可以囉

ps

避免user可能已經有佔用gh磁碟代號可在上面兩行指令前面先加上

net use g: /delete

net use h: /delete

這是先把gh磁碟代號先取消,也就是斷掉gh的連線

arrow
arrow
    全站熱搜

    aircsh 發表在 痞客邦 留言(0) 人氣()