이 문서에서는 로컬 디바이스의 Windows 클라우드 데이터 저장소 구성 요소 내에 저장된 데이터를 가져오는 데 사용할 수 있는 클라우드 데이터 저장소 설정 판독기 도구(readCloudDataSettings.exe)를 설명합니다. Windows 11용 참조 설정 또는 Windows 11 및 Windows 10용 참조 설정에 설명된 설정의 경우 설정에 레지스트리 키가 아닌 형식 이름이 나열된 경우 이 도구를 사용하여 데이터를 검색해야 합니다.
사용법
단일 인스턴스 항목
readCloudDataSettings.exe get -type:<type name> [-account:<secondary account id>]
다중 인스턴스 항목
readCloudDataSettings.exe enum -type:<type name> [-collection:<collection name>] [-account:<secondary account id>]
명령줄 매개 변수 설명
| 매개 변수 | 설명 |
|---|---|
<type name> |
데이터를 검색할 Cloud Data Store 형식의 이름(예: "windows.data.platform.diagnostics.diagnosticdata") |
<collection name> |
Cloud Data Store 다중 인스턴스 형식에 대한 컬렉션의 선택적 이름입니다. 다중 인스턴스 형식에 명명된 컬렉션이 있고 컬렉션에 이름이 없거나 형식이 단일 인스턴스인 경우 지정해서는 안 됩니다. Cloud Data Store는 형식의 모든 컬렉션의 데이터 또는 이름을 열거할 수 없습니다. |
<secondary account id> |
데이터를 가져올 현재 사용자와 연결된 보조 계정의 선택적 ID(user@domain 형식)입니다. 현재 로그인한 Windows 사용자와 연결된 보조 계정이어야 합니다. 디바이스를 공유할 수 있는 다른 Windows 사용자의 데이터에 대한 액세스 권한을 제공하지 않습니다. |
오류
데이터가 없거나 오류가 발생하면 출력은 사이에 아무것도 없는 대괄호 쌍을 보고합니다. 본보기:
[
]
예시
단일 인스턴스 유형
명령줄:
C:\Windows\System32>readCloudDataSettings.exe get -type:windows.data.settings.settingsusagehistory
출력:
/type: windows.data.settings.settingsusagehistory
[
{"Data":{"pageUsages":{"\"SettingsPageAppsNotifications\"":{"Data":{"frequency":1,"lastUsedTime":1.3353819570909629E+17,"lastUsedSettingId":"SystemSettings_Notifications_QuietHours_MuteNotification_Enabled"}},"\"SettingsPageOtherUsers\"":{"Data":{"frequency":1,"lastUsedTime":1.3353709031552022E+17,"lastUsedSettingId":"SystemSettings.UserAccountsHandlers.RemoveOtherUserSetting"}}}}}
]
단일 인스턴스 유형, 대체 계정
명령줄:
C:\Windows\System32>readCloudDataSettings.exe get -type:windows.data.settings.settingsusagehistory -account:otheruser@contoso.com
출력:
/type: windows.data.settings.settingsusagehistory
[
{"Data":{"pageUsages":{"\"SettingsPageAppsNotifications\"":{"Data":{"frequency":1,"lastUsedTime":1.3353819570909629E+17,"lastUsedSettingId":"SystemSettings_Notifications_QuietHours_MuteNotification_Enabled"}},"\"SettingsPageOtherUsers\"":{"Data":{"frequency":1,"lastUsedTime":1.3353709031552022E+17,"lastUsedSettingId":"SystemSettings.UserAccountsHandlers.RemoveOtherUserSetting"}}}}}
]
컬렉션 이름을 가진 다중 인스턴스 형식
명령줄:
readclouddatasettings.exe enum -type:windows.data.wifi.wifiprofile -collection:wificloudstore3
출력:
/type: windows.data.wifi.wifiprofile
/collection: wificloudstore3
[
{"Data":{"profileXml":"<?xml version=\"1.0\"?>\r\n<WLANProfile xmlns=\"http://www.microsoft.com/networking/WLAN/profile/v1\">\r\n\t<name>MySpectrumWiFi98-5G</name>\r\n\t<SSIDConfig>\r\n\t\t<SSID>\r\n\t\t\t<hex>4D79537065637472756D5769466939382D3547</hex>\r\n\t\t\t<name>MySpectrumWiFi98-5G</name>\r\n\t\t</SSID>\r\n\t</SSIDConfig>\r\n\t<connectionType>ESS</connectionType>\r\n\t<connectionMode>auto</connectionMode>\r\n\t<MSM>\r\n\t\t<security>\r\n\t\t\t<authEncryption>\r\n\t\t\t\t<authentication>WPA2PSK</authentication>\r\n\t\t\t\t<encryption>AES</encryption>\r\n\t\t\t\t<useOneX>false</useOneX>\r\n\t\t\t</authEncryption>\r\n\t\t\t<sharedKey>\r\n\t\t\t\t<keyType>passPhrase</keyType>\r\n\t\t\t\t<protected>false</protected>\r\n\t\t\t\t<keyMaterial>ancientzebra274</keyMaterial>\r\n\t\t\t</sharedKey>\r\n\t\t</security>\r\n\t</MSM>\r\n\t<MacRandomization xmlns=\"http://www.microsoft.com/networking/WLAN/profile/v3\">\r\n\t\t<enableRandomization>false</enableRandomization>\r\n\t\t<randomizationSeed>1865639973</randomizationSeed>\r\n\t</MacRandomization>\r\n</WLANProfile>\r\n","lastModifiedTime":1.3354054522984058E+17}},
{"Data":{"profileXml":"<?xml version=\"1.0\"?>\r\n<WLANProfile xmlns=\"http://www.microsoft.com/networking/WLAN/profile/v1\">\r\n\t<name>KIA Service Color</name>\r\n\t<SSIDConfig>\r\n\t\t<SSID>\r\n\t\t\t<hex>4B4941205365727669636520436F6C6F72</hex>\r\n\t\t\t<name>KIA Service Color</name>\r\n\t\t</SSID>\r\n\t</SSIDConfig>\r\n\t<connectionType>ESS</connectionType>\r\n\t<connectionMode>manual</connectionMode>\r\n\t<MSM>\r\n\t\t<security>\r\n\t\t\t<authEncryption>\r\n\t\t\t\t<authentication>WPA2PSK</authentication>\r\n\t\t\t\t<encryption>AES</encryption>\r\n\t\t\t\t<useOneX>false</useOneX>\r\n\t\t\t</authEncryption>\r\n\t\t\t<sharedKey>\r\n\t\t\t\t<keyType>passPhrase</keyType>\r\n\t\t\t\t<protected>false</protected>\r\n\t\t\t\t<keyMaterial>4258270521</keyMaterial>\r\n\t\t\t</sharedKey>\r\n\t\t</security>\r\n\t</MSM>\r\n\t<MacRandomization xmlns=\"http://www.microsoft.com/networking/WLAN/profile/v3\">\r\n\t\t<enableRandomization>false</enableRandomization>\r\n\t\t<randomizationSeed>4088426234</randomizationSeed>\r\n\t</MacRandomization>\r\n</WLANProfile>\r\n","lastModifiedTime":1.3354054522999686E+17}}
]
직렬화에 대한 참고 사항
상호 운용성 설정의 경우 데이터 구조는 Windows에서 내보낼 때 JSON으로 직렬화됩니다. 경우에 따라 이로 인해 직관적이지 않은 결과가 발생할 수 있습니다. 아래 예제를 참조하세요.
기본 데이터 형식
기본 데이터 형식(정수, 부동 소수점, 문자열 등)에는 일반 JSON 인코딩 이외의 특수한 표현이 없습니다.
구조
최상위 구조체를 포함한 모든 구조체는 "Data"라는 JSON 요소로 래핑됩니다. 여기에는 중첩된 구조체(구조체가 벡터, 맵 및 nullable에서 사용되는 경우 포함)가 포함됩니다.
예시
이 구조 정의는 다음과 같습니다.
struct MyInnerDataType
{
0: int32 data;
}
struct MyDataType
{
0: MyInnerDataType innerData;
1: int64 id;
}
아래의 JSON으로 변환됩니다.
{
"Data":
{
"innerData":
{
"Data":
{
"data": 1
}
},
"id": 2
}
}
벡터 /목록
벡터 및 목록은 표준 JSON 배열로 변환됩니다(구조 목록의 각 요소가 "Data"라는 JSON 요소에 래핑되어 있다는 점을 위에서 주의해야 함).
예시
이 구조 정의는 다음과 같습니다.
struct MyInnerDataType
{
0: int32 data;
}
struct MyDataType
{
0: vector<MyInnerDataType> dataList;
1: vector<int32> idList;
}
아래의 JSON으로 변환됩니다.
{
"Data":
{
"dataList":
[
{
"Data":
{
"data": 1
}
},
{
"Data":
{
"data": 2
}
},
],
"idList": [ 1, 2 ]
}
}
블롭
Blob은 정수 배열로 변환됩니다.
예시
이 구조 정의는 다음과 같습니다.
Struct mySetting
{
0: blob settingData;
}
아래의 JSON으로 변환됩니다.
{
"Data":
{
"settingData":[-103,84,-51,60,-88,-121,16,75,-94,21,96,-120,-120,-35,59,85,4,0,0,0,0,1,0,0,36,0,0,0,73,0,110,0,116,0,101,0,114,0,110,0,101,0,116,0,32,0,69,0,120,0,112,0,108,0,111,0,114,0,101,0,114,0,0,0,1,0,0,0,2,0,0,0,7,0,0,0,7,0,0,0,58,0,0,0,104,0,116,0,116,0,112,0,115,0,58,0,47,0,47,0,103,0,108,0,111,0,98,0,97,0,108,0,46,0,115,0,116,0,115,0,46,0,109,0,115,0,102,0,116,0,46,0,110,0,101,0,116,0,47,0,0,0,2,0,0,0,2,0,0,0,7,0,0,0,7,0,0,0,34,0,0,0,109,0,105,0,99,0,114,0,105,0,100,0,101,0,114,0,64,0,103,0,109,0,101,0,46,0,103,0,98,0,108,0,0,0,3,0,0,0,0,0,0,0,7,0,0,0,7,0,0,0,34,0,0,0,110,0,97,0,109,0,105,0,56,0,48,0,114,0,117,0,108,0,101,0,115,0,58,0,68,0,103,0,109,0,101,0,0,0,1,0,0,0,100,0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,16,0,0,0,-43,-74,60,78,86,37,-40,76,-92,-115,-57,85,-57,55,-53,-90,5,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,1,0,0,0,7,0,0,0,0,0,0,0,2,0,0,0,7,0,0,0,0,0,0,0,3,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,6,0,0,0,-58,-104,104,-79,72,-95,103,73,-111,113,100,-41,85,-38,-123,32]
}
}
Windows developer