Windows 10 用户目录里各种文件夹内 desktop.ini 文件内容,编辑之前先去除文件属性
attrib -h -r -s -a desktop.ini
编辑完成后重新添加文件属性
attrib +h +r +s +a desktop.ini
Contacts 联系人
[.ShellClassInfo]
LocalizedResourceName=@%CommonProgramFiles%\system\wab32res.dll,-10100
InfoTip=@%CommonProgramFiles%\system\wab32res.dll,-10200
IconResource=%SystemRoot%\system32\imageres.dll,-181
Desktop 桌面
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
Documents 文档
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
IconResource=%SystemRoot%\system32\imageres.dll,-112
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-235
Download 下载
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798
IconResource=%SystemRoot%\system32\imageres.dll,-184
Favorites 收藏夹
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21796
IconResource=%SystemRoot%\system32\imageres.dll,-115
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-173
Links 链接
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21810
IconResource=%SystemRoot%\system32\imageres.dll,-185
DefaultDropEffect=4
[LocalizedFileNames]
[email protected],-37217
[email protected],-21769
[email protected],-21798
Music 音乐
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790
InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
IconResource=%SystemRoot%\system32\imageres.dll,-108
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-237
Pictures 图片
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-236
Save Games 保存的游戏
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21814
IconResource=%SystemRoot%\system32\imageres.dll,-186
Searches 搜索
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-9031
IconResource=%SystemRoot%\system32\imageres.dll,-18
[LocalizedFileNames]
Indexed [email protected],-32820
[email protected],-32822
Videos 视频
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791
InfoTip=@%SystemRoot%\system32\shell32.dll,-12690
IconResource=%SystemRoot%\system32\imageres.dll,-189
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-238
各文件夹的注册表信息
1) Desktop:
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}
Data: \\Your_Server\Share\%username%\Desktop
Description: Desktop in User’s Files
2) Videos:
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {35286A68-3C57-41A1-BBB1-0EAE73D76C95}
Data: \\Your_Server\Share\%username%\Videos
Description: Videos in User’s Files
3) Pictures:
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {0DDD015D-B06C-45D5-8C4C-F59713854639}
Data: \\Your_Server\Share\%username%\Pictures
Description: Pictures in User’s Files
4) Music:
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {A0C69A99-21C8-4671-8703-7934162FCF1D}
Data: \\Your_Server\Share\%username%\Music
Description: Music in User’s Files
5) Documents
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {F42EE2D3-909F-4907-8871-4C22FC0BF756}
Data: \\Your_Server\Share\%username%\Documents
Description: Documents in User’s Files
6) Downloads
Filter: Windows 10
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Data Type: REG_EXPAND_SZ
Value: {7D83EE9B-2244-4E70-B1F5-5393042AF1E4}
Data: \\Your_Server\Share\%username%\Downloads
Description: Downloads in User’s Files