財神娛樂首存即享優惠回饋唷~詳情請進👉

windows-server-2008-r2 – 永遠掛載收娛樂城活動集同享而無需登錄? (視窗


Windows 2008 R2服務器(規范版)上,我必要裝置收集驅動器,而無需特定用戶起首登錄到計算機.在Unix機械上經由過程fstab相似于NFS掛載.收集驅動器將經由過程BlackArmor(Seagate)裝備(我假定運轉Samba)同享.若是必要,裝備可所以域的成員.

到現在為止,我已經測驗考試使用編纂組戰略 – >設置 – > Windows – >劇本 – >啟動,我履行它

net use x: \\server\share /user:username password

沒有勝利.登錄后,收集驅動器在Windows資本線上麻將現金ptt治理器中被視為斷開毗鄰的收集驅動器.

依據
this StackOverflow post,這顯然是可能的.

然而,在發布謎底內容之前,我是否可以倡議您過分龐大?
在如許的環境下,一些蹩腳的代碼片斷必要用戶登錄才能運轉(如Domino服務器算偏財運,埋怨)我創立了一個服務帳戶,該帳戶始終在給定服務器上登錄,并配置主動登錄劇本,如許機械會在重啟時主動登錄指定的帳戶.我倡議對您的成績更簡略,更可支撐的辦理方案是做一樣的工作,并經由過程組戰略或者登錄劇本為該服務帳戶用戶映照驅動器.
無論若何,若是您決定在沒有效戶違景的環境下測驗考試此操作,請參閱下文.這是一個黑客,以是使用危害以及一切:

For this hack you will need SysinternalsSuite by M運彩版pttark Russinovich: 07001
Step one: Open an elevated cmd.exe prompt (Run as administrator)
Step two: Elevate again to root using PSExec.exe: Navigate to the folder containing SysinternalsSuite and execute the following command “psexec -i -s cmd.exe” you are now inside of a prompt that is “nt authority\system” and you can prove this by typing “whoami”. The -i is needed because drive mapping大樂透100組開獎號碼s need to interact with the user
Step Three: Create the persistent mapped drive as the SYSTEM account with the following command “net use z: \servername\sharedfolder /persistent:yes”
It’s that easy!
WARNING: You can only remove this mapping the same way you created it,from the SYSTEM account. If you need to remove it,follow steps 1 and 2 but change the command on step 3 to: “net use z: /delete”
NOTE: The newly created mapped drive will now appear for ALL users of this system but they will see it displayed as “Disconnected Network Drive (Z:)”. Do not let the name fool you. It may claim to be disconnected but it will work for everyone. That’s how you can tell this hack is not supported by M$.

來自談論:

To get it working after a reboot,create a script just containing net use z: \servername\sharedfolder and set it to run o完美分析運彩pttn computer startup,per technet.microsoft.com/en-us/library/cc770556.aspx This will run as the SYSTEM account,so no need for psexec.

【免責聲明】本站內容轉載自互聯網,其相關談吐僅代表作者小我私家概念盡非權勢巨子,不代表本站態度。如您發明內容存在版權成績,請提交相關鏈接至郵箱:,咱們將實時予以處置。