Dear Experts
when i try to configure DHCPUtil for Lync 2013 everything goes ok but when i do emulate it will fail like below
C:\>Run the DHCPUtil.exe -SipServer: CSH-Lync2013.csh.com.sa -WebServer CSH-Lync
2013.csh.com.sa -RunConfigScript
'Run' is not recognized as an internal or external command,
operable program or batch file.
C:\>DHCPUtil.exe -SipServer: CSH-Lync2013.csh.com.sa -WebServer CSH-Lync2013.csh
.com.sa -RunConfigScript
SIP Server FQDN : CSH-Lync2013.csh.com.sa
Certificate Provisioning Service URL :
https://CSH-Lync2013.csh.com.sa:443/CertP
rov/CertProvisioningServic
e.svc
Option 120:
000C4353482D4C796E63323031
3303637368
03636F6D02
736100
Vendor Class Identifier: MS-UC-Client
Option 43 (for vendor=MS-UC-Client):
Full Option 43 value (Length: 180) : 010C4D532D55432D436C69656E
740205687
474707303174353482D4C796E6
3323031332
E6373682E6
36F6D2E736
1040334343
305252F436
5727
450726F762F4365727450726F7
66973696F6
E696E67536
5727669636
52E737663
sub-option 1 <UC Identifier>: 4D532D55432D436C69656E74
sub-option 2 <URL Scheme>: 6874747073
sub-option 3 <Web Server FQDN>: 4353482D4C796E63323031332E
6373682E63
6F6D
2E7361
sub-option 4 <Port>: 343433
sub-option 5 <Relative Path for Cert Prov>: 2F4365727450726F762F436572
74
50726F766973696F6E696E6753
6572766963
652E737663
Executing command:
"C:\DHCPConfigScript.bat" Configure MS-UC-Client 000C4353482D4C796E63323031
33036
3736803636F6D02736100 4D532D55432D436C69656E74 6874747073 4353482D4C796E63323031
332E6373682E636F6D2E7361 343433 2F4365727450726F762F436572
7450726F76
6973696F6E
69
6E67536572766963652E737663
C:\>DHCPConfigScript.bat Configure MS-UC-Client 000C4353482D4C796E63323031
330363
736803636F6D02736100 4D532D55432D436C69656E74 6874747073 4353482D4C796E633230313
32E6373682E636F6D2E7361 343433 2F4365727450726F762F436572
7450726F76
6973696F6E
696
E67536572766963652E737663
C:\>netsh dhcp server delete optionvalue 120
Command completed successfully.
C:\>netsh dhcp server delete optiondef 120
Command completed successfully.
C:\>netsh dhcp server delete class MSUCClient
Command completed successfully.
C:\>if /I Configure EQU Cleanup goto :EOF
C:\>netsh dhcp server add optiondef 120 UCSipServer Binary 0 comment="Sip Server
Fqdn"
Command completed successfully.
C:\>netsh dhcp server set optionvalue 120 Binary 000C4353482D4C796E63323031
33036
3736803636F6D02736100
Command completed successfully.
C:\>netsh dhcp server add class MSUCClient "UC Vendor Class Id" "MS-UC-Client" 1
Command completed successfully.
C:\>netsh dhcp server add optiondef 1 UCIdentifier Binary 0 Vendor=MSUCClient co
mment="UC Identifier"
Command completed successfully.
C:\>netsh dhcp server set optionvalue 1 Binary vendor=MSUCClient 4D532D55432D436
C69656E74
Command completed successfully.
C:\>netsh dhcp server add optiondef 2 URLScheme Binary 0 Vendor=MSUCClient comme
nt="URL Scheme"
Command completed successfully.
C:\>netsh dhcp server set optionvalue 2 Binary vendor=MSUCClient 6874747073
Command completed successfully.
C:\>netsh dhcp server add optiondef 3 WebServerFqdn Binary 0 Vendor=MSUCClient c
omment="Web Server Fqdn"
Command completed successfully.
C:\>netsh dhcp server set optionvalue 3 Binary vendor=MSUCClient 4353482D4C796E6
3323031332E6373682E636F6D2
E7361
Command completed successfully.
C:\>if not 343433 == NULL (netsh dhcp server add optiondef 4 WebServerPort Binar
y 0 Vendor=MSUCClient comment="Web Server Port" )
Command completed successfully.
C:\>if not 343433 == NULL (netsh dhcp server set optionvalue 4 Binary vendor=MSU
CClient 343433 )
Command completed successfully.
C:\>netsh dhcp server add optiondef 5 CertProvRelPath Binary 0 Vendor=MSUCClient
comment="Cert Prov Relative Path"
Command completed successfully.
C:\>netsh dhcp server set optionvalue 5 Binary vendor=MSUCClient 2F4365727450726
F762F4365727450726F7669736
96F6E696E6
7536572766
963652E737
663
Command completed successfully.
C:\>DHCPUtil.exe -EmulateClient
Starting Discovery ...
Sending Packet (Size: 280, Network Adapter: 192.168.1.21, Attempt Type: Broadcas
t only)
--Begin Packet--
DHCP: INFORM (xid=98C1F545)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 2562848069
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 192.168.1.21
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 0.0.0.0
DHCP: Client HW Address (chaddr) = 001A6B65C903
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP INFORM
DHCP: Server Identifier( 54) = (Length: 0) 0.0.0.0
DHCP: Client Identifier( 61) = (Length: 7) ¿ (01001A6B65C903)
DHCP: SIP Server( 120) = (Length: 0) enc:0 ()
DHCP: Host Name( 12) = (Length: 6) DC-SRV
DHCP: Vendor Identifier( 60) = (Length: 12) MS-UC-Client
DHCP: Param Req List( 55) = (Length: 2) 120 43
DHCP: Vendor Info( 43) = (Length: 0) ()
DHCP: End of this option field
--End Packet--
Result: Failure = 1