DIY मीडिया होम लोगो

अपनी खुद की होम थिएटर और हाय-Fi सेटअप डिजाइन और बनाने के लिए परम साइट.

0विंडोज़ 8 प्रतीक चिन्हस्क्रिप्ट बना सकते हैं और नाम नेटवर्क शेयर करने के लिए

When updat­ing or repla­cing a home PC I use Win­dows Deploy­ment Ser­vices (WDS) to rein­stall Win­dows. It means I only have to main­tain a single up-to-date source for all the little free apps I use (फायर फॉक्स, 7ज़िप, कोड, आदि) and makes a new setup much more pain­less. One of the few bugs that has irrit­ated me for ages is the net­work drive map that I cre­ate has always had to be renamed manually.

I think the prob­lem stems from the need for admin rights when renam­ing a drive. Whilst I can run the rename com­mand as an admin­is­trat­or this seems to fail as the share isn’t present for the admin account, केवल उपयोगकर्ता खाते के लिए. What I would need to do is run the com­mand as the user and then elev­ate it. I don’t know of any script­ing way to do this, so the nor­mal rename com­mand seems a dead loss.

अच्छी खबर यह है रजिस्ट्री के माध्यम से नाम बदलने इसके लिए कोई तरीका है कि वहाँ है, and registry changes can eas­ily be made from the com­mand line. नक्शा और नाम बदलने के एक हिस्से सिर्फ आवश्यकता है करने के लिए 2 आदेशों

reg जोड़ने HKCU Software Microsoft Windows CurrentVersion एक्सप्लोरर MountPoints2 ##serv­er-name#शेयर नाम /v _LabelFromReg /t REG_SZ /f /d “शेयर के लिए उपयोग करने के लिए नाम"

शुद्ध उपयोग y: \\serv­er-name\शेयर नाम /उपयोगकर्ता:serv­er-name\user­name pass­word /दृढ़:हां

This can be put in a simple batch file and duplic­ate for each share you want to map. Viola — no more ugly names for net­work shares

उत्तर छोड़ दें