请教一下如何隐藏网络磁盘
我做了一个局域网软件,在客户电脑中映射了网络磁盘Z,又不想让用户在打开我的电脑看到有个网络磁盘Z,可以不借助其它工具实现隐藏Z盘嘛嘛?多谢:-)
------解决方案--------------------Windows Registry Editor Version 5.00   
 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] 
  "NoDrives "=dword:02000000   
 如上注册表导入后可以隐藏Z盘 
 如果其他盘符如下计算方式: 
 0xffffffff十六进制,转换成二进制数,然后从最低位开始该,倒数第1位为1时隐藏驱动A,第2位B,……,第26位隐藏Z,不隐藏为0
------解决方案--------------------批处理的方式(原理同楼上): 
 @echo off 
 reg add  "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer " /v NoDrives /t reg_dword /d 02000000 /f 
 exit
------解决方案--------------------组策略里面有隐藏特定驱动器的设置。
------解决方案--------------------注:reg 命令只在XP以上的系统才会有 
 也可以使用regedit命令: 
 @echo off 
 echo Windows Registry Editor Version 5.00 > %temp%\hidez.reg 
 echo. > > %temp%\hidez.reg 
 echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] > > %temp%\hidez.reg 
 echo  "NoDrives "=dword:02000000 > > %temp%\hidez.reg 
 regedit -s %temp%\hidez.reg 
 del %temp%\hidez.reg 
------解决方案--------------------帮顶…………