[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::windows95

Title:Microsoft Windows 95 ("Chicago")
Notice:Please read topics 1 to 22 before writing anything
Moderator:EEMELI::BACKSTROM
Created:Mon Nov 14 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2958
Total number of notes:19968

2861.0. "moving Windows but not drives" by CHEFS::KOSKUBA_K (Karel_the_cotton_fist) Wed Mar 19 1997 09:37

    I would like to move the Windows directory off my C: (boot) drive to a D:
    drive without swapping disks or changing which is the boot drive.
    Has anyone done anything like that?
    
    I propose to:
    
    - copy C:\WINDOWS to D:\WINDOWS (and rename C:\WINDOWS to C:\OLD_WINDOWS)
    - edit C:\MSDOS.SYS to change WinBootDir to D:\WINDOWS
    			      and WinDir     to D:\WINDOWS
    - edit the Registry to change all references to C:\WINDOWS to D:\WINDOWS
    - change icon shortcuts from C: to D: if they reference C:\WINDOWS
    
    I've got three question:
    
    1. is is possible (i.e. are there no hidden gotchas)?
    
    2. if 1. is YES, have I forgotten anything?
    
    3. if 1. is YES, what about C:\ProgramFiles?
    	a. do I have to move it, too?
    	b. if I want/have to move it, is it a case of editing Registry and
    	   icon shortcuts to change C: to D: or is there something else
           involved, too?
    
    Thanks,
    
    Karel
T.RTitleUserPersonal
Name
DateLines
2861.1take a look at Partition MagicFIEVEL::FILGATEBruce Filgate SHR3-2/W4 237-6452Wed Mar 19 1997 11:084
 I have not tried this feature, but the other functions appear to work ok.

 Bruce
2861.2It can be donePOBOXA::KEEFERCraig PK03-1/R11, DTN:223-4902Wed Mar 19 1997 12:5820
re .0 

Yes, I believe you can move your Windows to another drive using the method you
described. I did it by changing C: to D: in MSDOS.SYS, CONFIG.SYS and
AUTOEXEC.BAT. I didn't change the registry although that might be worth
checking out. 

However, there are a couple of caveats:

1) If you use long filenames, don't do the copy from DOS. Otherwise you'll
   lose your long filenames. I used Explorer drag-n-drop C:\WIN95 to D:\WIN95.
   (I think I had to de-select the SWAP file and copy it manually afterward).

2) Many of my Icon LNK's were invalid after rebooting. I Downloaded the FIND
   DEAD LINKS freebie program from pcmag.com and it listed all my broken links.
   I alt-double-clicked on the broken links and changed C: to D: where 
   appropiate. I re-ran FDL until there were no broken links. (It didn't take
   very long).

-Craig
2861.3thanksCHEFS::KOSKUBA_KKarel_the_cotton_fistWed Mar 19 1997 14:0919
    re .1
    Thanks, but I'd think by the time I locate the program I can have it
    done (and can re-trace my steps if anything goes wrong).
    
    re .2
    
    Good news, thanks, Craig.  I take it you changed the values in
    MSDOS.sys I mentioned.  Did you move ProgramFiles, too - or just
    Windows?
    
    Thanks about the FDL pointer, I'm getting it even as I type.
    
    I thought Registry was used to point to the programs - e.g. if you
    click on *.DOC it would go to the registry, find out you need WORD,
    look where it is and fire it. In your scenario, did you have any
    problems?  What about uninstalling programs - again doesn't it find the
    locations in the Registry?
    
    Karel.
2861.4Can't find FDLCHEFS::KOSKUBA_KKarel_the_cotton_fistWed Mar 19 1997 15:2411
    re .2
    
    Craig,
    
    having said in .3 that I was fetching the file, it turned out to be FDF
    (Find and Delete Lost Files).  I can't find FDL on
    http://www.pcmag.com/.  Is it in a different location?
    
    Thanks,
    
    Karel.
2861.5You want fdlnks.exeLEXS01::PUCHRIKField RatThu Mar 20 1997 09:111
    
2861.6- thanks -CHEFS::KOSKUBA_KKarel_the_cotton_fistThu Mar 20 1997 09:569
    re .5
    
    Got it, thanks.
    
    If anyone else is looking for it, it was in a 1996 archive v15n16.zip.
    There was also a nice utility, bootopt.exe, to allow easy boot option
    changes.
    
    Karel.
2861.7what are them pointers for?CHEFS::KOSKUBA_KKarel_the_cotton_fistMon Mar 24 1997 13:3213
    re .2
    
    Craig,
    
    How did you manage to run after moving C:\WINDOWS without changing
    Registry entries?  Did you still keep the old C:\WINDOWS directory (so
    that the registry pointed to existing files)? That would seem pointless
    - but there are an awful lot of pointers to C:\WINDOWS in the Registry!
    
    The reason I'm asking is that I'm struggling to export/import Registry
    at the moment (see separate note).
    
    Karel.
2861.8updating regstry pointersPOBOXA::KEEFERCraig PK03-1/R11, DTN:223-4902Mon Mar 24 1997 14:5243
>>    How did you manage to run after moving C:\WINDOWS without changing
>>    Registry entries?  

Run what?  Win95?  After editing MSDOS.SYS, CONFIG.SYS and AUTOEXEC.BAT I was
able to boot Win95 

>>  Did you still keep the old C:\WINDOWS directory (so
>>  that the registry pointed to existing files)? That would seem pointless

I kept it around for a short while (renamed it) until I was sure I didn't need
it anymore.

>> - but there are an awful lot of pointers to C:\WINDOWS in the Registry!

In my case there weren't that many pointers to C:\WINDOWS in my Registry.
Probably because I use mostly 16-bit apps (leftovers from Win3.1 days) and
they don't store their info in the Registry. However, if you have alot of
pointers to convert, you can run REGEDIT and globably replace C:\WINDOWS with
D:\WINDOWS. You could even globally replace C: with D: if you moved
"everything" to drive D:  It's not that hard.
    
>>    The reason I'm asking is that I'm struggling to export/import Registry
>>    at the moment (see separate note).
    
Why do you need to do this?  Just copy SYSTEM.DAT and USER.DAT from your
orginal C:\WINDOWS directory to your new D:\WINDOWS directory. Then run 
REGEDIT and replace C:\WINDOWS with D:\WINDOWS.

When you originally copied all your C:\WINDOWS files to D:\WINDOWS did you
use Explorer or Xcopy32 or ???  If you used Explorer, did you have "all file
types" selected in the explorer "options" dialog box?  You need that or else
explorer won't copy hidden files.

-Craig

PS: I recently downloaded a demo copy of FIX-IT from the Quarterdeck website
    (it was a 30 day trial). When I ran FIX-IT on my registry, it found 5-6
    pointers that were no longer valid and offered to fix them automagiclly.
    Oddly enough the only problem with the pointers were the drive letters :-)
    FIX-IT simply searched my disk for the target files and offered to replace
    the stale pointers with the new pointers it created from the search. I
    fixed the pointers by hand, but you might want to run FIX-IT after you 
    make all the changes to your registry just as a sanity check.
2861.9all fine nowCHEFS::KOSKUBA_KKarel_the_cotton_fistTue Mar 25 1997 10:0814
    re .8
    
    Craig,
    
    everything is fine now.  I didn't notice the global edit in Regedit :^(
    but I've already done it now with the export/import.  However, I didn't
    need to bother! Windows 95 seemed to have change the drive letters at
    boot-time, anyway! Also all the shortcusts get updated automatically
    from C: to D: the first time they are used - i.e. they don't need to be
    changed!
    
    Thanks again,
    
    Karel.
2861.10COA is useful to change addresses in registrySMURF::GAFJerry Feldman, Unix Dev. Environment, DTN:381-2970Tue Mar 25 1997 17:196
    There are several utilites available that will update shortcuts and
    registry entries. One os the PC Mag utility, COA (eg. Change of
    Address). You specify the file or directory whose address had changed.
    It has several options and logs. I found this to be a very useful tool
    since I like to move things around. I also have Partition Magic 3.0,
    which includes UninstallerMover.