Dell Optiplex series 4,  3020 MT, setups, modifications and secrets told .        
Sold in 3 case form factors MT mini tower , SFF small form factor and Micro.  (light weight aluminum case is nice !)  See GPU's tested.
Below is MT case coverage only and is the best, for full expandability.  (the wiki covers this)
OEM Dell Build dates 2013 to 2015.
The PSU adapter works on the sister PC's called 3020,7020 and 9020.  MT
This PC has one of the finest BIOS ever designed with amazing ePSA ( extended Pre-boot System Assessment.) runs even with the HDD missing! 

  
Click to zoom images above.
Featuring these key components:
Intel chip set H81, DDR3-1600 MHz. 16GB max. 4x PCI-express slots, and two USB v3.0 ports, Realtek™ sound chip ACL3220,  and supports most HASWELL Intel CPU processor (Desktop class up to 84watts TDP)
TDP means thermal design power, and is max power (in the form of heat) the CPU uses (at max load)
The 3 minor limits on this PC are , 300watt PSU (no larger sold at Dell and is non ATX spec .8pin +4p connector and non standard standby power voltage +12vdc.)  (SOLVED)

This PC uses a  OEM designed  micro-ATX  motherboard, with 6 screws.  (the manual on it is here) NO BTX Bull.
This PC can run the newest Windows 10 64bit no problems and is fast and very stable. The W10  and older drivers are here.
The Plug and play did all that, took no extra work by me to install W10. (from MS real ISO built USB stick and working Ethernet cable to my router and web connected so PnP can do its job)
If no GPU card, right click the DM , display adapters and click update driver to get the best one from MS. (works even back to year 2004 PCs , all PnP magic at MS) DM= Device manager.

All PCs OEM have some non standard ATX spec parts inside, seen here (PSU) is one surprise but is a simple $7 fix to end that needless worry etc.
There is no spec. (ATX ,etc) on power switches , power LED, nor front panels or its input port plugs, there is NONE.  Each OEM does what works best for them.


Listing of topics :
  1. A Slide show
  2. Power switch secret 1: (pin outs)
  3. PSU upgrade to standard ATX12V  version 2.3 or higher only !,.and the special cable for $6(and The adapter and  pin names on all jacks and voltages (Pin4 and 8)
  4. How to run Embedded Firmware diagnostics spa
  5. Supported CPUs, if BIOS is upgraded.
  6. FAQ's on this PC.
  7. What are my beep codes and or power switch amber blink codes?


Front panel power switch has 4 wires. (3020)   the real power button cable jack is here  a 6 Pin JACK, one pin is missing for 5 total.
For those lacking  real Dell CASE (chassis MT) or lost the power button?

The below is how I test these simple circuits.
See how a generic power switch is wired up here.  (ACPI is complex but not the PWRSW wiring !)  It is just 1 wire and 1 PULL-up resistors to make the power button work.
 
We use this simple fact (current measurements and voltage)   (math ohms laws ) and a meter to find which pin is which.?
What ever you do, do not apply 12vdc to any pin, in fact only ground pins to test them.  5VSB means +5vdc standby power, this is the power that is always there, PC off, and line cord HOT to wall AC jack.
The PSU  has  +12vSB pin at 1.67amps that is not standard at all.  (data: I measured the trip point and is at 4.95vdc exactly so is in fact a LDO regulator.  (but marginal for any real PSU ATX supply.)
The below is GENERIC as a TRAINING AID: (okay?)
This shows  how electronics works in relation to the ICH7 south bridge.
All ACPI power modes are in the ICH chip.(called power states and is complex but the power button is simple and works as show.
The PSU or the mobo can auto trip to power off , if any VRM overloads in the PSU  or  (the VRM onboard any MOBO)
The above is primer on power wiring in a generic PC.
Next up is the actual 3020.

Reverse Engineering(steps): (my wild guess is all Dell 4 (6) pin power jacks are wired like this. (IDK for sure)
 There is no ATX standards here, so Dell takes free license to do as they please and does.
This work below of for hackers, folks putting mobo in any alien case or adding custom remote power on cards or custom electronics of any kind to the below.
I use a voltmeter to find the hot pins (means voltage present = hot)
With my volt meter (DMM) I find the 2 pins on the 3020 power on/jack  that reads at power supply voltage spec  3.3vdc . those are LED and the  power switch pins. the other 0volt pins are ground.
Then I short all pins 1-by-1 that were measured at PSU Standby voltage  to ground using any 100 ohm resistor  jumper and if the PSU is plugged in to the wall AC then the PC turns on. (fans spin ,etc) bingo you found it.
Do not ever short  real power pin, full power not a pull up power pin that is safe to short.
As you can see the power pins operate as a latching function.  (just  kissing the pins with a jumper bam it turns the PSU/PC on.) (pins to ICH7+ chip , ICH7 to PSU and it  turns on)
In fact all top brand modern MOBO have protection resistors on each pin here, and can stand up to any action of grounding any pin here directly even the great and common practice of using a screw driver tip shorting trick.
some Dells have colors here, (proof)

To power switch simply closes or jumps P3 to P6. ( all you need to know is here) The switch a momentary closed   SPST switch, normally open) SPST = single pole , single throw)
The LED is a bi-color LED (allowing polarity reversal)  yellow plastic but glows white or yellow. (confirmed on P2 and P4 this is the power button switch LED pins)
Some newer cables are all black wires, again proof here.
P1   empty cut off pin keyed.
P2 blue 0v, LED cathode power on.
P3 black power on, 3.3v .04ma 8.2k
P4  Orange ,3vdc-on, LED anode
power on LED.
P5  Red.  2 ohms from here to P4
disconnected test. 3vdc on.
P6  yellow 0v, 0-ohms to ground
The pins with voltage present are:  3,4,5 (but changes after power is on)
The power on pin is: (P3) if you ground this pin in any way, the PC will turn on.  or (jump P3 to P6 ground) This is my cable. (actual)

Warning 1: if  you fail  to hook up the LED the DELL BIOS will error F1 each time you boot the PC, ok?   Just by the cable and use it is the cure.
The Acid test for the Power LED blink codes,   is force PC errors (like unplugging all RAM and make sure you get the dead ram blink codes) The factory manual covers all this.
The Power LED blinks 3,3, amber code,  but is code 3, with NO RAM, no Memory installed. (the VGA ports are dead due to NO RAM)
I could not figure out P5 pins purpose or usage. (sorry not wrecking a button to learn this)
This is the bi-color L.E.D. used, (In the power button actual) as you can see the PC does polarity reversal to run this device.

Dell Optiplex CPU new was i5 .  My 3020 MT PC cost me a whopping $50 used, no HDD... i5 included.  No better deal exists on a fast good PC. IMO. MT sized only . SSD upgraded day1.
Dells short CPU list is useless, but the below works,  Dell does not publish QVL lists. for CPU or RAM. (like the mighty Asus.com , Gigabyte and MSI.com do)
(Do not put lame Intel broken Pentium's or Celeron in any PC)
Pentium Gen4, G3320  , Celeron Gen4, G1829 , these are just broken i3's.
Run only a CPU that can run Windows 10 and for sure 64bit (64bit kernel is secure , 32bit is not)
Core gen #4, i3 to i7 are best. (PC has H81  chip set,  and very good that is)
Core 4 up to 84watt TPD power dissipation. ( mobo limits on VRM) See best Dell Heatsink here.
Microsoft.com (maybe not Dell) supports this PC 100% on W10 (all drivers on the card and iGPU will run 100% perfectly) Plug and Play works 100% out the gate fresh load W10-64bit v1903.
The PC came new mostly with the i5 Core. GEN 4   = Haswell Desktop.
Many folks (7000 people shown) rnn the i7-4790 now. (a great upgrade) (I advice  look here first for CPU uses and GPU  installed!!!)
 
Look here in the wiki for CORE gen4, and look only at Desktop CPUs at  95watts or less( only in G4 Haswell and only Desktop)

The H81 chip  spec.

The H81 block diagram is like this.

See my DIY DELL parts list here  and 2 sizes of Heat sinks, and full part numbers.
The 
X3JDD  fan is 95watts, this is the best Heat sink by DELL , the tag on the connector must be marked like this.

Do the 3020 /7020 /9020 PC's   run Window 10 -64bit  (proof is here)  (the MS PnP servers fully support this motherboard set)!

Even the lowly Pentium P4 HT 631 runs W10-64 that 775 socket not yours, but proves the point on old... (and yours is cake walk CORE GEN 4 IT IS.

The wiki covers them all , i3,  i5 and i7 but here is the best CPU list  $$$ = 2019 prices. (used seen on fleabay)



The PSU  funny power cables secret adapter colors and wiring,
Rumor has it that this Adapter ,works with  T20,T1700,7020 and 9020 and not just the 3020.(and does for sure on mine)
SOLVED !
I check this out very carefully so I did not blow up my system as so many have.

I gleaned all these facts from wiki on ATX spec, and reverse engineering every inch by hand.
I needed a bigger (wattage) PSU for my Video GPU card.
See my   Nvidia GPU cards  hogs cards list, this is only the hogs , all others run with stock PSU.
The small 4 pin is ATX standard v2.3 up is best , but not the 8pin seen on the Mobo. , it is Dell 100% unique.
The  Dell key facts to know are:
  1. The stock DELL PSU is 12vdc only PSU,  at 300 watts max. Plenty but not for the Nvidia hogs listed above.
  2. The stock PSU has no +5vSB standby pin but in the stead, a 12vSB  standby pin. (non ATX)
  3. I tested said pin at the Mobo purple and the threshold is +4.95vdc, ( too low  for normal 5vdc)  < my Data and tests.
  4. The wire color are different on the  2 white wires, and are 12vdc. ATX has no such color and should have been yellow. (as the adapter below cures)
  5. The stock PSU 4 screw mounts are ATX spec.  (so all ATX PSU fit)
  6. To upgrade buy the adapter and new PSU and plug it all in, end of story. (If new GPU card needs power to the 6 pin jack, then use the new PSU cable for that PCI-e cable)
The below is reverse engineering steps to glean the above.

Next up the adapter cable  that cures all my power problems:  (do not read this ,it is only supporting evidence , testing and proofs)
 
Below are the imported $4 china cable adapters, that gringo's in USA sell for $7 to $20 +shipping. Seen on Ebay or Amazon. 



ATX12V SPEC, AND SPEC, COLORS.                                              ATX spec. and the PCIe-8/6 pin or EPS must never be used on this mobo,  the atx12v is correct 4 pin. (v2.3) CPU power jack .


If standby is working okay, a tiny Motherboard SMD Orange LED glows about 1/2" inch from left the 8 Pin PowerCON  connector, if not the PC  will not turn on until 12vSB power is restored. (bad PSU?)
The Orange LED glowing means do not unplug internal parts until all AC line power is removed (do not HOT plug devices inside any PC)

FACTS to skip , (only for me) "proofs and supporting documents"
The Molex P/n for this plug is (Minifit jr. 4.2mm pitch)) 5566-8 socket or 5557-8 plug (seen here)   or here at Mouser.com( I say this only if you want to make your own cable from scratch from a scrapped PSU cable)
My Pin number # are molex spec, not Dells. Male 5557-8-BL end.(5557-08R-BL) First sold by molex year 1990.
The only potential problem is here:
Looking INSIDE THE PSU  (Dr; Evil)
Both White/yellow wires go inside the PSU and connect a single RAIL, and is 0.00 ohms between them. (and voltages exactly the same, so again one rail,  and rated at  near 25 amps  and the limit is the wire gauge not the VRM.
The PSU may in fact violate the 240VA limit rules(ATX) on each 12vdc rail. (now deleted limit by ATX rule makers)   (I'm not sure and have no 250 watt load bank here)
The truth of all this is covered here. by Mr. Mark Allen. (thanks Mark !)
The PSU has an  8 amp fuse inside.(pig tailed cylinder normal looking fuse)
All black wires also go to a single point. (ground)inside PSU.
Now back to the business at hand, the upgraded PSU:

Actual:  Top photo view is right side. (note the VRM chips just below the molex 8jack )
The actual location of purple is top right corner, this photo is rotated CCW 90degree's I did this to match MOLEX documents.
The above is DELL normal colors and below is new with  my  adapter.
I am using molex Pin number spec.'s only.  P1 to P8
The Motherboard has ink mark for P1 too, top left in photo above.    The Motherboard asserts pin 8 with 0vdc to turn on to  PSU. (or when bench tested, jump P7 to 8
I think dell used this custom power to  remove move VRM from the PSU and moved them to the mobo so what power is vastly more quiet (less noise) this is true but is my guess why they did.
P1 Purple
Standby
power 12v
P2 black
ground
P3 black
ground
P4  gray
Power Good
output 5v

P5 yellow
12vdc raw
P6 yellow
12vdc raw
P7  black
Ground
P8 green
Power on
input ! 0v

------------------------^lockside^------------------------- (mobo jack viewed)
  Jumper pin 7 to 8 and PSU turns on , a bench tested.  The PSU will run forever, jumpered.

There are 2 views , mobo socket view and end of  PSU plug view. This is mobo socket view.
Molex view. and #  Seems Dell uses the same pin # names as molex drawings do.

Note the small lie here, ATX this is NOT ATX spec. of ANY KIND. and for sure not EPS-12v
Data (collected by me using meters) Careful testing or risk blowing up good parts. (SOLVED)
MY NEW raw data (live testing) for the above jack:  (all voltages real and measured by me)
Super secret #1 is ?:
P1 Standby power is 11.3vdc "ON"(and I measured the trip point threshold on this pin, using variable power supply, and was  at 4.95vdc exactly   < reverse engineered by me.
P2 , P3 and P7 black, are 0.0v ground.  as is pin 7.For sure GROUND and confirmed.
Pin  4 gray is 4.9v "POWER OK"  output to PSU status. ( 5v = Power ON and 0v mean off (logic pure). just like ATX
Pin 5 and 6 , Yellow  is 12.17vdc  exactly on both pins and tells me there is only one 12vdc VRM inside the PSU. Raw power from PSU. ( I think proves it is a Virtual RAIL PSU) Same exact voltage hints to that.
Pin 8 is 0.06vdc, the "power ON input"  (PC powered on)  The PSU and the MOBO VRM's can see overloads and turn the PSU off in under 1 second, even in 16mS fast.
The above PC has no 12vPCI aux power cables to run high end Video cards, so we replace the PSU first.

The JOY OF lots of cables and connectors can be confusing,  even with ATX spec,. The below is ATX spec, parts and are not used on many DELLs.
Do not let the smoke out wiring this up wrong. (that be NO JOY):
The big blunder here is 2 fold,  using the word ATX above markings, and even vastly worse, not using  custom MOLEX jack with custom keys ! no ATX keys !!!
The best fix would have been  to make the 2 square keys not SQUARE ending blowing up new PSU, but alas we can't put the tooth paste back into the tube. (but I never just guess, when I see non spec parts I read, or use my meter)
Later:
 
NOTE carefully the unique  MOLEX  keyed SHAPES on the plug below, same as wrong using EPS above, but  dead to rights wrong (boom smoked if wrong) Luke "Avoid the dark side" do not guess.

Below are real ATX v:2.2 or v2.3 modern PSU, that use ATX12v spec connectors and correct colors. the yellow (ATX spec) means 12vdc rails, black is ground.  The PCI-e work on  Video cards (hogs)


 The 4 pin above works on our 3020 mobo VRM jack, do not use the 6 pin unless inserted into a high powered, GPU card, or let the smoke out.
The 4 Pin powers the CPUs VRM regulators modules and is NOT OPTIONAL
If any GPU card has 2 Aux jacks both need full power to both Jacks ,not just 1. (from the PSU directly) as much as 20 amps each may be needed. (the 2 jacks means I am a power hog feed me or you will BSOD)
One serious issue using old PSU's  is the minimum current spec, sees 3.3vdc rails/ 5vdc rails with no current  allowed and self shuts down.  (yah that) < mostly RARE to see today.
Just buy  a PSU that has equal to , or greater amps listed on the side sticker label.  (ON all RAILS)
Buy a PSU with spec version 2.3 not less, and no minimum current limits.  (if a rail goes dead at low current it is not Haswell certified PSU , i3 up gen 4.)
Watch out for any PSU  with  minimum 3.3vdc load of 3amperes  or on the 5vdc rail, and if this trips the whole PSU goes off line (power_OK false) (Again Haswell gen4 limits)
The PSU should run ok at 0 amps load on any pin, per ATX spec; but  some do not. (avoid cheap PSU? or relics) this is rare. Mostly  junk grade PSU problems.
One way to avoid this is run the HDD/SSD/DVD drives power directly to the PSU, not using this mobo power feeds for those. Leaving only un-used 3.3vdc to worry)

The rules of this game are simple buy new PSU, not 10years old, and from top brands not "
XinTongYe or the like"
I like what is seen on Newegg, and one is Thermaltake brand., or Corsair.  (buy PSU that has no 1x4 molex power plugs for year 2000 HDD or DVD , buy only SATA grade PSU, for sure if used. (nor floppy power)
There is no need for 2 decade old device power plugs today, only SATA, mobo and PCIE power.
One way to avoid tons of useless cables inside any PC and better air flows., is this choice, modular design. 
Only connect up cable 1 to 4 below top down list right side.  (note how the   avoids ATX true wire color spec)
This is my PSU.

See my page on bench testing any PSU

MY PC is now fully modified, and works perfectly.  ( a whole 5 minute job cable in hand , adapter)
MORE TEST DATA BY ME: (power consumption testing) "I use both PASSMARK and FurMARK to overload the 2 main processors"

Before modifications , the  AC power line current on my PC uses  24 watts w10 idle,   (no GPU card at all) NO LIE my PC before hacking is A GREEN PC at 24 tiny watts.
With my new GTX650 card (old card sure and power hungry) (Kill-o-Watt) data (measurements)
Standby power off, 12 watts
W10 idle, 84watts
FurMark GPU bench-mark  fully loaded, is  282watts, never green, but wow fast, there is no free lunch. "that faster CMOS is clocked the more power it uses (wastes)" Physics at work.
The larger the fan 120mm,  the quieter it will be, and for sure a smart fan will be the most quite of all even silent below 20% load.





We now know the mobo, 12vSB input has a  LDO regulator inside that works at 4.95vdc, (on the cusps of working) This is a fact, that I discovered. (tested  and has a touch of 
Hysteresis  a bit lower Vdc)
DONE:

FAQ:
  1. Can I run a SSD DRIVE , yes ,even run 3 SSD drives. or  a mix of HDD/SSD and kick the DVD drive out and replace with a HDD/SSD caddy drive using  this DVD space. (yes it can even boot the PC) 
  2. Can I clone the old HDD to SSD sure you can (I did) and it will run, but the old Dell recovery partitions will now be useless. (best is to upgrade to W10-64bit  and own your own paid for ISO  and COA)
  3. Can I replace the PSU with standard PSU ATX12v , yes  as seen above (buy the adapter ,plug in new PSU ,done)
  4. Can I upgrade the CPU, for sure yes, up to i7- 4790. ($130 used)  i5-45xx and 46xxx
  5. Can I run Window 10 64bit, yes. (fresh loaded, and boot to DVD or USB stick installer , with Microsoft ISO built. (using MS tools to that ) (in BIOS turn  on all advance CPU features, first, NX/ND/TXT/VT(x) etc.)
  6. Will W10-64bit run on that dirt cheap Pentium gen 4? answer , yes ! even the $20 CPU sold on Ebay! G3320 !
  7. Can I load 16GB of DDR ram, yes, buy it from Crucial.com and sure. 1600MHz rated, the vendor will show you what works.
  8. Can I upgrade the the GPU ? Yes, with  a modern powerful GPU card, sure. The  GTX750 with no PSU swap,  or better a GTX1050-TI or any card that fits and with a PSU upgrade.
  9. Will my new GPU card fit the case?  not hit the HDD cage? ( the space is 10.25 inches or (260mm) there are 100s of cards, sold, each as a data sheet and size stated , check first card sizes).
  10. What are the Nvidia card wattage spec.'s that might exceed 75watts, the full Nvidia list and  best here, but I made a counter list of power hogs that all need a larger PSU.
  11. The GTX750 is an old but  fastest card old card , at 75watts max !  + cheaper  and best of all no PSU upgrade needed.
  12. My PC has amber LED blinking error codes, what do they mean? , well the manual tells you that, if you read that. (yes, do read the manual ;RTM)
  13. What heat sink grease is best, easy,  Shin Etsu !  G751 or better, ZERO HYPE !
  14. My fan(s) run  too fast, but PC is not overheating , answer turn on the autofan mode in BIOS, so it can regulate better.   For real overheating see here.
  15. What CPU processor do  I have?, Answer:  in the windows run box type, "system information" with no quotes,  and bingo, there it tells you. (OR IN BIOS F2 page click information, bingo)
  16. Why does my heat-sink over heat,  you may have the wrong one 20mm , only the DELL 06GCNY (deeper fins 32mmm), rated at 95watts,  see both HS together here.
  17. Where is Dell parts lists,  Dell thinks you don't need one, so here is mine,,,,or the a good parts picker is here, 
  18. Why a GTX690 GPU will not run with the factory PSU, because that GPU uses 300watts all by itself, so only  a PSU upgrade works here, a 600Watts ATX12v PSU, with adapter cable   $4-8 
  19. What AC power "watts" minimum does my PC  use, with no modifications at windows desktop, idling, answer 24watts, (yah the whole PC) how much max load on CPU/GPU , answer 36watts. (Pentium CPU version)
  20. What cards fit this PC, PCI-express. See My PCI-express card size page here. (full spec) for sure heights and more...
  21. How much power does my newer GTX650 power hogging GPU card use. (110watts itself and the whole PC 192watts running the FURmark GPU overloaded)
  22. How fast is my: GTX650 and running  PASSMARK 3D burn-in test, scored 2576 -26% DX12.
  23. Why does my PC use so much power (wasted) answer: The faster you clock these chips the more power it burns. (Entropy) or more simply , no zero loss, super conductor chips are made, all use  power., all waste power.
  24. How can I be more green, well stop looking at huge screens and not game.  (both waste  huge power and use only LED/LCD screens or OLED, never use plasma or halogen back lamped relic screens.)
  25. A Gaming PC may use over 500watt (wasted) energy to go that fast,  a PC Notepad is like 5watts.  100 times less.  Speed burns power, that is all you need to know for now.  (not idle /sleep mode, actual desktop power!)
  26. My PC is dead, why? (generic answers long) , or is my motherboard dead.?
  27. What are PSA diagnostics, see below answer.
The wasted power on any chip only heats up your  room, this waste does not make games go faster no make any logic in the system do more work it is pure Entropy  waste.  (if you could do CO-GEN on the waste sure, recover some.)
If it is winter and the Heaters your home are running they run less often and you actually do now waste any heat at all,  the HVAC runs short on-times (the thermostat) due to the PC expelling heat.
In the summer with HVAC in cooling mode,  your PC power with 500w expelled, is more like a 600watt loss due  to the HVAC losses, (SEER) added. (not counting HVAC cooling all else in the home)
When not in a room turn off all lights and power wasting devices. (like mom said "hey got stock in the light company")? Or grand-dad, "where you brought up in a barn"?, close the door. Even more true today.

This PC has firmware embedded DIAGNOSTICS called "ePSA" , Enhanced Pre-Boot System Assessment.   Dell Optiplex PC's are great PC's !
This
tool runs even with the HDD removed ! (it resides in FIRMWARE is why.)
IT IS THE BEE's Knee's.
See beeps here
The top 3  errors on any PC and sure same here is bad laptop battery death (or shorted worse) but not applicable to any desktop.
The RTC coin cell dead at 7 year mark, and last HDD death at 5 years (common) below 2.9vdc is no good and doomed if close. (3.3v is normal )
Next is HDD failures (5years old or  more)
Before doing all the HDD tests, turn on S.M.A.R.T hard drive testing in the main boot F2 menu's so the HDD tested properly
Power on PC and hammer the  F12 key gently, tap tap tap F12 then pick Diagnostics from the boot F12 boot menu list.
The HDD test is very important to run and will run on encrypted drives and Bitlocker drives (it does not touch your data, is how this works) the HDD under test  can be blank or a non Dell HDD of any kind (SATA).
To abort tests , hit ESC key, then click check box "Thorough Tests" mode (full), and use the space bar (help = F1) and de-select all tests but Hard Drive 0 (boot drive) and then  click run tests for a better HDD tests

2000-0151 (this error code flags any HDD that has failed S.M.A.R.T tests 142 ! or any HDD errors, not just lost boot files or just can't boot) 
If the HDD is missing or not connected , the 151 pops up fast! (and begging for F1, (no boot found)
If the HDD fails, we run a boot Linux "Disk Test" in demo mode.
If  any HDD fails  S.M.A.R.T tests. You can install Windows fresh 10 times and will never install or fails fast. (buy a new drive now)
 

The other PSA codes are here.! at DELL.com easy as eating pie to find.

Here is the HDD failing, (the drives are bad if S.M.A.RT or ePSA or PSA  , learn to believe PSA it will not lie to you and the HDD actually has a brain inside that does all this magic, 2001 to now.
The below laptop battery, ignore that for any desktop PC,  there is no such part;
The below errors first a new main battery is to be installed  then charge it and then see if the HDD wakes up from the dead?,  as many  know, low power  can make the HDD self shut down to protect itself. (a FACT)
  PSA

The power on button LED has blink codes too and can beep, all this is in the manual to read.
The top of the SATA cage has  beeper that beeps on errors. (It first plays a melody like song first,  then uses beep codes and the power button flashes yellow (amber) same code)
The codes are in the manual on page. 39/of 47, code 2,4  is dead coin cell, 3,2 (a USB device shorted) 3,3 memory failures, I pulled the case fan got code 5,1,1. (newer BIOS, more codes, that I do not know yet)

Best links:  
Youtube secrets. on PSU and power switch .

INTEL (tm)   best processor. Gen 4 , CORE:

My parts list with Dell P/N (DP/n)

This PC does have standard devices. (my list of yes/no standards)

The ATX motherboard holes are and industry standard, per this drawing.  and this too.

ATX  PSU RAIL, facts best I've ever read, and is true.

WHAT ARE RAILS:


More photos:
My i5-4670 is much better than the Pentium.
Here is mine.


The FAN deep is Dell P./N  06gcny (with or with out that 0)  one on the left is 20mm , and right is 32mm.   95watts on the right I think. (Dell fails to tell much)


Look Ma... no Dell PSU ! Trick too for huge GPU (long) remove the HDD cage and run  SSD strapped to the front. Even kick out the DVD cage,  to run super long PSU's say 800watt up.


See Micro_ATX (m_ATX)  is a SUB SET OF ATX HOLE SPACING,  ( The 2 key documents are Here and  Here)

My list of working GPU cards on all my Dell PCs. is here. (see all cards tested and results) 




Lets talk RAILS,
(PSU topic) 
WHAT ARE RAILS:


New PSU, GPU card ,heatsinkfan,SSD, HDD 1TB,  processor i5,

Not covered here: is me reverse engineering the front panel USB jacks or HDD activity blink LED fully , just buy the panel for $10 if lost or missing and avoid that pain.
This page I made helps others mix parts up and get a working PC.

version 3.  4 -23-2019 . No association with DELL company, am a Retired USER only now.  and this page is only my Opinion....