2007
08.06

Experienced this problem with HP DL360 servers w/ 2-72GB disks, RAID 1.

After restoring a Windows 2003 DISK image (GHOST image) to the server, able to boot and work with drive C:. Unable to see and access drives E: and F: also thought to have been restored in the DISK image.

Solved by using DiskPart this way:

  • At a command prompt, type Diskpart <enter>
  • Type List Volumes <enter>
  • Missing volumes are seen, but they don’t show labels or drive letter assignment
  • Type Select Volume 2 <enter>
  • Type Assign <enter>
  • You’ll see an affirmative message.
  • Type List Volumes <enter>
  • Does the drive letter appear along with a volume label? Good.
  • Type Select Volume 3 <enter>
  • Type Assign <enter>
  • You’ll see an affirmative message.
  • Type List Volumes <enter>
  • All drive letters appear with their volume labels?
  • Type exit <enter> and close the command prompt.
  • Reboot the server to verify drive letters appear normally.

 

2007
08.05
  • %HOMESHARE%
  • %ERRORLEVEL%
  • %APPDATA%
  • %ALLUSERSPROFILE%

You can use the command shell to create and edit batch files (also called scripts) to automate routine tasks. For example, you can use scripts to automate the management of user accounts or nightly backups. You can also use the Windows Script Host, CScript.exe, to run more sophisticated scripts in the command shell. You can perform operations more efficiently by using batch files than you can by using the user interface. Batch files accept all commands that are available at the command line. For more information about batch files and scripting, see Using batch files

Microsoft Command Shell Overview