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زپ, تفصیلی فہر ست, etc) 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 سافٹ ویئر مائیکروسافٹ ونڈوز 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

Leave a Reply