Message boards :
Number crunching :
Kittyman......rig down.....
Message board moderation
Author | Message |
---|---|
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Need a little help here. My #2 rig had a heat stroke a couple of days ago and apparently corrupted UXtheme.dll... I got a copy of the file on a USB thumb drive. I manged to get into safe mode with command prompt. Now how do I find and copy the new file over the corrupted one? I long ago lost any memory of the DOS literacy I once had...and that was limited at best....LOL. Hmmmm... I think I still may have a copy of DOS for Dummies around here somewhere........ "Freedom is just Chaos, with better lighting." Alan Dean Foster |
Ex: "Socialist" Send message Joined: 12 Mar 12 Posts: 3433 Credit: 2,616,158 RAC: 2 |
Sorry kittyman. My solution to this kinda stuff won't suit you, it involves Linux. ;-) ETA: I didn't mean use linux as the OS. (You can boot your pc with linux, and use it to transfer files around a NTFS partition. I'm not recommending this for someone not familiar with Linux CLI, but it is a common method of windows file repair.) #resist |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Sorry kittyman. I suspect Linux can have files corrupted by the PC too.... Thanks, but no thanks. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
You can't get into safe mode with a GUI Mark, it would make it much easier. http://www.belchfire.net/index.php?showtopic=9001 That seems to have good info. |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
You can't get into safe mode with a GUI Mark, it would make it much easier. I am in safe mode with a command prompt window open right now. And the link you give appears to only be valid if you are trying to modify or replace the dll if it is not already broken. Because you can't get into explorer with the file already trashed, as far as I have been able to attempt so far. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
I found this link. I have the file on a thumb drive, and am in the safe mode command window. I just don't know the DOS commands to replace the corrupted file with the downloaded one. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
musicplayer Send message Joined: 17 May 10 Posts: 2430 Credit: 926,046 RAC: 0 |
Mark. I searched for this file on my current Windows XP Home Partition (I have SP2 on my first partition) and found a file with this name in \Windows\System32\ If you are having more than one installation (everything from PC's down through discs and possible partitions), you may have such a replacement file in \Windows\SoftwareDistribution(\Download...). Big structure there. If you are recovering from an earlier crash, like what I am still doing, there may be a difference between the versions of the file, however. Maybe you should get your rigs connected (by means of a local network) if you are not already doing so? That may getting things done much easier. |
arkayn Send message Joined: 14 May 99 Posts: 4438 Credit: 55,006,323 RAC: 0 |
|
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Basically you want the "DEL" command to remove the old corrupt file. OK...couple of things.... With file names, does capitalization matter? IE..uxthem VS USTheme. Second, I would need to verify the current file locations. Something like change dir/c dir? Or something like that? Please pardon my old mind and years of disuse of any of these commands. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
Speedy Send message Joined: 26 Jun 04 Posts: 1643 Credit: 12,921,799 RAC: 89 |
Give this a try type this from the dos command prompt : a: (change a: to what ever your thumb drive is) copy uxtheme.dll c:\windows\system32 and answer y to overwrite the file. Hope this helps |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Why not simply run a System Files Check, and let it fix the issue automatically? System Files Check could not initiate a scan of protected system files. The specific error code is blah blah blah.....the RPC server is unavailable. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
Why not simply run a System Files Check, and let it fix the issue automatically? Dead in the water.....shall try a reboot from disc and repair. Maybe tomorrow, I am too tired and pissed off to undertake it tonight. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
Gonad the Destroyer®©™ Send message Joined: 6 Aug 99 Posts: 204 Credit: 12,463,705 RAC: 0 |
|
musicplayer Send message Joined: 17 May 10 Posts: 2430 Credit: 926,046 RAC: 0 |
For Windows XP, I have found capitalization of the file name to be of no importance, only the contents of the file itself. The dir /x command lists the possible full filename associated with a file. I do not remember whether this is 128 bytes maximum or 256 bytes maximum. If I was you, I would go for overwriting an existing file by means of either move, copy (or possibly xcopy). Do not delete the original file first unless you are totally sure that it is corrupt. Keep it otherwise by means of deleting the file first. I suppose you are not able to boot directly into DOS only if your discs are NTFS-formatted. At least I do not know about any such way when using Windows XP. You may however be able to be doing this with FAT-discs if you are having Windows 98 (or possibly the installation discs for Norton Utilities 95 / 98, which for Norton Utilities I do have on some three or more floppy discs). Norton Utilities I earlier downloaded and unpacked using WinZip/WinRar. The unpacked "installation package" resides in a C:\Program Files\NÙ\ directory on my discs. I use to install Norton Utilities from this setup directory. The installation ends up in C:\Programfiler\Norton Utilities\, by the way. |
fataldog187 Send message Joined: 4 Nov 02 Posts: 42 Credit: 1,271,261 RAC: 0 |
You would want to rename the old file to something else in order to keep it as a backup if (for whatever reason and however unlikely) you need to restore it. Many people add a .old extension to the original file name, ie UXtheme.dll becomes UXtheme.dll.old and then you copy in the replacement file, not needing to delete or overwrite the original. If you aren't able to, or just don't like using a command line interface and prefer a GUI based solution, I would recommend downloading the latest stable release of Ubuntu Desktop, create a cd from the image and boot off of it. You'll have the option to load the live version of the o/s which won't install itself and will only be temporarily loaded into memory for it to run, it won't leave any files behind or make any changes to your drives. You can, however, use it to make changes yourself, open up a Windows Explorer like file manager and copy/rename/delete files. You don't need to be familiar with any text based commands, its all accessible via a nice point and click interface. Not to mention, a disc like this is handy in a number of situations. However, if you are getting corrupt files, you may want to backup any critical (irreplaceable) files and run diagnostics on the drive in question. Corrupt or missing files may indicate an underlying problem with the disk itself. Yes, you have a corrupt file but if you only replace it and move on with life, you have not solved the problem. After you take care of the immediate issue of getting your system up and running, you should be asking yourself "what caused the file to become corrupted in the first place?" |
musicplayer Send message Joined: 17 May 10 Posts: 2430 Credit: 926,046 RAC: 0 |
Yes, I meant to say that for Norton Utilities 95, repeat 95, I do have the installation package on compressed floppy discs. As far as I know, these floppy discs are bootable if you are having a 3.5 inch floppy drive. I do have a full height 5.25 inch IBM floppy drive stored away as well. It probably works and could probably be able to read the contents of a 5.25 inch floppy disc which came with a book about the BASIC language from the Abacus book company a couple of years ago. In the same way, the files from this floppy disc also is stored on a 250 GB IDE disc which I have lying on my shelf. The disc is not working anymore, even after trying it out with excellent recovery software. The disc is your most important property. If you loose its or their contents and are unable to recover, you are stuck. |
Horacio Send message Joined: 14 Jan 00 Posts: 536 Credit: 75,967,266 RAC: 0 |
Basically you want the "DEL" command to remove the old corrupt file. Capitalization does not matter. Usefull commands on DOS: X: [enter] 'This will change to the "X" drive. CD .. [enter] 'change current folder one level up CD / [enter] 'change folder to the root folder CD subfolder [enter] 'change to the "subfolder" folder (if it exists on current folder) dir [enter] 'list all files on current folder dir some*.* [enter] 'list files in the current folder whose name start with "some" dir ux*.dll /s [enter] 'list al files whose name start with "ux" and with dll extension on current folder and recursively on all the subfolders. dir /p [enter] 'pauses the display each time the screen gets filled. If you are going to replace the file, I suggest to not delete de corrupted file. Once you find it, just rename it so if the file is on bad disk sector that sector will not be used by the replacement file. To rename the file use: ren oldfilename.ext newfilename.ext [enter] And to copy the file you can use the "move" command, or the "copy" command, the syntax is the same. The difference between move and copy commands is rather obvious (at least for people that talk in english...) It may happen that the file is marked as read only or as a protected system file. If thats the case, you may not be able to rename it unless you change that attributes. To do that use: attrib -R -S filename.ext [enter] 'Use + instead of - to set the atributes again. (I'm not sure if this will help with the root issue, but I think this is what you asked for...) |
Fred J. Verster Send message Joined: 21 Apr 04 Posts: 3252 Credit: 31,903,643 RAC: 0 |
Give this a try Safe-Mode or DOS-Prompt, doesn't really matter, IMHO. Just over-write the corrupted file with the good file you've on your USB stick, as suggested above. (Had to shutdown all rigs, one had already shut-down the GPU, due to the present heat, even the AC can't keep up, so I'll wait till this evening). |
Ex: "Socialist" Send message Joined: 12 Mar 12 Posts: 3433 Credit: 2,616,158 RAC: 2 |
You would want to rename the old file to something else in order to keep it as a backup if (for whatever reason and however unlikely) you need to restore it. Many people add a .old extension to the original file name, ie UXtheme.dll becomes UXtheme.dll.old and then you copy in the replacement file, not needing to delete or overwrite the original. :-) I tried hinting at this earlier. Linux live cd's/ Ultimate Boot CD, etc, are a great way for repairing bad files on a system where you can't do it with the native OS... There's several ways to skin a kitty. And you make another important point. You can fix the file, but there has to be a reason it became corrupt... #resist |
Fred J. Verster Send message Joined: 21 Apr 04 Posts: 3252 Credit: 31,903,643 RAC: 0 |
You would want to rename the old file to something else in order to keep it as a backup if (for whatever reason and however unlikely) you need to restore it. Many people add a .old extension to the original file name, ie UXtheme.dll becomes UXtheme.dll.old and then you copy in the replacement file, not needing to delete or overwrite the original. Completely right, files do not become corrupted for no apparent reason! (So I would do a complete AV* scan for starters, XP derivates do not have a alligned partition** and a drive scan is a second action including a defragmentation. * Preferebly from a CD/DVD or known-clean USB device! **Doubt if this has something todo with this?! LINUX makes it possible to examine all WINDOWS files since WIN isn't active when running LINUX. But not every WIN user has a working *NUX version at hand. Is it a WIN system file, WIN theme/desktop app. or third party app.? Result after an UPDate? I'd try to copy a new file first and see what happens, if you can BOOT ofcoarse. When you've Back-Ups, try a System Restore. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.