How to fix Cisco ASDM font size too small | GOLINE
Goline Logo



  • Route RPKI validation April 1st, 2022
    RPKI is a security framework by which network owners can validate and secure the critical route updates or Border Gateway Protocol (BGP) announcements between public Internet networks. BGP is essentially the central nervous system of the Internet and one of its fundamental building blocks. The main function of BGP is to facilitate efficient routing between Autonomous Systems (AS), by building and maintaining the Internet routing table. The Internet routing table is effectively the navigation system of the Internet and without it, traffic would be unable to flow between its constituent networks. Unfortunately, routing equipment alone cannot distinguish between legitimate and malicious routing announcements,...
  • RIPE – Atlas Anchor February 17th, 2022
    We have become an even more integral part of the RIPE Atlas project by hosting an anchor, a device that allows for latency analysis of traffic between autonomous systems. Atlas anchors play an integral role in the RIPE Atlas network by acting both as enhanced RIPE Atlas probes with more measurement capacity, as well as regional measurement targets within the greater RIPE Atlas network. Anchors are able to perform many more measurements than a regular RIPE Atlas probe, and the large amount of data they collect is made available to everyone. In addition, anchors act as powerful targets that can...
  • MANRS June 20th, 2020
    GOLINE firmly believes in initiatives to protect networks, improve security and resilience of the global routing system. Therefore we decided to support the MANRS project and join as participants.Mutually Agreed Norms for Routing Security (MANRS) is a global initiative, supported by the Internet Society, that provides crucial fixes to reduce the most common routing threats. MANRS offers specific actions via four programs for Network Operators, Internet Exchange Points, CDN and Cloud Providers, and Equipment Vendors. Requirements for Participation Please read the full MANRS Actions document before applying. You can become a participant if you meet these requirements: You (or your company) support...

How to fix Cisco ASDM font size too small

Caparrelli Paolo Cisco ASA 27 October 2022

This happens because ASDM uses Swing which automatically tells Java that it is DPI aware.  
Java passes this information along to Windows, so Windows doesn't scale it.

If you are using Java 7 or before, you should be able to modify the arguments that are passed to Java to override Swing's DPI setting by modifying the following line at "%ProgramFiles(x86)%Cisco SystemsASDMrun.bat" from this:

javaw.exe -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true

To this:

javaw.exe -Xms64m -Xmx512m -Dsun.java2d.dpiaware=false -Dsun.swing.enableImprovedDragGesture=true

Unfortunately, Java 8 now has this setting hard-coded into the javaw.exe file itself, so this method will no longer work.  
Now you have to download something like Resource Tuner and modify the file itself. This is a good tutorial on how to modify it.

5 1 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x