I understand your concerns regarding the limitations and sanctions affecting your Microsoft account. Microsoft has to comply with U.S. export regulations and sanctions, which may restrict access to certain services from specific countries, including Iran. This could be the reason for the issues you are experiencing with your account.
For your technical questions regarding programming and obtaining the kernel SDK via Visual Studio, you can typically access the Windows Driver Kit (WDK) which includes the necessary tools for developing kernel-mode drivers. You can download the WDK from the Microsoft website. Once you have developed your driver, you can submit it for signing through the Windows Hardware Developer Center Dashboard.
If you need more specific assistance regarding your Microsoft account or the sanctions, I recommend reaching out to Microsoft support directly through their official channels.
References: