script Disk Management configuration

Posted by Joseph on Server Fault See other posts from Server Fault or by Joseph
Published on 2010-04-05T17:20:08Z Indexed on 2010/04/05 17:23 UTC
Read the original article Hit count: 274

Filed under:
|
|

I have 10 workstations with large monitors that have USB slots and several card readers built in. The card readers cannot be disabled and will map to drive letters when I image the computers. I go into Disk Management and delete the drive mappings and add mappings to a single folder in C:\ with a folder for each slot. I have to do this because of scripts that run that are expecting specific letter drive mappings to network resources.

Is there a way to script the deleting and adding of drive mappings instead of having to use the Disk Management GUI manually on each workstation? The workstations are running XP Professional.

© Server Fault or respective owner

Related posts about XP

Related posts about scripting