Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My C:\programdata\desktop folder has apparently gone missing.

How do I reinstall it, without doing a complete recovery? My Recycle Bin is empty and I know I would not have deleted this file.

share|improve this question

migrated from stackoverflow.com Jul 27 '09 at 12:30

This question came from our site for professional and enthusiast programmers.

3  
Please move this to superuser. Also, there is no such file as C:\programdata\desktop. It should be in C:\Documents and Settings\[your username]\Desktop for Windows XP. –  Andrew Scagnelli Jul 27 '09 at 12:29
5  
There is such a folder in Vista/Windows 7: C:\ProgramData –  Ivo Flipse Jul 27 '09 at 12:38
2  
Ahh, I love people who never look past XP :-). Although it makes me wonder what one would want to do in that folder; it's just a link to C:\Users\Public\Desktop here anyway. –  Јοеу Aug 13 '09 at 11:29
    
If I navigate to C:\ProgramData\Desktop, the folder is empty. Yet if I go to C:\Users\Public\Desktop, there are a number of shortcuts in there. Something is screwy with Vista/7's virtual folders. –  Damien May 28 '11 at 1:04
add comment

2 Answers

I think that's a hidden folder.
2 ways of making it visible:

  • Control Panel > Folder Options > View Tab > Select Show hidden folders.
  • Just type in c:\ProgramData\Desktop in the commandbar on top of explorer. This should show the contents of the folder.
share|improve this answer
    
It's indeed a hidden folder, this trick should do it! –  Ivo Flipse Jul 27 '09 at 12:39
add comment

and when it's gone.. go to an admin command prompt and type the following.

cd \programdata

mklink /j desktop c:\users\public\desktop

attrib +s +h desktop

this restores it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.