沈阳电脑维修网,沈阳上门维修电脑服务
当前位置: 主页 > 程序数据代码>删除win2k/xp系统默认共享的批处理_程序数据_windows批处理 >

删除win2k/xp系统默认共享的批处理_程序数据_windows批处理

时间:2011-12-5来源:沈阳电脑维修网 作者: 吕先生:13889116605点击:
沈阳电脑维修,上门维修电脑
------------------------cutherethensaveas.bator.cmdfile---------------------------@echopreparingtodeleteallthedefaultshares.whenreadypresanykey.@pause@echooff:Remcheckparametersifnullshowusage.if{%1}=={}goto:Usage:Remcodestart.echo.echo------------------------------------------------------echo.echoNowdeletingallthedefaultshares.echo.netshare%1$/deletenetshare%2$/deletenetshare%3$/deletenetshare%4$/deletenetshare%5$/deletenetshare%6$/deletenetshare%7$/deletenetshare%8$/deletenetshare%9$/deletenetstopServernetstartServerecho.echoAlltheshareshavebeendeleteedecho.echo------------------------------------------------------echo.echoNowmodifytheregistrytochangethesystemdefaultproperties.echo.echoNowcreatingtheregistryfileechoWindowsRegistryEditorVersion5.00>c:\delshare.regecho[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]>>c:\delshare.regecho"AutoShareWks"=dword:00000000>>c:\delshare.regecho"AutoShareServer"=dword:00000000>>c:\delshare.regechoNowingusingtheregistryfiletochangthesystemdefaultproperties.regedit/sc:\delshare.regechoDeletingthetemprotarilyfiles.delc:\delshare.reggoto:END:Usageecho.echo------------------------------------------------------echo.echo☆Aexampleforbatchfile☆echo☆[Usebatchfiletochangethesysytemshareproperties.]☆echo.echoAuthor:Ex4rchechoMail:Ex4rch@hotmail.comQQ:1672602echo.echoError:Notenoughparametersecho.echoPleaseenterthesharediskyouwannadeleteecho.echoForinstance,todeletethedefaultshares:echodelsharecdeipcadminprintecho.echoIfthedisklableisnotasC:D:E:,Pleasechangityouself.echo.echoexample:echoIflocakdisklableareC:D:E:X:Y:Z:,youshouldchangthecommandinto:echodelsharecdexyzipcadminprintecho.echo***youcandeleteninesharesonceinauseing***echo.echo------------------------------------------------------goto:EOF:ENDecho.echo------------------------------------------------------echo.echoOK,delshare.bathasdeletedalltheshareyouassigned.echo.Anyquestions,feelfreetomailtoEx4rch@hotmail.com.echoecho.echo------------------------------------------------------echo.:EOFechoendofthebatchfile------------------------cutherethensaveas.bator.cmdfile---------------------------
上一篇:全面加固系统的批处理文件_程序数据_windows批处理
下一篇:批处理文件中命令的使用_程序数据_windows批处理
查看[删除win2k/xp系统默认共享的批处理_程序数据_windows批处理 ]所有评论
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:
推荐内容
关于我们 服务价格 联系我们 企业网站优化 沈阳网站建设 沈阳维修电脑