HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal
이 두 키를 없어진 폴더가 아닌 아무 폴더로 바꿔주면 문제가 해결된다.
시스템 검사 Windows 로고 키 + X 키를 누른 후 명령프롬프트(관리자)를 클릭합니다.
사용자 계정 컨트롤메시지가 나타나면 관리자암호를 입력하거나 또는 예를 클릭합니다.
sfc /scannow
이 후 시스템검사가 진행이 되면서 일부 복구가 될 수 있습니다.
;Documents and Settings(d)다운로드포함.cmd
@echo off
cls
;바탕화면, 즐겨찾기, 내 문서, 내 그림, 내 음악, 내 비디오 폴더 생성
md "d:\Documents and Settings\Favorites"
md "d:\Documents and Settings\바탕 화면"
md "d:\Documents and Settings\내 그림"
md "d:\Documents and Settings\내 음악"
md "d:\Documents and Settings\내 비디오"
md "d:\Downloads"
;바탕화면, 즐겨찾기, 내 문서, 내 그림, 내 음악, 내 비디오 변수 입력
set personal=d:\Documents and Settings
set favorites=d:\Documents and Settings\Favorites
set desktop=d:\Documents and Settings\바탕 화면
set mypictures=d:\Documents and Settings\내 그림
set mymusic=d:\Documents and Settings\내 음악
set myvideo=d:\Documents and Settings\내 비디오
set downloads=d:\Downloads
;바탕화면, 즐겨찾기, 내 문서, 내 그림, 내 음악, 내 비디오 저장위치 변경
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Desktop" /t REG_EXPAND_SZ /d "%desktop%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Favorites" /t REG_EXPAND_SZ /d "%favorites%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal" /t REG_EXPAND_SZ /d "%personal%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Pictures" /t REG_EXPAND_SZ /d "%mypictures%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Music" /t REG_EXPAND_SZ /d "%mymusic%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Video" /t REG_EXPAND_SZ /d "%myvideo%" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Downloads" /t REG_EXPAND_SZ /d "%downloads%" /f