Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Moving hidden system folders from the Vista command prompt?

Reply
Thread Tools Display Modes

Moving hidden system folders from the Vista command prompt?

 
 
Christian
Guest
Posts: n/a

 
      08-10-2007
Hi everyone.

I had some problems with Vista Ultimate and re-installed the OS. It
was afterwards that I realized a tv card was the source of all
problems. I removed it, and now I want to reset my computer.
Basically, by renaming the relevant new Windows folders and replacing
them by those from the "C:\Windows.old" folder Vista setup had
created.

However, moving or renaming some of these folders doesn't work.
I've booted from Vista's DVD, entered the recovery menue and started
the command prompt (Repair your computer > System Recovery Options >
Command Prompt).

There, I've switched three folders, like this:
> MOVE /-Y "Program Files" "Program Files.new"
> MOVE /-Y "Windows.old\Program Files" "Program Files"
> MOVE /-Y "Program Files (x86)" "Program Files (x86).new"
> MOVE /-Y "Windows.old\Program Files (x86)" "Program Files (x86)"
> MOVE /-Y "Windows" "Windows.new"
> MOVE /-Y "Windows.old\Windows" "Windows"

This all worked fine.

Then, I changed into the Windows.old directory to check I got all
files:
> cd Windows.old
> dir /AH /X /P


I then realized there were another three hidden folders,
"$RecycleBin", "Documents and Settings [C:\Users]" and
"ProgramData".
However, changing back to the root
> cd..

and then trying to move the corresponding files there failed:
> MOVE /-Y "ProgramData" "ProgramData.new"

as well as
> RENAME "ProgramData" "ProgramData.new"

and
> MOVE /-Y "C:\Windows.old\ProgramData" "C:\ProgramData"

both returned
"The system cannot find the file specified."

However, listing all files and folders in the root clearly shows it is
there:
> dir /AH /X /P

lists the files. I then tried to move them using their 8.3 name:
> MOVE /-Y PROGRA~3 "ProgramData.new"

No luck, either.

Any idea how to move those hidden files from the Vista command prompt?

Thanks in advance.

Kind regards,

Christian

P.S.: Another problem I have is that the start menu lists all program
folders but no files/shortcuts in them. Any idea as to why?

 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      08-10-2007
"Christian" <> wrote
> I had some problems with Vista Ultimate and re-installed the OS. It
> was afterwards that I realized a tv card was the source of all
> problems. I removed it, and now I want to reset my computer.
> Basically, by renaming the relevant new Windows folders and replacing
> them by those from the "C:\Windows.old" folder Vista setup had
> created.
> P.S.: Another problem I have is that the start menu lists all program
> folders but no files/shortcuts in them. Any idea as to why?


Hi Christian,

Unfortunately, this is an extremely unreliable way to get back to your old
Vista installation. For a start, in Vista many of the system "directories"
are in fact junction points - like soft links, in Unix. You can't just copy
them back and forth, without carefully noting where they point to.

By far the most reliable way to get a stable Vista configuration again, will
be to back up your user data to a safe location, then do a clean install of
Vista from scratch.

The idea of the "Windows.old" directory is to make sure that no valuable
files are deleted during the upgrade process; but it doesn't really give you
a copy of the old installation which can be easily restored back into a
working installation again.

The reason you don't see any icons in the Start menu is probably that
"C:\Users\All Users\Start menu" is a actually junction to
"C:\ProgramData\Microsoft\Windows\Start Menu". Until you get C:\ProgramData
back in action, the Start menu won't work. This is just the first of many
issues you may encounter, with the procedure you are currently trying.

If you want to keep hacking at restoring the old installation out of
curiosity, or sheer stubbornness, than by all means - go for it! You'll
probably discover many things about the inner-working of Windows. But if you
just want to get a reliable Vista system up and running, then a clean
re-install will be the quickest and most reliable solution.

Good luck,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Christian
Guest
Posts: n/a

 
      08-16-2007
Hi Andrew ,

Thanks for your reply. I did what you suggested and made a clean
install. It's now working fine again.

Kind regards,

Christian

 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      08-16-2007
"Christian" <> wrote ...
> Thanks for your reply. I did what you suggested and made a clean
> install. It's now working fine again.


Hi Christian

Thanks for letting me know ... it's always good, to hear how things work
out. I'm glad you're back in operation!

Best regards,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Moving System Folders Keith Miller \(MVP\) Windows Vista General Discussion 2 04-02-2008 03:47 AM
No command prompt dheller02 Windows Vista General Discussion 2 03-17-2008 01:16 AM
Vista RC1 install error, stops 1/2 way and opens command a prompt Alex Kl Windows Vista Installation 0 09-16-2006 02:28 PM
Vista RC1 install error, stops 1/2 way and opens command a prompt Alex Kl Windows Vista Installation 0 09-16-2006 02:28 PM
Vista RC1 install error, stops 1/2 way and opens command a prompt Alex Kl Windows Vista Installation 0 09-16-2006 02:27 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59