How to fix – Windows 2016 disk offline

By default Windows 2016 san disk policy is making the newly added hard drive as offline.

To fix this problem run the following command to change to

To check:

Get-StorageSetting Select-Object NewDiskPolicy

To set:

Set-StorageSetting -NewDiskPolicy OnlineAll

Policy Setting Effect
 OfflineAll  All new disks are left offline by default.
 OfflineInternal  All disks on busses that are detected as internal are left offline as default.
 OfflineShared  All disks on sharable busses, such as iSCSI, FC, or SAS are left offline by default.
 OnlineAll (Recommended)  All disks are automatically brought online.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.