Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Replace system dll without booting into safe mode?

Thread Tools
 
Search this Thread
 
Old 21 October 2005, 09:14 AM
  #1  
TopBanana
Scooby Regular
Thread Starter
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Question Replace system dll without booting into safe mode?

Long shot, but I might as well try!

I need to installed a checked version of kerberos.dll to enable logging. Normally I'd do this in safe mode, but I can't log on to the box... can you schedule a DLL to be replaced somehow on the next boot-up?
Old 21 October 2005, 09:25 AM
  #2  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

I doubt you could do it with a kerberos dll

Use something like ERD commander or Knoppix and boot from a cd.

David
Old 21 October 2005, 09:52 AM
  #3  
thundertiger
Scooby Regular
 
thundertiger's Avatar
 
Join Date: Mar 2003
Posts: 476
Likes: 0
Received 0 Likes on 0 Posts
Default

cant you use regsvr32? or am i being a thicko?

BB

Last edited by thundertiger; 21 October 2005 at 09:53 AM. Reason: sorry i didnt see the "cant log on" bit!! - see i am thick
Old 21 October 2005, 11:46 AM
  #4  
roblane
Scooby Regular
 
roblane's Avatar
 
Join Date: Dec 1998
Posts: 34
Likes: 0
Received 0 Likes on 0 Posts
Default

safemode is the only "safe" way to do this - you can try batch files which rename the files in system32 and dllcache at the saem time time but they're mostly unsuccessful and often you still need to reboot the box to get the dll loaded if its a system process you're investigating.

If you have a probelm withlocal logon but perms to be able to access the c: drive remotely AND to reboot the box remotely you can do all neccessary work from another machine

1) access boot.ini on target machine over the lan and add a new line:

e.g. copy the existing boot lien and add the the following switches:

/safeboot:network /sos /bootlog /noguiboot

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /fastdetect /NoExecute=OptIn

becomes:

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /safeboot:network /sos /bootlog /noguiboot
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /fastdetect /NoExecute=OptIn

Save the boot.ini and disconnect.

2) Trigger remote restart of the target e.g.

shutdown -m \\target -r

3) Once the box has restarted connect to it over the net and rename kerberos.dll in system32. Copy in the checked one.

Don't replace the one in dllcache.

Set the appropriate kerb reg keys.

Edit the boot.ini again so that the normal boot entry is at the top of the list.

restart the target machine as before..
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Scott@ScoobySpares
Full Cars Breaking For Spares
61
11 January 2021 03:08 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
33
29 August 2017 07:18 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
20
22 October 2015 06:12 AM



Quick Reply: Replace system dll without booting into safe mode?



All times are GMT +1. The time now is 09:56 PM.