📜  regedit 当前用户 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:58.939000             🧑  作者: Mango

代码示例1
Perform the following: Start the registry editor. 
Move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. 
Select each SID under this in turn and look at the ProfileImagePath and at the end of this string is the name of the user.