Solved

Can I prevent Windows from asking to initialize disk.

Posted on 2010-09-14
9
3,432 Views
Last Modified: 2012-05-10
Can I prevent Windows from asking to initialize disk or hide disk management. I am using VCB to backup my Virtual Machines. In order for this to work you have to give your VCB server access to the LUNs on your SAN. If you click on disk management it ask you to initialize you LUNs this is bad! If someone inadvertently click on the Yes it would be catistrophic.
0
Comment
Question by:rorybrady
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 33673739
Take a look at this link as it provides a way to disable access to drives from Disk Management.
http://www.exnol.com/how-to-disable-access-to-drives-using-disk-management

Hope this helps~!
0
 

Author Comment

by:rorybrady
ID: 33673832
Thanks but this is not what I am looking for.

When Windows sees the new LUNs they don't show up as drive letters. Windows just thinks it is new disk that it needs to initialize. I need to either prevent it from asking to initialize the desk when you click on disk management or hide the disk management application all together.

Windows just sees the LUN from the SAN as a raw disk (do not have drive letters associated with them) and wants to initialize it. But really the LUNS are VMFS and have virtual machines on them, initializing these disk would make the LUNs unusable, destorying the VMs..... I think.
0
 
LVL 3

Expert Comment

by:novaspoonman
ID: 33674256
Initializing a disk *shouldn't* delete anything, assuming Windows can recognize the partitions.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:rorybrady
ID: 33674335
Yes, but initializing the disk creates a new signature on the disk. Does this make the disk un-readable for VMWare?
0
 
LVL 3

Expert Comment

by:novaspoonman
ID: 33674730
Ah, yes. If Windows writes a signature to the disk, VMware will no longer recognize them as VMFS.

You should consider disabling automount via the Windows DISKPART utility, and have a script ready to relabel the volumes on the ESX side, should something happen to the disk type labels.

http://www.yellow-bricks.com/2008/02/11/vcb-i-forgot-all-about-automount-disable-what-now/
0
 

Author Comment

by:rorybrady
ID: 33677658
Thanks.

We have disabled automount but if you open disk management Windows still asks if you want to initialize the drives.

I want to prevent someone from inadvertently click yes and initializing the drives. I was hoping to find a way hide disk mangement or prevent Windows from asking that question.
0
 
LVL 14

Expert Comment

by:robincm
ID: 33858056
I have the same issue/concerns as rorybrady, all my VMFS LUNs are shortly going to be presented to our NetBackup 7 system, running on Windows Server 2008 R2. Our Symantec supplier is aware of the issue, and apparently so are Microsoft. If I get a solution I'll post it.
0
 
LVL 14

Expert Comment

by:robincm
ID: 33866326
Workaround, though I've only done basic testing, is to stop the Virtual Disk service (if running) and change it's startup type from Manual to Disabled.
This obviously breaks the Disk Management MMC snapin, but once your disks are configured you shouldn't need it.
0
 

Accepted Solution

by:
rorybrady earned 0 total points
ID: 33887895
I have created a Goup Policy that prevents the disk management snap-in from being displayed in computer management when you run it. I also have created a GP that hides the Administrative tools from the control pannel.

You can still get to disk management of you load the mmc snap-in manually.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question