Unable to install SQL Server 2019 on M1 Mac 1TB SSD with Parallels and Windows 11

We have done SQL Server 2019 installations for many customers globally. However, we are faced with this huge problem as follows:


We are unable to install SQL Server 2019 (Express or Standard) in the following scenario:


- MacBook Pro 16” / 1TB SSD / Apple M1 Max Chip / 64GB RAM / 2021 Model

- Total Number of Cores = 10 (8 performance and 2 efficiency)

- System Firmware Version = 7429.61.2

- OS Loader Version = 7429.61.2

- macOS Monterey 12.1 (updated as of 10 January 2022)

- Parallels Ver 17

- Windows 11 Pro (downloaded the ARM based not x86, which is the right version for my Macbook Pro M1)



In the above environment, my observations so far after reading many threads:

  1. 1. If the Primary Hard Drive does not exceed 980GB, SQL Server 2019 installs properly (this option is not available to me)
  2. 2. If you have a Second “Physical” Hard Drive, SQL Server 2019 installs properly on the second drive (this option is not available to me)
  3. 3. If you partition the Primary 1TB SSD, the problem persists because the partition is still recognised internally as “One Single Hard Drive”
  4. 4. SQL Server 2019 can be installed successfully on Windows 10 but I am unable to install Windows 10 in the above environment due to the M1 Chip (ARM based, not x86)
  5. 5. Even if I sign up for “Windows Insider Program”, Windows 10 ISO File is not available for the above environment
  6. 6. The Gurus say: Windows 11 verifies (this is not done by Windows 10) and returns the “Sector Size” and if it is higher than 4K (4096 Bytes), SQL Server installation fails
  7. 7. It seems that this issue is not isolated to the Mac 2021 as even someone using a Samsung Laptop with 1TB SSD is facing the same issue
  8. 8. Microsoft Website clearly says that SQL Server 2019 is compatible with Windows 11 (RTM) – so we should safely rule out the issues of Windows 11 pre-release version incompatibility
  9. 9. The net result is that I have no option but to somehow get SQL Server 2019 to be successfully installed on Windows 11 in the above environment




I followed the following steps as recommended by the Gurus (to Fix “Sector Size)

  1. 1. Change Registry (run as Administrator) as follows:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device

  • • New
  • • Multi-String value
  • • ForcedPhysicalSectorSizeInBytes
  • • 4095


  1. 2. Run the following on CMD Prompt (run as Administrator)

"HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes" /t  REG_MULTI_SZ /d "* 4095" /f



  1. 3. Verify as follows on CMD Prompt (run as Administrator):

REG QUERY "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes"



  1. 4. Run the following on PowerShell (run as Administrator)

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name  "ForcedPhysicalSectorSizeInBytes" -PropertyType MultiString -Force -Value "* 4095"



  1. 5. Verify the following on PowerShell (run as Administrator)

Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name  "ForcedPhysicalSectorSizeInBytes"


  1. 6. Restart Windows 11 and Install SQL Server 2019


My Results after doing the above


SQL Server Standard 2019 Installation Results:



Installation Failed for

  1. 1. Data Quality Services
  2. 2. Full-Text and Semantic Extractions for Search
  3. 3. Python
  4. 4. R
  5. 5. Machine Learning Services and Language Extensions
  6. 6. Database Engine Services
  7. 7. SQL Server Replication


—————————————————————


HELP REQUIRED!

I really need your help in getting a resolution for the above. It is really strange that both SQL Server 2019 and Windows 11 are Microsoft products and they seem to have such a huge glitch.


Thank you in advance, everyone!

—————————————————————


MacBook Pro 16″, macOS 12.1

Posted on Jan 9, 2022 11:40 PM

Reply

Similar questions

10 replies

Jan 10, 2022 2:55 AM in response to FACT_ERP_Solutions

We have

done SQL Server 2019 installations for many customers globally. However, we are

faced with this huge problem as follows:


 


We are

unable to install SQL Server 2019 (Express or Standard) in the following

scenario:


 


- MacBook Pro 16” / 1TB SSD / Apple M1 Max Chip / 64GB RAM / 2021

Model


- Total Number of Cores = 10 (8 performance and 2 efficiency)


- System Firmware Version = 7429.61.2


- OS Loader Version = 7429.61.2


- macOS Monterey 12.1 (updated as of 10 January 2022)


- Parallels Ver 17


- Windows 11 Pro (downloaded the ARM based not x86, which is the right

version for my Macbook Pro M1)


 


 


In the above environment, my observations so far after reading many

threads:


1.              

If the Primary Hard Drive does not exceed 980GB, SQL Server 2019

installs properly (this option is not available to me)


2.              

If you have a Second “Physical” Hard Drive, SQL Server 2019 installs

properly on the second drive (this option is not available to me)


3.              

If you partition the Primary 1TB SSD, the problem persists because the

partition is still recognised internally as “One Single Hard Drive”


4.              

SQL Server 2019 can be installed successfully on Windows 10 but I am

unable to install Windows 10 in the above environment due to the M1 Chip (ARM based,

not x86)


5.              

Even if I sign up for “Windows Insider Program”, Windows 10 ISO File

is not available for the above environment


6.              

The Gurus say: Windows 11 verifies (this is not done by Windows 10)

and returns the “Sector Size” and if it is higher than 4K (4096 Bytes), SQL

Server installation fails


7.              

It seems that this issue is not isolated to the Mac 2021 as even

someone using a Samsung Laptop with 1TB SSD is facing the same issue


8.              

Microsoft Website clearly says that SQL Server 2019 is compatible with

Windows 11 (RTM) – so we should safely rule out the issues of Windows 11

pre-release version incompatibility


9.              

The net result is that I have no option but to somehow get SQL Server

2019 to be successfully installed on Windows 11 in the above environment




 



 




 




I followed the following steps as

recommended by the Gurus (to Fix “Sector Size)



1.    

Change Registry (run as Administrator) as follows:


Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device


·      

New


·      

Multi-String value


·      

ForcedPhysicalSectorSizeInBytes


·      

4095


 


2.    

Run the following on CMD Prompt (run as Administrator)


"HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

/v "ForcedPhysicalSectorSizeInBytes" /t   REG_MULTI_SZ /d "* 4095" /f


 


 


3.    

Verify as follows on CMD Prompt (run as Administrator):


REG QUERY

"HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

/v "ForcedPhysicalSectorSizeInBytes"


 


 


4.    

Run the following on PowerShell (run as Administrator)


New-ItemProperty

-Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

-Name  

"ForcedPhysicalSectorSizeInBytes" -PropertyType MultiString

-Force -Value "* 4095"

 


 


5.    

Verify the following on PowerShell (run as Administrator)


Get-ItemProperty

-Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

-Name  

"ForcedPhysicalSectorSizeInBytes"


 


6.    

Restart Windows 11 and Install SQL Server 2019


 




My Results after doing the above



 


SQL Server Standard

2019 Installation Results:


 



 


Installation

Failed for


1.    

Data Quality Services


2.    

Full-Text and Semantic Extractions for Search


3.    

Python


4.    

R


5.    

Machine Learning Services and Language Extensions


6.    

Database Engine Services


7.    

SQL Server Replication


 


—————————————————————


 


HELP REQUIRED!


I really

need your help in getting a resolution for the above. It is really strange that

both SQL Server 2019 and Windows 11 are Microsoft products and they seem to

have such a huge glitch.


 


Thank you

in advance, everyone!


—————————————————————


 

Jan 10, 2022 4:32 AM in response to FACT_ERP_Solutions

We already have Done installation SQL 2019 Standard edition on our system but our new MacBook Pro 16 we are not able to install SQL 2019 Standard edition -----


- MacBook Pro 16” / 1TB SSD / Apple M1 Max

Chip / 64GB RAM / 2021 Model

- Total Number of Cores = 10 (8

performance and 2 efficiency)

- System Firmware Version = 7429.61.2

- OS Loader Version = 7429.61.2

- macOS Monterey 12.1 (updated as of 10

January 2022)

- Parallels Ver 17

- Windows 11 Pro (downloaded the ARM

based not x86, which is the right version for my Macbook Pro M1)


 


 


In the above environment, my observations

so far after reading many threads:

               

If the Primary Hard Drive does not exceed 980GB, SQL Server 2019

installs properly (this option is not available to me)

                

If you have a Second “Physical” Hard Drive, SQL Server 2019 installs

properly on the second drive (this option is not available to me)

                 

If you partition the Primary 1TB SSD, the problem persists because the

partition is still recognized internally as “One Single Hard Drive”

                 

SQL Server 2019 can be installed successfully on Windows 10 but I am

unable to install Windows 10 in the above environment due to the M1 Chip (ARM based,

not x86)

                 

Even if I sign up for “Windows Insider Program”, Windows 10 ISO File

is not available for the above environment

                 

The Gurus say: Windows 11 verifies (this is not done by Windows 10)

and returns the “Sector Size” and if it is higher than 4K (4096 Bytes), SQL

Server installation fails

                 

It seems that this issue is not isolated to the Mac 2021 as even

someone using a Samsung Laptop with 1TB SSD is facing the same issue

                 

Microsoft Website clearly says that SQL Server 2019 is compatible with

Windows 11 (RTM) – so we should safely rule out the issues of Windows 11

pre-release version incompatibility

                 

The net result is that I have no option but to somehow get SQL Server

2019 to be successfully installed on Windows 11 in the above environment


I followed the following steps as

recommended by the Gurus (to Fix “Sector Size)

     

Change Registry (run as Administrator) as follows:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device


       New

       Multi-String value

       ForcedPhysicalSectorSizeInBytes

       4095

     

Run the following on CMD Prompt (run as Administrator)

"HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

/v "ForcedPhysicalSectorSizeInBytes" /t   REG_MULTI_SZ /d "* 4095" /f

     

Verify as follows on CMD Prompt (run as Administrator):

REG QUERY "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

/v "ForcedPhysicalSectorSizeInBytes"

     

Run the following on PowerShell (run as Administrator)

New-ItemProperty

Path

"HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name   "ForcedPhysicalSectorSizeInBytes"

PropertyType MultiString -Force -Value "* 4095"


   

Verify the following on PowerShell (run as Administrator)

Get-ItemProperty

Path

"HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device"

Name   "ForcedPhysicalSectorSizeInBytes"

  

Restart Windows 11 and Install SQL Server 2019.


HELP REQUIRED!

Thank you


Jan 18, 2022 1:50 AM in response to BobTheFisherman

Please correct me if I wrong, but it seems that what I have installed is the Release Version of Windows 11 - please see my steps below

  1. Installed Parallels Ver 17 successfully
  2. As soon as Parallels 17 got installed, it asked me if I wish to install Windows 11
  3. I then updated Windows 11 via the inbuilt Windows Update option - went thru smoothly
  4. I said Yes and Windows 11 got installed without a hitch
  5. I have also installed Office 365 and it is running well
  6. Installed Printers (Epson Laser Printer) and it is working like a charm


Is it possible that Parallels will prompt me to install a Pre-Release of Windows 11

  • would that not be a violation of all licensing agreements?


Please help...

Jan 18, 2022 1:53 AM in response to BobTheFisherman

I read in one the forums that even if you have a vanilla PC with Windows 11 installed (no Mac, no Parallels) and this PC has a 1TB Hard Drive, the same problem happens --> SQL Server 2019 will not install.


But if you swap the 1TB Hard Drive with anything less than 1TB (maybe 500GB or even 980GB), SQL Server 2019 is getting installed like a breeze.


Seems like the issue is not with M1 Mac (or ARM), it is with Windows 11 and 1TB Hard Drive.


What is your expert opinion on this?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to install SQL Server 2019 on M1 Mac 1TB SSD with Parallels and Windows 11

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.