The MASM Forum

General => The Campus => Topic started by: Mikl__ on March 17, 2019, 02:58:07 PM

Title: How to programmatically read the master boot record in x64?
Post by: Mikl__ on March 17, 2019, 02:58:07 PM
How to programmatically read the master boot record? My program unexpectedly stopped working due to Windows updates. Win x64 Tutorial #38l: Master Boot Record (http://masm32.com/board/index.php?topic=4190.msg55389#msg55389) CreateFile return -1 0000005 ERROR_ACCESS_DENIED Windows Seven Prof, Service Pack 1
Title: Re: How to programmatically read the master boot record in x64?
Post by: hutch-- on March 17, 2019, 05:05:38 PM
I imagine it is Microsoft trying to shut down this form of access for security reasons. The idiots with trojans and viruses are the ones to blame for the ever tightening of low level access to prevent them from trying to find more ways to damage unsuspecting users computers.
Title: Re: How to programmatically read the master boot record in x64?
Post by: Mikl__ on March 17, 2019, 06:07:12 PM
Hi, hutch--! Thanks for the your answer!
The problem was solved as soon as I added the "Run as administrator" property to the exe-file properties