# How to disable PDB load?

**URL:** https://community.hex-rays.com/t/how-to-disable-pdb-load/355
**Category:** IDA General
**Created:** [June 8, 2025, 1:12pm UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355 "2025-06-08T13:12:19Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://community.hex-rays.com/u/alex)
#### Post date: [June 8, 2025, 1:12pm UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/1 "2025-06-08T13:12:19Z")

</div>

hi

i looked into IDA options but i couldn’t find pdb settings. every time i attach to my target, IDA tries loading PDB files for dll; it makes UI nonresponsive and clicking the cancel takes a minute or two.  
how can i disable it or tell IDA to only load specific pdb files.

---

<div class="post-metadata">

### Author: ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)
#### Post date: [June 10, 2025, 8:03am UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/2 "2025-06-10T08:03:19Z")

</div>

Hello,

You probably checked “don’t ask again” at some point when IDA was prompting you whether to load the PDB. Please see [Igor’s tip of the week #78: Auto-hidden messages – Hex Rays](https://hex-rays.com/blog/igors-tip-of-the-week-78-auto-hidden-messages)

---

<div class="post-metadata">

### Author: ![apetenchea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/apetenchea/32/53_2.png) [@apetenchea](https://community.hex-rays.com/u/apetenchea)
#### Post date: [June 10, 2025, 9:45am UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/3 "2025-06-10T09:45:25Z")

</div>

Additionally, you can look for `pdb.cfg`, for PDB-specific configuration.

Here is a snippet taken from that file:

```auto
// PDB information provider
#define PDB_PROVIDER_MSDIA 1 // use MSDIA local/remote provider
#define PDB_PROVIDER_PDBIDA 2 // use PDBIDA provider
//PDB_PROVIDER = PDB_PROVIDER_PDBIDA

// it is possible to specify the desired provider in the command line:
// ida -Opdb:off input_file
// ida -Opdb:msdia input_file
// ida -Opdb:pdbida input_file

```

---

<div class="post-metadata">

### Author: ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://community.hex-rays.com/u/alex)
#### Post date: [June 28, 2025, 7:40pm UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/4 "2025-06-28T19:40:19Z")

</div>

i did reset the hidden messages, ida still doesn’t ask anything; goes on loading the PDBs.  
i also looked at pdb.cfg file but i don’t know what exactly to change; should i comment out every line?

this is what i mean:

 ![pdb](https://us1.discourse-cdn.com/flex002/uploads/rays_hex/original/1X/c3dfdc67fb278151a724402edaed4103717b5080.png)

---

<div class="post-metadata">

### Author: ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)
#### Post date: [July 1, 2025, 6:33am UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/5 "2025-07-01T06:33:52Z")

</div>

Thank you for the screenshot. This is debug time symbol loading which is different from the load time which I thought you meant originally. IIRC there is a switch in debug options but I’m not sure if it is honored by windbg since it has its own internal logic.

---

<div class="post-metadata">

### Author: ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://community.hex-rays.com/u/alex)
#### Post date: [July 2, 2025, 3:28am UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/6 "2025-07-02T03:28:52Z")

</div>

so i should try to find a solution in WinDGB documetation?

---

<div class="post-metadata">

### Author: ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)
#### Post date: [July 7, 2025, 12:29pm UTC](https://community.hex-rays.com/t/how-to-disable-pdb-load/355/7 "2025-07-07T12:29:02Z")

</div>

I think [`.symopt`](https://learn.microsoft.com/en-us/windows-hardware/drivers/debuggercmds/-symopt--set-symbol-options-) could help. For example, I would try disabling `SYMOPT_DEFERRED_LOADS` so that dbgeng doesn’t try to download PDBs in background.
