Welcome to MSDN Blogs Sign in | Join | Help

a small windows mystery conquered: Why does my desktop show drive contents?

A small mystery I'm sharing that may save someone frustration in the future.

A discovery

I closed all the windows on my XP machine to discover this:

 

 

What's going on?

At first I thought I had mistakenly copied the contents of my C:\ drive onto the desktop. I've certainly done that on occasion.

But, a closer inspection revealed that Windows was truly showing the contents of the C:\ drive, these were not copies or shortcuts. If I deleted a file in the desktop it deleted it on the C:\ drive and vice-versa.

 

Some points

- I had no idea was possible. It's almost useful

- I have no idea how I entered this state.

- It scared me enough, that I wanted to go back to *normal*

 

What I did to solve the problem

Investigation with REGEDIT revealed that this registry key value:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Desktop

was set to

%SYSTEMDRIVE%

In my case %SYSTEMDRIVE% was the "C:\" drive. That explains the contents I saw on the desktop. I changed the value to

"%USERPROFILE%\Desktop"

and then logged out and back in.

Everything reverted to normal.

 

The search continues

I am investigating how this registry key was changed in the first place. Everything was fine just a day earlier.

 

Published Saturday, August 05, 2006 2:37 PM by saveenr

Attachment(s): wierd-desktop.png

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: a small windows mystery conquered: Why does my desktop show drive contents?

This could almost be useful if you could hotkey the Desktop registry key and change it on the fly without having to log out and back in.
Sunday, August 06, 2006 9:22 PM by Lauren Smith

# re: a small windows mystery conquered: Why does my desktop show drive contents?

Check out Tweak UI. That program lets you change most of the special Windows directories.
Monday, August 07, 2006 10:50 AM by Michael Flanakin

# re: a small windows mystery conquered: Why does my desktop show drive contents?

Hi saveenr,

unfortunately I got into the same situation and I cannot get rid of this issue.

Do you, by any change, found out the root of the problem ? Because the registry change does not work in my case.

This problem started when tried to run the WinFLP SetupLauncher.exe.

Any help or hints are highly appreciated,

Thank you

Bill.

Tuesday, September 25, 2007 3:34 PM by bill

# re: a small windows mystery conquered: Why does my desktop show drive contents?

same, ran winflpsetup and it started... will try the reg hack and see if it sticks /crossesfingers

Tuesday, August 04, 2009 3:22 PM by nine_dragons

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker