Solved How can I replace & override orig dll file. Says need permission.

jons

Member
I want to replace a dll file in system32 with another one. It says I need permission.

Is there a command in cmd that can replace this with another one? Or any other way to do this?
 

My Computer

System One

  • CPU
    it 870
    Memory
    4GB
    Graphics Card(s)
    GT220
    Monitor(s) Displays
    30" + 24"
    Screen Resolution
    1600p
    Hard Drives
    old 320GB
If you use the built in Administrator, you will have the necessary permission.
http://www.vistax64.com/tutorials/67567-administrator-account.html
That being said use extreme caution when accessing a dll account, be sure you know what you are doing. You can cause problems that you may not be able to resolve. Before starting, create a system restore poing.
 

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    Memory
    6 gig
    Graphics Card(s)
    ATI Radeon HD3650 256 MB
    Sound Card
    Intergrated 7.1 Channel Audio
    Monitor(s) Displays
    Dell SP2009W 20 inch Flat Panel w Webcam
    Hard Drives
    640 gb
    Cooling
    Fan
    Keyboard
    Dell USB
    Mouse
    Dell USB 4 button optical
    Other Info
    DSL provided by ATT
Most programs will search the folder where the exe file is located for a DLL before the system folder. So if you just need a different DLL for a program or two, try copying the DLL to the same folder as the exe file(s).
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion m9515y
    CPU
    Phenom X4 9850
    Memory
    8 GB
    Graphics Card(s)
    Some Radeon Cheapie with 512 MB Ram
    Monitor(s) Displays
    CRT
    Screen Resolution
    1280x1024
    Hard Drives
    750 GB SATA 3G
    2 SIIG Superspeed docks w/WD Caviar Black Sata II or III
Most files in the system32 folder are owned by the TrustedInstaller account and even the Administrator account does not have permission to replace them. This is a part of Windows Resource Protection and is a good thing. If really necessary it is possible for an administrator to replace such a file but I will not describe the procedure. Many system files are normally in use and cannot be replaced while Windows is running. Many system files are part of a set and cannot be replaced individually.Replacing system files is not to be taken lightly and you really need to understand what you are doing. Get this wrong and you could have an unbootable system.

Whatever you are trying to accomplish there is usually a better way, such as what MilesAhead has described.
 

My Computer

I wonder why a system file is being replaced?
 

My Computer

System One

  • Operating System
    Vista Home Premium 64 bit SP2
    Manufacturer/Model
    Cyberpower
    CPU
    Intel Quad CPU Q6700 2.67 GHZ
    Motherboard
    NVIDIA 780i
    Memory
    4 GB
    Graphics Card(s)
    MSI GTX 560 TI Twin Frozr
    Sound Card
    Sound Blaster SB Audigy
    Monitor(s) Displays
    Viewsonic VG2436
    Screen Resolution
    1920x1080p
    Hard Drives
    Samsung HD 105SI
    WDC WD20
    Case
    Apevia XJupiter
    Cooling
    air
    Keyboard
    Logitech MX 3200
    Mouse
    Logitech MX 600
    Internet Speed
    30 Mbps
I wonder why a system file is being replaced?


I suspect for example hal.dll is corrupted. Is there anyway to replace this with the original from the windows disc? I tried repair but it found nothing.
 

My Computer

System One

  • CPU
    it 870
    Memory
    4GB
    Graphics Card(s)
    GT220
    Monitor(s) Displays
    30" + 24"
    Screen Resolution
    1600p
    Hard Drives
    old 320GB
Run an MD5Sum on both dlls. If the installed one is corrupted it should show a different string. You should be able to read it with any account.
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion m9515y
    CPU
    Phenom X4 9850
    Memory
    8 GB
    Graphics Card(s)
    Some Radeon Cheapie with 512 MB Ram
    Monitor(s) Displays
    CRT
    Screen Resolution
    1280x1024
    Hard Drives
    750 GB SATA 3G
    2 SIIG Superspeed docks w/WD Caviar Black Sata II or III
Run an MD5Sum on both dlls. If the installed one is corrupted it should show a different string. You should be able to read it with any account.

Thanks, worked easy.

But I also need to check md5 of ntoskrnl.exe 60.6002V. Is there a way to get that off my vista disc onto desktop?
 

My Computer

System One

  • CPU
    it 870
    Memory
    4GB
    Graphics Card(s)
    GT220
    Monitor(s) Displays
    30" + 24"
    Screen Resolution
    1600p
    Hard Drives
    old 320GB
From a command prompt change to the root of the optical drive that has the disc and do
dir ntoskrnl.exe /s

on XP the system files were under i386 but I don't know where they are on the Vista disc. Maybe someone else knows.
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion m9515y
    CPU
    Phenom X4 9850
    Memory
    8 GB
    Graphics Card(s)
    Some Radeon Cheapie with 512 MB Ram
    Monitor(s) Displays
    CRT
    Screen Resolution
    1280x1024
    Hard Drives
    750 GB SATA 3G
    2 SIIG Superspeed docks w/WD Caviar Black Sata II or III

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Back
Top