You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a locked profile via rdctl create-profile --from-settings --output reg --type locked --hive hkcu
Stop RD
Import the profile to the registry
Start RD again
Expected Result
RD should start with all fields being locked.
Actual Result
RD doesn't start up and shows an error instead (see the attached screenshot).
I also tried it in combination with a deployment profile created via rdctl create-profile --from-settings --output reg. I ended up in the same situation.
Additional Information
Test Case RD-75: Bring main window via tray menu with locked fields - (all platforms)
Screenshot
The text was updated successfully, but these errors were encountered:
It looks like the reg format handles empty lists differently. I exported an empty REG_MULTI_SZ value with regedit.exe:
"zzz"=hex(7):00,00
Whereas rdctl writes out an empty string followed by the final 0:
"patterns"=hex(7):00,00,00,00
I guess it makes sense, as an empty string is already the end-of-list marker, so no need for a second \0.
A sequence of null-terminated strings, terminated by an empty string (\0). The following is an example: String1\0String2\0String3\0LastString\0\0. The first \0 terminates the first string, the second-from-last \0 terminates the last string, and the final \0 terminates the sequence.
Steps to reproduce
rdctl create-profile --from-settings --output reg --type locked --hive hkcu
Expected Result
RD should start with all fields being locked.
Actual Result
RD doesn't start up and shows an error instead (see the attached screenshot).
I also tried it in combination with a deployment profile created via
rdctl create-profile --from-settings --output reg
. I ended up in the same situation.Additional Information
Screenshot
The text was updated successfully, but these errors were encountered: