You can set the security model of a device explicitly to test an application under the various security models. If the device is already locked by the original equipment manufacturer (OEM), then provisioning a different security model might not be possible. However, if the device is not locked, you can provision it with any security model.
The following security model XML files are included with Visual Studio 2005. The default location is \Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SDKTools\SecurityModels.
-
Locked.xml sets the following two-tier security model:
-
Prompt.xml sets the following two-tier security model:
-
Open.xml sets the following one-tier security model:
For more information, see Provisioning for Windows Mobile-Based Devices.
The following components are needed in order to provision the device with a security model:
To provision a device with a security model
-
Establish an ActiveSync connection to the device.
-
Type the following command at the command prompt, where securityfile.xml is the security model XML file:
RapiConfig.exe /P /M <securityfile.xml>
See Also