Windows 10/Server 2016 Graphics Troubleshooting

Windows 10/Server 2016 Graphics Troubleshooting

This article is contributed. See the original author and article here.

My name is Susan, and I am a Support Escalation Engineer on the Windows Performance Team at Microsoft.  A special thanks to EE Dan for his input.

This blog will address how to troubleshoot graphics issues in Windows 10 and includes identifying and data collection.


Scenario



  • You have a Windows 10, Server 2016 or later showing graphics corruption such as black bars*, trails*, artifacts* when moving windows, or distortion. (*Defined at end of this post.)


Troubleshooting


When you experience graphics corruption, always start by isolating it to a specification application, OS, and identify steps to reproduce the issue.



  1. First, confirm if the issue is specific to an application. If it’s only a custom in house application, or a 3rd party application, please engage the vendor of the application.

  2. Take a screenshot of the distortion, or a video demo’ing the distortion (use your cell phone if necessary).

  3. In this example, let’s assume Word is the only application impacted:


    1. Test starting the application in Safe mode (if applicable)

      • Start > Run > Winword /safe





OR






      • Hold down the CTRL key while starting the application until the following prompt appears:
        wordsafe.png



    1. If the issue does NOT reproduce, begin investigating Add-ins that may be impacting the application:

    2. Start the application normally, and Enable Hardware Acceleration

      • Microsoft Office 2019/16/13 is a great software for Windows 10/8 if application specific (e.g. Office) test Enabling the Disable Graphics Acceleration

      • Click File file.png

      • Click Options
        options.png

      • Click Advanced

      • Scroll down to the Display Section and Enable Disable Hardware graphics acceleration (screenshot shows it is currently disabled)disable.png





If the issue is more systemic:



  1. Update the Graphics Card driver/GPU to the latest drivers and reboot

    1. Use Device Manager and click on Display Adaptersdisplay.png

    2. Select the adapter, right-click and select Update driver

    3. updatedriver.png



  2. Test using a lower video resolution on the OS or the Base video

    1. Start > Search > MSConfigbase.png



  3. Boot into Windows Safe Mode with network and test

    1. Start > Search > MSConfignetwork.png



  4. In many versions of Windows 10, WPR is built in. Use either following the GUI or command line below 
    wpr -start gpu -start video -start audio




      • Reproduce the issue e.g. run a workload such as video playback or a real time communications scenario, or dragging an application across the screen.

      • Run the following command:


      wpr -stop Media.etl

      GUI https://docs.microsoft.com/en-us/archive/blogs/jeff_stokes/how-to-collect-a-trace-for-audio-or-video-problems-in-windows-7



  5. Run DxDiag

    1. Start > Search > DxDiag
      dxdiag.png

    2. Check the Video drivers and confirm they are up to date.  If an update was just applied, you may wish to rollback and test.

    3. Lastly, Save All
       

       

       

       

      saveall.png





  6. Last resort: gather a complete memory dump of the Operating System while the distortion is present.


 


*Glossary and Guide: graphics issues



  • Black Bars:  desktop may appear to have black lines either vertical or horizontal.

  • Trails and Artifacts: On moving a tiled window or application, it may leave a trail of what appears to be orphaned. 


 

Getting insights into the utilization of SQL Server licenses on Azure to optimize cost

Getting insights into the utilization of SQL Server licenses on Azure to optimize cost

This article is contributed. See the original author and article here.

How to reduce the cost of running SQL Server on Azure


Azure offers a unique combination of powerful options that allow you to substantially reduce the cost of running SQL Server in the cloud. These include:



  1. Using Azure Hybrid Benefit for SQL Server to bring your SQL Server license with Software Assurance to Azure SQL resources such as SQL managed instance, SQL database, SQL Server in Azure VMs, and others.

  2. Deploying your disaster recovery SQL Server replica on Azure at no cost for the SQL Server license using the High availability and disaster recovery benefits for SQL Server.

  3. Using SQL Server Developer Edition running in Azure Virtual machines at no cost for the SQL Server license for development or testing workloads, and leveraging Azure Dev/Test pricing to get discounts on VMs, dev tools and many other Azure service to support your ongoing development and testing.


Steps for Managing SQL Server license


The key question many customers ask is how I can get the maximum savings by leveraging Azure Hybrid Benefit while staying compliant with the existing number of SQL Server core licenses I have. To answer that question, you need to know several things.


First, you need to know how many SQL Server resources your company deployed to Azure that are not taking advantage of Azure Hybrid Benefit and are billed using the Pay-as-you-go prices (PAYG).


Second, you need to know how many on premises licenses with SA your company assigned to SQL Resources in Azure using Azure Hybrid Benefit.  


Finally, you also need to know how many SQL Server resources on Azure do not need a license at all. These include:



  • SQL Server instances that are secondary passive HA or DR replicas on Azure and covered by the SA benefit

  • SQL Server instances running Developer or Express editions

  • SQL Server instances deployed to the Dev/Test subscriptions


Introducing a simple solution to help you manage SQL server license usage


Obtaining the above information involves querying different SQL resources, understanding which category they belong to, checking their size in vCores, and then calculating the total usage in each category. This task needs to be repeated to track the usage at the Azure account level and over time. To make sure you can easily obtain this information, we published a PowerShell script that automates all the above steps and provides you with this information today. The script and the detailed instructions can be found in the Azure Hybrid Benefits folder of Azure Data Sample Repository on GitHub .


The script will scan each subscription in the account and calculate the license usage for every resource that generally requires a SQL Server license to run. Those are:



  • Azure SQL databases (vCore-based purchasing model only*)

  • Azure SQL elastic pools (vCore-based purchasing model only*)

  • Azure SQL managed instances

  • Azure SQL instance pools

  • Azure Data Factory SSIS integration runtimes

  • SQL Servers in Azure virtual machines

  • SQL Servers in Azure virtual machines hosted in Azure dedicated host


* The DTU-based resources are not eligible for Azure Hybrid Benefit or HADR benefit.


But, as we discussed earlier, in some cases the license is not required, and when it is required, you can use Azure Hybrid benefit, or leverage  PAYG license.


The script allows you to specify a single subscription to scan or multiple subscriptions. If not specified, it scans all the subscriptions in your account and produces a SQL Server license usage report for each subscription. The report will look like this:


License usage data.png


By default, the script saves the report as a .CSV file but you can also specify a SQL database and the script will save the results in a table called Usage-per-subscription (it will be created if doesn’t exist).


These numbers are a snapshot of the SQL license usage in each subscription at the time of the script execution. That moment is represented by the Date and Time columns. But, these numbers often are very dynamic due to the new resource deployments, cancellations of test runs, spinning down developers’ VMs, scaling the resources up or down, etc. Therefore, a single snapshot like this is of limited value. The good news is that the script is designed for periodic snapshots.


Each new scan will add the results to the same file or table. This way you can easily visualize the license usage over time. For example, you can open the .CSV file in Excel and create a pivot chart that shows the consumption trends. If you store the results in a SQL database, you also can use Power Pivot or create a PowerBI view. The following is an example of a daily trend of the number of consumed vCores that are covered by Azure Hybrid Benefit and the number of consumed vCores that are billed at PAYG price.


License utilization chart.png


NOTE: the script does not calculate the usage of Server/CAL licenses by the SQL VMs as that information is not yet exposed through the ARM API.


Running the script


To run the script, you can use a PowerShell CLI version 7.1 or higher on your local machine connected to Azure. Alternatively, you can use any Web browser and launch the Azure Cloud Shell. Could Shell is guaranteed to run the latest version. For detailed instructions of running the script, see the Azure Hybrid Benefits folder of Azure Data Sample Repository on GitHub.


Automating the process


The next logical question is what if I want to automate this process and eliminate the manual steps? You can do that by using an Azure Automation account with a PowerShell runbook containing a copy of this script. The Runbook tutorial will provide you with the details of how to create a PowerShell runbook. Note, because the script accesses the resources across multiple subscriptions, the runbook must be able to authenticate using the Run As account that was automatically created when you created your Automation account. For your convenience, the logic required for Runbooks is already part of the script and controlled by a UseInRunbooks command line parameter. You can learn more about this additional logic in the Add authentication section of the Runbook tutorial.


Staying compliant


When you analyze the license utilization results, you should engage your procurement and/or software asset management departments to confirm license availability before taking action to commit more licenses to Azure Hybrid Benefit. For example, if all your licenses are in use on-premises, you should not double utilize them on Azure unless you are in the process of migrating SQL server instances to Azure. In that case you have 180 days to use licenses in both places.


Next steps


Learn how to use the tool and generate SQL license usage data.


 

Retailers innovate with Microsoft technologies

This article is contributed. See the original author and article here.

The retail industry is constantly evolving to offer us an even better, more effortless customer experience. We all have our personal experiences on what we think works well and where we see some room for further innovation. Innovation in retail has accelerated during the last year to solve for new challenges in managing the supply chain and the store environment itself for employees and customers alike.


 


New shopping options have become available and many of us now order even more products online including groceries. Third-party services have popped up enabling online ordering from stores that do not offer their own online shop or delivery services. Many retailers also offer a hybrid experience with curbside pickup where the consumer drives to the store but does not need to go inside while their order is safely delivered to their car. Retailers have solved the curbside pickup option differently — some have integrated it into their mobile app where you need to enter the parking lot number after you have arrived, some rely on text message technologies and others have you call a number and tell them that you’ve arrived and where you’ve parked. There are several companies that use Microsoft technologies which are building solutions where a camera reads the license plate and lets the store automatically know when the customer arrives and where they park. We cannot wait to see that feature rolled out to our favorite stores.


 


Like in any industry, companies are in different stages of their transformation. It has become increasingly clear that companies of all sizes in the retail industry are transforming at an accelerated pace to address the current circumstances.


 


Retailers who reach out to us are often focusing on innovating to deliver an unforgettable customer experience — enabling pick-and-go shopping, maximizing on-shelf availability, and reducing shrinkage. In most cases, the solution requires some sort of edge computing capabilities which can reduce latency, keep sensitive data in the store without sending it to the public cloud if desired, and keep the store operational even if the connectivity would be temporarily disrupted.


 


“We’re partnering with Microsoft and over 120 retail ISVs who have optimized their AI applications on NVIDIA’s edge inference platform to help retailers bring immediate value to their customers,” said Azita Martin, GM of AI for Retail at NVIDIA. “Edge AI solutions such as asset protection, store analytics, and curbside pickup provide associates with real-time recommendations in the store on Azure Stack Edge and help retailers reduce shrinkage, while providing customers with a faster and more efficient omnichannel shopping experience.”


 


One of the technologies we’d like to highlight is Vision on the Edge which enables retailers to build their own custom intelligent solutions using edge compute and cameras installed in their retail stores. For example, you can build a solution that notifies your employees when an item is out of stock or when social distancing rules are not being followed. You can view a few example solutions developed for the manufacturing industry here to assess what Vison on Edge can unlock for you.  


 


It has been a humbling experience to see the many customers who entrust their edge computing needs on Azure Stack Edge to run their workloads and get quick actionable insights right at the place where data is created using purpose-built hardware-as-a-service. It is clear with what these customers are building that market transformation for the retail industry has shifted into high gear.  The year 2021 presents a strategic window of opportunity for retailers who understand that to compete in today’s market, they must evolve and innovate with the times.


 


Feel free to reach out to your Microsoft account team to find out how we can empower your organization to achieve more.


 


Ready to learn more?



 

Simple Azure Marketplace Virtual Machine Offer: creating VM images and publishing in Partner Center

Simple Azure Marketplace Virtual Machine Offer: creating VM images and publishing in Partner Center

This article is contributed. See the original author and article here.

In the following four videos, we look at how to create Linux and Windows VM images using Packer.io unmanaged VHD and Azure Shared Image Gallery destinations, how to publish these images as Azure Marketplace Virtual Machine offer in Microsoft Partner Center, and how to deploy and test the “preview” offer plans/SKUs.


 


You can see the sample code used in the videos here.


 


1_h-KPWlkpi9G_XZml5cFpAA


Azure Virtual Machine Offer Hierarchy – Publisher, Offer, Plan/SKU, and Version


 


Video #1: Creating Azure VM image for Azure Marketplace Virtual Machine Offer using Packer with “unmanaged” VHD destination


 


Tip: Play the video full screen to see all of the details.


 


 


1_xWdbFmFsayI2kHDih7gOJw


Using Packer with “unmanaged” VHD destination to get the VHD SAS URL for Partner Center


 


Video #2 (optional): Creating Azure VM image for Azure Marketplace Virtual Machine Offer using Packer with Azure Shared Image Gallery destination


 


Tip: Play the video full screen to see all of the details.


 


 


1_8SHRg94M4rzaiR0v8cnqAw


Using Packer with Azure Shared Image Gallery destination and then exporting the image and copying the VHD into Azure Storage account


 


Video #3: Publishing Azure Marketplace Virtual Machine Offer in Partner Center using SAS VHD URL


 


Tip: Play the video full screen to see all of the details.


 


 


Video #4: Deploying and testing “preview” Virtual Machine offer from Azure Marketplace


 


Tip: Play the video full screen to see all of the details.


 


 


Azure VM offer plans can used by Azure Apps


 


Azure Application offers (i.e. Solution Template or Managed Application) can use VM offer plan/SKU inside of their ARM templates. The VM offer plan can be marked as “hidden” so that it is not visible directly in Azure Marketplace UI but can still be used via ARM templates or command line tools.


1_pJr5NLKop6xsCGRfiyxOAg


 


You can find the sample code used in the videos above at https://github.com/arsenvlad/azure-vm-offer-hello-world-202012


 


Originally published at https://arsenvlad.medium.com/simple-azure-marketplace-virtual-machine-offer-creating-vm-images-and-publishing-in-partner-center-599bb0140689 on December 23, 2020.

Upcoming CollabCast with Adobe: Health and Life Sciences In the Age of Digitization

Upcoming CollabCast with Adobe: Health and Life Sciences In the Age of Digitization

This article is contributed. See the original author and article here.

samnpete.PNG


 


COVID is driving a tsunami of digital transformation initiatives in Healthcare and Life Science. But what’s the role and impact of electronic signatures and communication within that industry vertical? During this webinar, Jayashree Ramakrishna (Adobe Head of Industry Strategy: Healthcare and Life Science) will take our audience through a high-level overview of this highly regulated vertical and talk about what’s in-store for Health and Life Sciences in the Age of Digitization.


 


Adobe_Sign_logo_for_mobile_1024px_no_shadow.png


In this demonstration, we will see how Adobe Sign can help support Virtual Consult by bringing patients and clinicians together and sign important documents such as a HIPPA Consent form in Microsoft Teams meeting. 


 


Presenters:



  • Jay Ramakrishna, Head of Health and Life Sciences Industry Strategy, Adobe


         1516339944905.jpg


 


Event details:



OR



 


 


Pete and I will be your producers. Bring your questions and we look forward to seeing you there!


IMG_8280 (2).jpg


Sam Brown, Microsoft Teams Technical Specialist


 


pete.jpg


Pete Anello, Senior Microsoft Teams Technical Specialist