DatagramSocket.getLocalAddress().getHostAddress() returns 127.0.0.1

Hello, I am new here, I need to bind an UDP socket to a clients machine through an applet and notify the IP:Port I am bound to.
When running the applet locally I perfectly get 10.100.100.22, but when I run it remotely (Other machine opens the web page on my machine) I get 127.0.0.1.
the code part that creates the DatagramSocket and notifies the address and port is the followin:
//Create Socket
this.mSocket=new DatagramSocket(new InetSocketAddress(InetAddress.getLocalHost(), this.mPort));
//Get Listening port
this.mPort=this.mSocket.getLocalPort();
//Get Listening IP
this.mAddress=this.mSocket.getLocalAddress().getHostAddress();
//Notify
this.notifyListening();
inside notify
I read the contents of the member variable mAddress.
Could Anybody point me out in the right direction.
Thanks, Frank

Sylvia thanks for replying after all.
May I ask why the workarround. I seen a similar one, and one with a tcp socket connecting to the host given by the getCodeBase().getHost() accessor of applet.
But anyway... I don't expect you to answer this really but isn't it time for a fix up of this behavior.
let me show you a very ugly code that I ripped out from a sample class that I downloaded yesterday.
I works every time exept when the web programmers debug the asp.net application locally, in that situation it returns 127.0.0.1 but no one has a problem then because it works fine in the implementation.
I tried creating the socket the same way but I get the same result as .
socket = new DatagramSocket();
port = socket.getLocalPort();
for(int i = 0; i < listeners.size(); i++)
((UDPListener)listeners.get(i)).portOpened(port, socket.getLocalAddress().getHostAddress());
seem unreal. I know.
Thanks, Frank.

Similar Messages

  • ODIOSCommand - OS command returned 127 in UNIX

    Hello Experts,
    I am trying to run a gunzip (unzip) command on our UNIX environment but the command comes back with an error code 127.
    com.sunopsis.dwg.function.SnpsFunctionBaseException: OS command returned 127.
         at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java)
         at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Here is the command that I am running using ODIOSCommand tool, Once I copy, i want to unzip. so,
    gunzip < #PROJ_NAME.v_Directory/#PROJ_NAME.v_File_Name#PROJ_NAME.v_File_Extention | tar.exe -xvf -
    Can anyone please suggest why it might be failing?
    Thanks in advance.
    S

    Can you run this command in Unix directly?
    127 means "command not found", possible cause by wrong $PATH or a spell error.
    I made this error before. I use OSCommand to call main.sh(OdiOSCommand
    /dir/main.sh #parameter), then call sub.sh in main.sh. Because sub.sh and main.sh in the same directory, so I don't add '/dir/' before "sub.sh" when call sub.sh in main.sh. If I run main.sh directly in Unix, it is OK. But if I run it from OdiOSCommand, the script can not find sub.sh. When I add full path of sub.sh, problem is resolved.
    Hope it can help you.

  • ServerSocket.getInetAddress().getHostAddress() returns 0.0.0.0?

    Hi, I had a servlet uploaded to an university server that has Tomcat 4 and in the servlet I tried to create a ServerSocket with port 5555. I notice when I wanted to get the IP addr directly from the ServerSocket it gives me 0.0.0.0
    ServerSocket ss = new ServerSocket(5555);
    ss.getInetAddress().getHostAddress() --> returns 0.0.0.0
    This IP doesn't tally with the server's true IP. It seems like there's something trying to guard the IP. Could firewall or some other software causes this?

    with other word`s:
    this is the max number of connections the server can
    handle at one time. the default (with your old method)
    ist 50. so you can use 50. it?s a good value. the
    queue only raises, if the server works slow.I see...
    have you checked your network interface?I had check mine using the netstat -n (i don't have -i option) and this is the result:
    Proto --- Local Address ----------- Foreign Address ---- State
    TCP --- 202.156.82.240:1043 -- 64.12.24.252:5190 --- ESTABLISHED
    I had tried to run a serversocket without binding on main class and it gaves an IP of 0.0.0.0 also. Is this normal for those who has network interface (I'm using one network card)?
    I also noticed after binding the ServerSocket, from the same machine I ran a Socket (using the same binding InetAddress as ServerSocket) to connect it on the same port the Socket would give me 'Connection refused'. If other machines connect to me (ServerSocket) there's no problem. Do you know why is it like this?

  • DatagramSocket.getLocalAddress() return 0.0.0.0

    The program wants to know the local IP address, but when I used getLocalAddress() method provided by DatagramSocket, it returns 0.0.0.0.
    I check the binding state of the socket using isBound() and it returned true.
    I'm using the latest jdk1.4.1.
    Can anyone suggest another way of getting the local IP address? Or anyone can solve the above problem?
    Thank you!

    I'm working on a machine which only has one network interface.
    The reason is that the program needs to display the local IP to user who is going to use the program.
    The problem is that the question 'what is my local
    address' is not well defined.
    If a system has multiple network interfaces (a common
    enough situation), then it also has multiple local
    addresses - at least one per interface. So which do
    you want?
    You may get some mileage out of connecting your socket
    to a desired destination (this doesn't cause any
    network traffic). Certainly under Linux, the socket
    then has the local address of the network interface
    that will be used for traffic sent to that
    destination. However, I cannot find anywhere any
    documentation that says that this will happen, so it
    may not under all OSes.
    InetAddress.getLocalHost() is similarly useless
    because it will simply return one of the local
    host addresses, which may not be the one you want.
    A final aside - why do you want this? Not to put it
    into some outgoing data I hope, because that really
    breaks when masquerading/address translation firewalls
    are use.
    Sylvia.

  • Request.getRemoteAddr() returning 127.0.0.1

    When I call getRemoteAddr() on my servlet, it returns the IP of the hosting server - not the client IP as it should. Is this a bug in Tomcat or is there something I am supposed to set to make this resolve properly?

    Is this a bug in TomcatNo. javax.servlet.HttpServletRequest.getRemoteAddr returns the Internet Protocol (IP) address of the client that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
    127.0.0.1 is your local address. That's means that you accessed your web site locally.
    example:
    // Get client's IP address
            String addr = request.getRemoteAddr(); // 123.123.123.123
            // Get client's hostname
            String host = request.getRemoteHost(); // hostname.com

  • Codelite: Program exited with return code: 127

    I installed codelite from AUR. When I try to make a simple "Hello world", this is what I get.
    Not even a new window.
    I try the same code in a Ubuntu machine, and it works. So I think there are some libraries missing right?

    Sorry if this counts as a necropost, but I just had this same issue and managed to solve it.
    Yes, the 127 means "Command not found," but it has nothing to do with user input. If you check the console, CodeLite is trying to run something like this:
    /usr/bin/codelite_xterm './YourProgram ' '/bin/sh -f /usr/bin/codelite_exec ./YourProgram'
    Coincidentally, if you run /usr/bin/codelite_xterm yourself with no arguments, it will still return 127. This is because it tries to invoke xterm, which isn't installed.
    The CodeLite AUR package needs to depend on xterm to avoid this - I'll bother the packager.

  • InetAddress.getLocalHost retrieving 127.0.0.1, not the actual IP Address

    I am using the following code :
    try{
              InetAddress iaddr = InetAddress.getLocalHost();
              String ipaddr = iaddr.getHostAddress();
              System.out.println("IP= "+ipaddr);
              }catch(UnknownHostException ex){
                   ex.getMessage();
    to get the IP address of the server on which this code is running.
    We are actually trying to set up different machines (other than the Production machine) for Failover of the Application. So, we need to get the IP address of the machine on which the application is running in the code.
    For one machine, the above code works perfectly OK.
    But, for the three Production machines, the IP address that we are retrieving using the getLocalHost function is fetching the localhost and not the IP address of the machine. That is instead of fetching the IP � a.b.c.d (I am not writing the actual IP in this mail :) ) ... it is fetching the localhost 127.0.0.1 .
    So we need to find out a way to fetch the actual IP address so that failover can work.
    FYI, all of the machines are Solaris machines.
    Regards,
    Anjan

    I am putting up the contents of the /etc/hosts files of the 3 machines I am using.
    @@@@ Machine #1 (Code running OK for this, retrieving a.b.c.155 for InetAddress.getLocalhost().getHostAddress()) @@@@
    Excerpt from /etc/hosts file :
    ==========================
    # Internet host table
    127.0.0.1 localhost
    a.b.c.155 rating-DR loghost
    ==========================
    Host name for Machine #1
    ===================
    bash>hostname
    rating-DR
    @@@@ Machine #2 (Code returning 127.0.0.1 in this server, for InetAddress.getLocalhost().getHostAddress()) @@@@
    Excerpt from /etc/hosts file :
    ==========================
    # Internet host table
    127.0.0.1 localhost
    a.b.c.235 rating1 rating1.xyz.com loghost
    a.b.c.239 rating2
    ==========================
    Hostname for Machine #2
    ===================
    bash>hostname
    rating1
    @@@@ Machine #3 (Code returning 127.0.0.1 in this server, for InetAddress.getLocalhost().getHostAddress()) @@@@
    Excerpt from /etc/hosts file :
    ==========================
    # Internet host table
    127.0.0.1 localhost
    a.b.c.239 rating2 rating2.xyz.com loghost
    192.168.210.235 rating1
    192.168.210.155 rating-DR rating-DR.fastlink.com.jo
    ==========================
    Hostname for Machine #3
    ===================
    bash>hostname
    rating2

  • How to bind DatagramSocket to second NIC?

    I need to bind a DatagramSocket to a second "IPv6-enabled" NIC. Binding to the main "IPv4" NIC works fine but I'm being incapable to change to a different NIC. These are my network settings:
    eth0    Link encap:Ethernet  HWaddr 00:11:43:c8:bd:1c 
              inet addr:192.168.1.17  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::211:43ff:fec8:bd1c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3118 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2608 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3422763 (3.4 MB)  TX bytes:317046 (317.0 KB)
              Interrupt:16
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:12 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:720 (720.0 B)  TX bytes:720 (720.0 B)
    tun0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
              inet addr:127.0.1.1  P-t-P:127.0.1.1  Mask:255.255.255.255
              inet6 addr: aaaa::1/64 Scope:Global
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)I want my DatagramSocket to binded to tun0 so I've tried with
    DatagramSocket mySocket = new DatagramSocket(port, InetAddress.getByName("127.0.1.1"));and
    DatagramSocket mySocket = new DatagramSocket(port, InetAddress.getByName("aaaa::1"));but none of the above methods work: my application is not receiving any UDP traffic on the tun0 interface, at the port specified. I think that binding to a secondary NIC is more complicated than I thought (-:
    Any help is welcome !! Thanks !!
    Daniel.

    Try that method instead getByName and see if you have better luck, keep in mind what the method documentation says about ipv6 addresses.
    getByAddress
    public static InetAddress getByAddress(byte[] addr)
                                    throws UnknownHostException
    Returns an InetAddress object given the raw IP address . The argument is in network byte order: the highest order byte of the address is in getAddress()[0].
    This method doesn't block, i.e. no reverse name service lookup is performed.
    IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long
    Parameters:
    addr - the raw IP address in network byte order
    Returns:
    an InetAddress object created from the raw IP address.
    Throws:
    UnknownHostException - if IP address is of illegal length
    Since:
    1.4This is from the sun api for Java 6 btw. [http://java.sun.com/javase/6/docs/api/]

  • DatagramSocket not working on iOS

    It does not work for me in any of these versions: 16.0, 14.0 and 3.6.
    DatagramSocket.isSupported always returns false.
    Anyone experiencing the same?
    Thanks.

    Found a solution. Package with the SWF with Flash Builder and it works clean and great!
    Tutorial to package SWFs:
    http://renaun.com/blog/2011/05/using-flash-builder-4-5-to-package-arbitrary-swfs-for-ios-a ndroid-and-playbook/
    Flash Builder:
    http://www.adobe.com/products/flash-builder.html

  • Domainname check returns localhost over DNS

    Using a simple InetAddress.getByName(<domainname>) call to check via UnkownhostException for existence of a specific domainname, I get 127.0.0.1 (localhost) returned, whichever domainname I choose.
    Running locally on my Linux-machine though, it works properly: localhost returns 127.0.0.1 and www.dsdfsdf.agf throws UnknownhostException.
    But when I run it on my webserver (static IP on DSL) it returns 127.0.0.1 on any queried domainname, existing or not. I fear this is a DNS-issue on Linux, but I can't find out which one it is. My Slackware Linux configures DHCP-settings by checking my DSL-modem config, resulting in resolv.conf containing [nameserver 10.0.0.138] (my DSL-modem IP-address). Any surfing from this webserver or through proxy works fine though, so this resolv.conf should be fine (my ISP's DNS-s are used by DSL-modem).
    My /etc/hosts contains 127.0.0.1 twice (localhost, and with domainname). My etc/host.conf contains [order hosts, bind\ multi on].
    Apologies for my relative networking-ignorance, any suggestions though ?
    Thnx in advance !

    If you do that correctly, then go to the command-line and type the ping command with the host being the new domain-name like www.your-network.com or just "webserver" if you wanted to use a host name. You should see the results of the ping OK. If not, go back and re-edit the line. Remember, this is a host name and not the network name (the network is the domain.com) the host is the (www before the domain.com).
    You can use a simple single name or an FQDN (Fully Qualified Domain Name).
    Hostname: localhost
    Domain: company.com
    FQDN: localhost.company.com
    Hostname: www
    Domain: company.com
    FQDN: www.company.com
    Then, check you webserver's network card settings and make sure that the use/import/enable hostname file is enabled/used/imported.

  • Where does Sting to IP get the net address if the computer is disconnected from the net? It should return the same I

    P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?Thanks in advance for your help.

    P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?If you're getting a dynamically assigned IP address from the network, then String to IP will return that IP but it may not be constant. See if TCP/IP properties are set to "Obtain an IP address automatically". If you disconnect from the network, then the IP address will default to something and I wouldn't be surprised if the default is 127.0.0.1. If you want to always have the same IP, then the ICP/IP properties should be changed to use a fixed IP but you'll certainly need to check with your IS department before doing so.

  • Sockets  & JMF Question

    I have created a voice chat application.
    1.It uses the Sockets for updating the clients about new user logging in /logging out..etc.,
    2.The transmitter uses the IPAddress information sent to the client by the Server to create specific session for transfer of media.
    My question is How do I make it work on a internet environment where the client machines does not have a static IP address. How do I make the Server and Client sockets communicate over the internet on dynamically allocated IPs.
    Any help will be appreciated !

    In the world of distributed applications, usually one lets the
    (dynamic IP address having) client let the server know it's up and
    awake and ready for action. To obtain, inside java, the local
    IP address of the host, there's a rather outdated API (which thinks
    that machines can only have one address for some reason); the
    java.net.InetAddress.getLocalHost().getHostAddress().toString()
    kind-of-jobby works fine for me (on WIN#@!);
    however it could well be that this thing just returns '127.0.0.1'
    on my UNIX box at home (in the UNIX world it's quite common for a box to have multiple addresses), which given the method-name
    ('getLocalHost') would be very intuitive for me (127.0.0.1 IS
    localhost in IP-land.)
    But I'm not too sure; I'll let you know because I have to test this
    stuff out on multiple boxen anyway.
    Oh and I would like for this post to encourage the java-people at
    Sun to implement an API that goes about like this:
    package java.net;
    class InetAddress {
    static InetAddress[] getLocalAddresses();
    PLEASE !

  • FTP to SFTP.

    Hi,
    My application is using ftp to connect to the server. but now it is going to change to sftp. For that I am not able to get what are the things in need to change in my ftp program to make it support for sftp. The following is the ftpbean class and the methods of the class are used by other classes. sftp is already installed and the environment is ready now. but I am not able to proceed where to modify the java..Please help.
    import java.beans.PropertyChangeListener;
    import java.beans.PropertyChangeSupport;
    import java.io.*;
    import java.net.Socket;
    import java.net.ServerSocket;
    import java.util.StringTokenizer;
    import java.util.Vector;
    public class FtpBean
    private String server = ""; // server name
    private String user = ""; // user name
    private String replyMessage = ""; // reply message from server
    private String reply = ""; // reply to the command
    private Socket socket; // Socket for FTP connection
    private BufferedReader in; // Input for FTP connection
    private PrintWriter out; // Output for FTP connection
    private int port = 21; // FTP port number, default 21
    private boolean passive = true; // Passive mode transfer, default true
    // Needed for thread safety
    private int[] lock = new int[0]; // For synchronized locking
    private boolean acquired = false; // Count the number of acquire
    private Vector threadSpool = new Vector(); // Spool for the waiting threads
    // Needed for some Visual tools
    private PropertyChangeSupport pcs; // PropertyChangeSupport for visual tools
    final private boolean DEBUG = false; // True to turn on debug mode
    * Constructor
    public FtpBean()
    pcs = new PropertyChangeSupport(this);
    * Add PropertyChangeListener
    public void addPropertyChangeListener(PropertyChangeListener listener)
    pcs.addPropertyChangeListener(listener);
    * removePropertyChangeListener
    public void removePropertyChangeListener(PropertyChangeListener listener)
    pcs.removePropertyChangeListener(listener);
    * Connect to FTP server and login.
    * @param server Name of server
    * @param user User name for login
    * @param password Password for login
    * @exception FtpException if a ftp error occur (eg. Login fail in this case).
    * @exception IOException if an I/O error occur
    public void ftpConnect(String server, String user, String password)
    throws IOException, FtpException
    if (DEBUG) // Debug message
    System.out.println("FtpBean: Connecting to server " + server);
    acquire(); // Acquire the object
    // Set server name & user name
    setServerName(server);
    setUserName(user);
    try {
    // Create socket, get input & output stream
    socket = new Socket(server, port);
    in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    out = new PrintWriter(socket.getOutputStream(), true);
    // Read reply code when get connected
    getRespond();
    if (DEBUG) // Debug message
    System.out.println("FtpBean: Connected");
    // Login
    ftpLogin(user, password); // check if login success
    finally {
    release(); // Release the object
    * Close FTP connection.
    * @exception IOException if an I/O error occur
    * @exception FtpException if a ftp error occur
    public void close()
    throws IOException, FtpException
    if (out == null)
    return;
    acquire(); // Acquire the object
    try {
    ftpCommand("QUIT");
    if (!reply.startsWith("221"))
    throw new FtpException(reply);
    closeSocket();
    // Set server name & user name to ""
    setServerName("");
    setUserName("");
    finally {
    release(); // Release the object
    * Delete a file at the FTP server.
    * @param filename Name of the file to be deleted.
    * @exception FtpException if a ftp error occur. (eg. no such file in this case)
    * @exception IOException if an I/O error occur.
    public void fileDelete(String fileName)
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("DELE " + fileName);
    if (!reply.startsWith("250"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    * Rename a file at the FTP server.
    * @param oldFileName The name of the file to be renamed
    * @param newFileName The new name of the file
    * @exception FtpException if a ftp error occur. (eg. A file named the new file name already in this case.)
    * @exception IOException if an I/O error occur.
    public void fileRename(String oldFileName, String newFileName)
    throws IOException, FtpException
    acquire(); // Acquire this object
    try {
    ftpCommand("RNFR " + oldFileName);
    if (!reply.startsWith("350"))
    throw new FtpException(reply);
    ftpCommand("RNTO " + newFileName);
    if (!reply.startsWith("250"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    private boolean isSameSystem()
    throws IOException, FtpException
    String sysType = getSystemType();
    return (sysType.toUpperCase().indexOf("WINDOWS") < 0);
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile File name of local file
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    * @see FtpObserver
    public void getAsciiFile(String ftpFile, String localFile)
    throws IOException, FtpException
    getAsciiFile(ftpFile, localFile, null);
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile File name of local file
    * @param observer The FtpObserver which monitor this downloading progress
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    * @see FtpObserver
    public void getAsciiFile(String ftpFile, String localFile, FtpObserver observer)
    throws IOException, FtpException
    if (isSameSystem()) {
    getBinaryFile(ftpFile, localFile, observer);
    return;
    acquire(); // Acquire the object
    setTransferType(true); // Set transfer type to ascii
    Socket sock = null;
    try {
    sock = getDataSocket("RETR " + ftpFile, 0);
    // Read bytes from server and write to file.
    BufferedReader din = new BufferedReader(new InputStreamReader(sock.getInputStream()));
    PrintWriter dout = new PrintWriter(new BufferedWriter(new FileWriter(localFile)));
    char[] cbuf = new char[2048];
    int n;
    while ((n = din.read(cbuf, 0, cbuf.length)) != -1) {
    if (skipLineSepFilter())
    dout.write(cbuf, 0, n);
    else {
    // filter DOS line-sep to UNIX line-sep
    String data = filterLineSep(cbuf, n);
    dout.write(data, 0, data.length());
    if (observer != null)
    observer.byteRead(n);
    String data = null;
    while ((data = din.readLine()) != null) {
    dout.println(data);
    if (observer != null)
    observer.byteRead(data.length() + 1);
    din.close();
    dout.close();
    sock.close();
    getRespond();
    if (!reply.startsWith("226"))
    throw new FtpException(reply); // transfer incomplete
    finally {
    release(); // Release the object
    public void putAsciiFile(String localFile, String remoteFile, FtpObserver observer)
    throws IOException, FtpException
    acquire(); // Acquire the object
    setTransferType(true);
    // if file is to be transferred to MF, without slash, exec quote site cmd
    if (!remoteFile.startsWith("/"))
    setQuoteSite();
    Socket sock = null;
    try {
    // Read bytes from local file and write to a server.
    BufferedReader din = new BufferedReader(new FileReader(localFile));
    sock = getDataSocket("STOR " + remoteFile, 0);
    PrintWriter dout = new PrintWriter(new BufferedWriter(new OutputStreamWriter(sock.getOutputStream())));
    String data = null;
    while ((data = din.readLine()) != null) {
    //dout.println(data);
    dout.write(data);
    dout.write("\r\n");
    if (observer != null)
    observer.byteWrite(data.length() + 1);
    din.close();
    dout.close();
    sock.close();
    getRespond();
    if (DEBUG) // Debug message
    System.out.println("FtpBean: Reply is " + reply);
    putAsciiFile()
    Changed manner of checking if transfer is complete by checking the
    string Transfer Complete in the reply.
    For UNIX: Reply is 226 Transfer complete.
    For MF: Reply is 250 Transfer completed successfully.
    //if (!reply.startsWith("226"))
    int m = 0;
    if ((m = reply.indexOf("Transfer complete")) < 0)
    throw new FtpException(reply); // transfer incomplete
    finally {
    release(); // Release the object
    * Read file from ftp server and write to a file in local hard disk.
    * This method is much faster than those method which return a byte array<br>
    * if the network is fast enough.<br>
    * <br>Remark:<br>
    * Cannot be used in unsigned applet.
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile Name of local file to be write, can be in full path.
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    public void getBinaryFile(String ftpFile, String localFile)
    throws IOException, FtpException
    getBinaryFile(ftpFile, localFile, 0, null);
    * Read file from ftp server and write to a file in local hard disk.
    * This method is much faster than those method which return a byte array<br>
    * if the network is fast enough.<br>
    * <br>Remark:<br>
    * Cannot be used in unsigned applet.
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile Name of local file to be write, can be in full path.
    * @param restart Restarting point
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    public void getBinaryFile(String ftpFile, String localFile, long restart)
    throws IOException, FtpException
    getBinaryFile(ftpFile, localFile, restart, null);
    * Read file from ftp server and write to a file in local hard disk.
    * This method is much faster than those method which return a byte array<br>
    * if the network is fast enough.<br>
    * <br>Remark:<br>
    * Cannot be used in unsigned applet.
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile Name of local file to be write, can be in full path.
    * @param observer The FtpObserver which monitor this downloading progress
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    * @see FtpObserver
    public void getBinaryFile(String ftpFile, String localFile, FtpObserver observer)
    throws IOException, FtpException
    getBinaryFile(ftpFile, localFile, 0, observer);
    * Read from a ftp file and restart at a specific point.
    * This method is much faster than those method which return a byte array<br>
    * if the network is fast enough.<br>
    * Remark:<br>
    * Cannot be used in unsigned applet.
    * @param ftpFile Name of file to be get from the ftp server, can be in full path.
    * @param localFile File name of local file
    * @param restart Restarting point, ignored if equal or less than zero.
    * @param observer The FtpObserver which monitor this downloading progress
    * @exception FtpException if a ftp error occur. (eg. No such file in this case)
    * @exception IOException if an I/O error occur.
    * @see FtpObserver
    public void getBinaryFile(String ftpFile, String localFile, long restart, FtpObserver observer)
    throws IOException, FtpException
    acquire(); // Acquire the object
    setTransferType(false); // Set transfer type to binary
    Socket sock = null;
    try {
    sock = getDataSocket("RETR " + ftpFile, restart);
    // Read bytes from server and write to file.
    BufferedInputStream din = new BufferedInputStream(sock.getInputStream());
    RandomAccessFile dout = new RandomAccessFile(localFile, "rw");
    dout.seek(restart);
    byte[] data = new byte[1024];
    int n;
    while ((n = din.read(data)) != -1) {
    dout.write(data, 0, n);
    if (observer != null)
    observer.byteRead(n);
    din.close();
    dout.close();
    sock.close();
    getRespond();
    if (!reply.startsWith("226"))
    throw new FtpException(reply); // transfer incomplete
    finally {
    release(); // Release the object
    * Read a file from local hard disk and write to the server.
    * <br>Remark:<br>
    * <br>Cannot be used in unsigned applet.
    * @param local_file Name of local file, can be in full path.
    * @param remoteFile Name of file in the ftp server, can be in full path.
    * @exception FtpException if a ftp error occur. (eg. permission denied)
    * @exception IOException if an I/O error occur.
    public void putBinaryFile(String localFile, String remoteFile)
    throws IOException, FtpException
    putBinaryFile(localFile, remoteFile, 0, null);
    * Read a file from local hard disk and write to the server.
    * <br>Remark:<br>
    * <br>Cannot be used in unsigned applet.
    * @param localFile Name of local file, can be in full path.
    * @param remoteFile Name of file in the ftp server, can be in full path.
    * @param observer The FtpObserver which monitor this uploading progress.
    * @exception FtpException if a ftp error occur. (eg. permission denied)
    * @exception IOException if an I/O error occur.
    public void putBinaryFile(String localFile, String remoteFile, FtpObserver observer)
    throws IOException, FtpException
    putBinaryFile(localFile, remoteFile, 0, observer);
    * Read a file from local hard disk and write to the server with restarting point.
    * Remark:<br>
    * Cannot be used in unsigned applet.
    * @param localFile Name of local file, can be in full path.
    * @param remoteFile Name of file in the ftp server, can be in full path.
    * @param restart The restarting point, ignored if less than or greater than zero.
    * @exception FtpException if a ftp error occur. (eg. permission denied)
    * @exception IOException if an I/O error occur.
    public void putBinaryFile(String localFile, String remoteFile, long restart)
    throws IOException, FtpException
    putBinaryFile(localFile, remoteFile, restart, null);
    * Read a file from local hard disk and write to the server with restarting point.
    * Remark:<br>
    * Cannot be used in unsigned applet.
    * @param localFile Name of local file, can be in full path.
    * @param remoteFile Name of file in the ftp server, can be in full path.
    * @param observer The FtpObserver which monitor this uploading progress
    * @exception FtpException if a ftp error occur. (eg. permission denied)
    * @exception IOException if an I/O error occur.
    public void putBinaryFile(String localFile, String remoteFile, long restart, FtpObserver observer)
    throws IOException, FtpException
    acquire(); // Acquire the object
    setTransferType(false);
    Socket sock = null;
    try {
    RandomAccessFile din = new RandomAccessFile(localFile, "r");
    sock = getDataSocket("STOR " + remoteFile, restart);
    if (restart > 0)
    din.seek(restart);
    DataOutputStream dout = new DataOutputStream(sock.getOutputStream());
    byte[] data = new byte[1024];
    int n;
    while ((n = din.read(data)) != -1) {
    dout.write(data, 0, n);
    if (observer != null)
    observer.byteWrite(n);
    din.close();
    dout.close();
    sock.close();
    getRespond();
    putBinaryFile()
    Changed manner of checking if transfer is complete by checking the
    string Transfer Complete in the reply.
    For UNIX: Reply is 226 Transfer complete.
    For MF: Reply is 250 Transfer completed successfully.
    //if (!reply.startsWith("226"))
    int m = 0;
    if ((m = reply.indexOf("Transfer complete")) < 0)
    throw new FtpException(reply); // transfer incomplete
    finally {
    release(); // Release the object
    * Get current directory name.
    * @return The name of the current directory.
    * @exception FtpException if a ftp error occur.
    * @exception IOException if an I/O error occur.
    public String getDirectory()
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("PWD");
    if (!reply.startsWith("257"))
    throw new FtpException(reply);
    int first = reply.indexOf("\"");
    int last = reply.lastIndexOf("\"");
    return reply.substring(first + 1, last);
    finally {
    release(); // Release the object
    * Change directory.
    * @param directory Name of directory
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    public void setDirectory(String directory)
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("CWD " + directory);
    if (!reply.startsWith("250"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    * Change to parent directory.
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    public void toParentDirectory()
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("CDUP");
    if (!reply.startsWith("250"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    * Get the content of current directory
    * @return A FtpListResult object, return null if it is not connected.
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    * @see FtpListResult
    public FtpListResult getDirectoryContent()
    throws IOException, FtpException
    String strList = getDirectoryContentAsString();
    FtpListResult ftpList = new FtpListResult();
    ftpList.parseList(strList, getSystemType());
    return ftpList;
    * Get the content of current directory.
    * @return A list of directories, files and links in the current directory.
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    public String getDirectoryContentAsString()
    throws IOException, FtpException
    StringBuffer list = new StringBuffer(""); // Directory list
    Socket sock = null; // Socket to establish data connection
    acquire(); // Acquire the object
    try {
    // get DataSocket for the LIST command.
    // As no restarting point, send 0.
    sock = getDataSocket("LIST", 0);
    BufferedReader din = new BufferedReader(new InputStreamReader(sock.getInputStream()));
    // Read bytes from server.
    String line;
    while ((line = din.readLine()) != null)
    list.append(line).append("\n");
    din.close();
    sock.close();
    getRespond();
    if (!reply.startsWith("226"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    return list.toString();
    * Make a directory in the server.
    * @param directory The name of directory to be made.
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    public void makeDirectory(String directory)
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("MKD " + directory);
    if (!reply.startsWith("257"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    * Remove a directory in the server
    * @param directory The name of directory to be removed
    * @exception FtpException if a ftp error occur. (eg. permission denied in this case)
    * @exception IOException if an I/O error occur.
    public void removeDirectory(String directory)
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("RMD " + directory);
    if (!reply.startsWith("250"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    * Execute a command using ftp.
    * e.g. chmod 700 file
    * @param exec The command to execute.
    * @exception FtpException if a ftp error occur. (eg. command not understood)
    * @exception IOException if an I/O error occur.
    public void execute(String exec)
    throws IOException, FtpException
    acquire(); // Acquire the object
    try {
    ftpCommand("SITE " + exec);
    if (!reply.startsWith("200"))
    throw new FtpException(reply);
    finally {
    release(); // Release the object
    private String _ftpSystemType = null;
    * Get the type of operating system of the server.
    * Return null if it is not currently connected to any ftp server.
    * @return Name of the operating system.
    public String getSystemType()
    throws IOException, FtpException
    if (_ftpSystemType != null)
    return _ftpSystemType;
    acquire(); // Acquire the object
    try {
    ftpCommand("SYST");
    if (!reply.startsWith("215"))
    throw new FtpException(reply);
    _ftpSystemType = reply.substring(4);
    return _ftpSystemType;
    finally {
    release(); // Release the object
    * Return the port number
    public int getPort()
    return port;
    * Set port number if the port number of ftp is not 21
    public void setPort(int port)
    acquire(); // Acquire the object
    pcs.firePropertyChange("port", new Integer(this.port), new Integer(port));
    this.port = port;
    release(); // Release the object
    * Return the server name. Return "" if it is not connected to any server.
    public String getServerName()
    return server;
    * Return the user name. Return "" if it is not connected to any server.
    public String getUserName()
    return user;
    * Get reply of the last command.
    * @return Reply of the last comomand<br>for example: 250 CWD command successful
    public String getReply()
    return reply;
    * Get reply message of the last command.
    * @return Reply message of the last command<br>for example:<br>
    * 250-Please read the file README<br>
    * 250-it was last modified on Wed Feb 10 21:51:00 1999 - 268 days ago
    public String getReplyMessage()
    return replyMessage;
    * Return true if it is using passive transfer mode.
    public boolean isPassiveModeTransfer()
    return passive;
    * Set passive transfer mode. Default is true.
    * @param passive Using passive transfer if true.
    public void setPassiveModeTransfer(boolean passive)
    acquire(); // Acquire the object
    pcs.firePropertyChange("passiveModeTransfer", new Boolean(this.passive), new Boolean(passive));
    this.passive = passive;
    if (DEBUG) // debug message
    System.out.println("FtpBean: Set passive transfer - " + passive);
    release(); // Release the object
    * Close the Socket, input and output stream
    private void closeSocket()
    throws IOException
    _ftpSystemType = null;
    in.close();
    out.close();
    socket.close();
    in = null;
    out = null;
    socket = null;
    * Read the respond message from the server's inputstream and assign to replyMessage
    private void getRespond()
    throws IOException
    String line = "";
    String replyMessage = "";
    while (true) {
    // Problem.....
    line = in.readLine();
    if (!checkReply(line))
    break;
    replyMessage = replyMessage.concat(line).concat("\n");
    setReplyMessage(replyMessage);
    setReply(line);
    * Login to server, using FTP commands "USER" and "PASS"
    * @param user FTP username
    * @param password FTP Password
    private void ftpLogin(String user, String password)
    throws IOException, FtpException
    ftpCommand("USER " + user); // send user name
    ftpCommand("PASS " + password); // send password
    if (!reply.startsWith("230")) {
    closeSocket();
    throw new FtpException(reply);
    * Send FTP command to the server.
    * @param command The command to be sent
    private void ftpCommand(String command)
    throws IOException
    if (DEBUG) {  // Debug message
    if (command.startsWith("PASS"))
    System.out.println("FtpBean: Send password");
    else
    System.out.println("FtpBean: Send command \"" + command + "\"");
    out.print(command + "\r\n"); // Send command
    out.flush();
    getRespond();
    * Establish data connection for transfer
    private Socket getDataSocket(String command, long restart)
    throws IOException, FtpException
    Socket sock = null;
    ServerSocket ssock = null;
    // Establish data conncetion using passive or active mode.
    if (passive)
    sock = getPassiveDataSocket();
    else
    ssock = getActiveDataSocket();
    // Send the restart command if it is greater than zero
    if (restart > 0) {
    ftpCommand("REST " + restart);
    if (!reply.startsWith("350"))
    throw new FtpException(reply);
    // Send commands like LIST, RETR and STOR
    // These commands will return 125 or 150 when success.
    ftpCommand(command);
    if (!(reply.startsWith("125") || reply.startsWith("150")))
    throw new FtpException(reply); // command file
    // Get Socket object for active mode.
    if (!passive)
    sock = ssock.accept();
    return sock;
    * Establish data connection in passive mode using "PASV" command
    * Change the server to passive mode.
    * by the command "PASV", it will return its address
    * and port number that it will listen to.
    * Create a Socket object to that address and port number.
    * Then return the Socket object.
    private Socket getPassiveDataSocket()
    throws IOException, FtpException
    ftpCommand("PASV");
    if (!reply.startsWith("227"))
    throw new FtpException(reply);
    // array that holds the outputed address and port number.
    String[] address = new String[6];
    // put the 'reply' to the array 'address'
    StringTokenizer t = new StringTokenizer(reply, ",");
    for (int i = 0; i < 6; i++)
    address[i] = t.nextToken();
    // Get port number.
    // Erase all other characters except the port number
    // which is at the beginning of the string
    String lastPort = "";
    int num = 3;
    if (address[5].length() < 3)
    num = address[5].length();
    for (int i = 0; i < num; i++) {
    if (Character.isDigit(address[5].charAt(i)))
    lastPort = lastPort + address[5].charAt(i);
    // assign last port number to address[5]
    address[5] = lastPort;
    // Get the port number
    // Left shift the first number by 8
    int newPort = (Integer.parseInt(address[4]) << 8) + Integer.parseInt(address[5]);
    // Create a new socket object
    Socket sock = new Socket(getServerName(), newPort);
    return sock;
    * Establish data connection in active mode using "PORT" command.
    * It create a ServerSocket object to listen for a port number in local machine.
    * Use port command to tell the server which port the local machine is listenning.
    * Return the ServerSocket object.
    private ServerSocket getActiveDataSocket()
    throws IOException, FtpException
    int[] portNumbers = new int[6]; // Array that contains
    // Get ip address of local machine. ip address and port numbers
    String localAddr = socket.getLocalAddress().getHostAddress();
    // Assign the ip address of local machine to the array.
    StringTokenizer st = new StringTokenizer(localAddr, ".");
    for (int i = 0; i < 4; i++)
    portNumbers[i] = Integer.parseInt(st.nextToken());
    ServerSocket ssocket = new ServerSocket(0); // ServerSocket to listen to a random free port number
    int localPort = ssocket.getLocalPort(); // The port number it is listenning to
    // Assign port numbers the array
    portNumbers[4] = ((localPort & 0xff00) >> 8);
    portNumbers[5] = (localPort & 0x00ff);
    // Send "PORT" command to s

    You would have to pick a library to do that. There are several commercial libraries. Out of the open source ones, the most mature one seems to be Ganymed SSH-2.

  • Essentials Connector: The server is not available after upgrade from Windows 8 Pro to Windows 8.1. Pro

    Hi all
    As many others I am facing also connection problems with Windows Server 2012 Essentials R2 and a windows client pc.
    The client pc in question, with windows 8 pro, has been successfully joined through the essentials connector to the domain.
    All things went good: media streaming, shared folders, a successfull backup has been started through the essentials launchpad, the client appeared as online in the devices tab of the essentials dashboard.
    Then I upgraded the pc to windows 8.1 pro.
    Now the client can't connect to the server. Following issues appear:
    The client pc is showed as offline the the dashboard when it is online.
    Backups (from launchpad or server) aren't  possible -> no connection to the windows server essentials adminitration service.
    Dashboard not available from launchpad
    The message "the server is not available" appears, when I try to reconnect the client by the essentials connector.
    BUT:
    ping to the server's ip address works.
    media streaming is also ok
    shared folders are still available.
    Any ideas what changed with the upgrade to 8.1 Pro? Is the a firewall problem on the client pc?
    Many thanks for your help.
    PS. If anyone needs a specific log file from the server or the client, please let me know.

    Hi Justin
    I executed all you instructions, but nothing helped.
    I add here the ClientDeploy.log and the ComputerConnector.log
    The ClientDeploy stopps after a registry insert error.
    The user executing the connector is member of the Administrators Group on the Client pc.
    I started the connector even with "Run as Administrator" but nothing helped.
    Any ideas why this registry insert failes?
    Thanks for you help and best regards
    Hans
    [5692] 140604.211748.1774: ClientSetup: Start of ClientDeploy
    [5692] 140604.211748.3181: General: Initializing...C:\WINDOWS\system32\Essentials\ClientDeploy.exe
    [5692] 140604.211748.3337: ClientSetup: Create client deployment registry subkey if necessary
    [5692] 140604.211748.3493: ClientSetup: The initial launching way: -LaunchedFrom:installer
    [5692] 140604.211748.3493: ClientSetup: The initial state is set
    [5692] 140604.211748.3493: ClientSetup: The initial serverName: 192.168.3.21
    [5692] 140604.211748.3493: ClientSetup: Loading Wizard Data
    [5692] 140604.211748.3649: ClientSetup: Saving Wizard Data
    [5692] 140604.211748.3649: ClientSetup: Current DeploymentStatus=Start
    [5692] 140604.211748.7400: ClientSetup: Showing the Client Deployment Wizard
    [5692] 140604.211748.8493: ClientSetup: Machine name:PCFA, length:4
    [5692] 140604.211748.8650: ClientSetup: The input server name is 192.168.3.21
    [2156] 140604.211748.8806: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [2156] 140604.211748.8806: ClientSetup: Running Task with Id=ClientDeploy.PreConfiguration
    [5692] 140604.211748.8962: ClientSetup: InitWizard, The currrent stage is ConnectingToServer
    [5692] 140604.211748.8962: ClientSetup: Set the Deployment Sync Event
    [2156] 140604.211748.8962: ClientSetup: The configuration cab will be downloaded from 192.168.3.21
    [2156] 140604.211748.9118: ClientSetup: Download file Setup.cab from server
    [2156] 140604.211748.9275: ClientSetup: Making web request:
    https://192.168.3.21//connect/default.aspx?Get=Setup.cab&LanguageId=1031&64bit=1
    [2156] 140604.211748.9743: ClientSetup: Failed to download Setup.cab from server: System.Net.WebException: Die zugrunde liegende Verbindung wurde geschlossen: Für den geschützten SSL/TLS-Kanal konnte keine Vertrauensstellung hergestellt werden.. ---> System.Security.Authentication.AuthenticationException:
    Das Remotezertifikat ist laut Validierungsverfahren ungültig.
       bei System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       bei System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       bei System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.Net.HttpWebRequest.GetResponse()
       bei Microsoft.WindowsServerSolutions.ClientSetup.CSCommon.DownloadFileFromConnectSite(String outputDirectory, Uri serverUrl, String fileName, Int32 languageId, Boolean is64bit)
    [2156] 140604.211748.9743: ClientSetup: Cannot get configuration file with https, will try http...
    [2156] 140604.211748.9743: ClientSetup: Download file Setup.cab from server
    [2156] 140604.211748.9743: ClientSetup: Making web request:
    http://192.168.3.21//connect/default.aspx?Get=Setup.cab&LanguageId=1031&64bit=1
    [2156] 140604.211749.0369: ClientSetup: Downloaded file C:\WINDOWS\Temp\ClientDeploymentTempFiles\Setup.cab
    [2156] 140604.211749.0369: ClientSetup: The configuration cab is downloaded to C:\WINDOWS\Temp\ClientDeploymentTempFiles\Setup.cab
    [2156] 140604.211749.1775: ClientSetup: Adding Server Info data in the Product Registry
    [2156] 140604.211749.1931: DnsEnvironmentDetector: GetHostAddresses() returned 192.168.3.21, normal environment
    [2156] 140604.211749.1931: ClientSetup: Exiting PreConfigTask.Run()
    [2156] 140604.211749.1931: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has TaskStatus=Success
    [2156] 140604.211749.1931: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has RebootStatus=NoReboot
    [2156] 140604.211749.1931: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0217: ClientSetup: Running InstallRootCert Task at WizardPage DomainUserCred
    [5792] 140604.211758.0373: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0373: ClientSetup: Running Task with Id=ClientDeploy.InstallRootCertTask
    [5792] 140604.211758.0373: ClientSetup: Entering InstallRootCertTask.Run
    [5792] 140604.211758.0373: ClientSetup: Install root cert to local trusted store
    [5792] 140604.211758.0373: ClientSetup: Exiting InstallRootCertTask.Run
    [5792] 140604.211758.0373: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has TaskStatus=Success
    [5792] 140604.211758.0373: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has RebootStatus=NoReboot
    [5792] 140604.211758.0373: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0373: ClientSetup: Running SetupVPNAndDA Task at WizardPage DomainUserCred
    [5792] 140604.211758.0373: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0373: ClientSetup: Running Task with Id=ClientDeploy.SetupVpnAndDATask
    [5792] 140604.211758.0529: ClientSetup: Entering SetupVpnAndDATask.Run
    [5792] 140604.211758.0685: ClientSetup: Deploy VPN profile
    [5792] 140604.211758.0998: ClientSetup: Exting SetupVpnAndDATask.Run
    [5792] 140604.211758.0998: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has TaskStatus=Success
    [5792] 140604.211758.0998: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has RebootStatus=NoReboot
    [5792] 140604.211758.0998: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0998: ClientSetup: Running ValidateUser Tasks at WizardPage DomainUserCred
    [5792] 140604.211758.0998: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5792] 140604.211758.0998: ClientSetup: Running Task with Id=ClientDeploy.ValidateUser
    [5792] 140604.211758.0998: ClientSetup: Entering ValidateUserTask.Run
    [5792] 140604.211758.0998: ClientSetup: Validating User
    [5792] 140604.211758.0998: ClientSetup: Call MachineIdentityManager.GetMachineStatus
    [5792] 140604.211758.1779: ClientSetup: MachineIdentityManager.GetMachineStatus had errors: ErrorCatalog:NetworkError ErrorCode:-1
    BaseException: Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityException: MachineIdentityManager.GetMachineStatus ---> System.ServiceModel.Security.SecurityNegotiationException: Es konnte keine Vertrauensstellung für den sicheren SSL/TLS-Kanal
    mit Autorität mars01:65500 eingerichtet werden. ---> System.Net.WebException: Die zugrunde liegende Verbindung wurde geschlossen: Für den geschützten SSL/TLS-Kanal konnte keine Vertrauensstellung hergestellt werden.. ---> System.Security.Authentication.AuthenticationException:
    Das Remotezertifikat ist laut Validierungsverfahren ungültig.
       bei System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       bei System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       bei System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       bei System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.Net.HttpWebRequest.GetResponse()
       bei System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- Ende der internen Ausnahmestapelüberwachung ---
    Server stack trace:
       bei System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       bei System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       bei System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       bei Microsoft.WindowsServerSolutions.Devices.Identity.CertWebService.ICertService.GetMachineStatus(GetMachineStatusRequest request)
       bei Microsoft.WindowsServerSolutions.Devices.Identity.CertWebService.CertServiceClient.GetMachineStatus(String userName, String password, String machineName, MachineStatus& status, Boolean& isAdmin, Int32& maxClientNum, Int32& currentClientNum)
       bei Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityManager.GetMachineStatus(String serverName, String userName, String password, String machineName, Boolean& isAdmin)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityManager.GetMachineStatus(String serverName, String userName, String password, String machineName, Boolean& isAdmin)
       bei Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.ValidateUserTask.Run(WizData data)
    [5792] 140604.211758.1779: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\WINDOWS\system32\ipconfig.exe"  /all
    [2156] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [2156] 140604.211758.2092: ClientSetup: Standard Ouptput: Windows-IP-Konfiguration
    [2156] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Hostname  . . . . . . . . . . . . : PCFA
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Prim„res DNS-Suffix . . . . . . . : mydomain.local
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Knotentyp . . . . . . . . . . . . : Hybrid
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    IP-Routing aktiviert  . . . . . . : Nein
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    WINS-Proxy aktiviert  . . . . . . : Nein
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DNS-Suffixsuchliste . . . . . . . : mydomain.local
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput: Drahtlos-LAN-Adapter LAN-Verbindung* 11:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Medienstatus. . . . . . . . . . . : Medium getrennt
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Verbindungsspezifisches DNS-Suffix:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Beschreibung. . . . . . . . . . . : Virtueller Microsoft-Adapter fr direktes WiFi
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Physische Adresse . . . . . . . . : 16-
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DHCP aktiviert. . . . . . . . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Autokonfiguration aktiviert . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput: Ethernet-Adapter LAN-Verbindung:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Verbindungsspezifisches DNS-Suffix:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Beschreibung. . . . . . . . . . . : Broadcom NetLink (TM)-Gigabit-Ethernet
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Physische Adresse . . . . . . . . : DC-
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DHCP aktiviert. . . . . . . . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Autokonfiguration aktiviert . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    IPv4-Adresse  . . . . . . . . . . : 192.168.2.6(Bevorzugt)
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Subnetzmaske  . . . . . . . . . . : 255.255.255.0
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Lease erhalten. . . . . . . . . . : Mittwoch, 4. Juni 2014 18:03:36
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Lease l„uft ab. . . . . . . . . . : Freitag, 6. Juni 2014 20:49:17
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Standardgateway . . . . . . . . . : 192.168.2.1
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DHCP-Server . . . . . . . . . . . : 192.168.2.1
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DNS-Server  . . . . . . . . . . . : 192.168.3.21
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:                                       
    192.168.1.52
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    NetBIOS ber TCP/IP . . . . . . . : Aktiviert
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput: Drahtlos-LAN-Adapter WiFi:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Medienstatus. . . . . . . . . . . : Medium getrennt
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Verbindungsspezifisches DNS-Suffix: Home
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Beschreibung. . . . . . . . . . . : Qualcomm Atheros AR5B97-Funknetzwerkadapter
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Physische Adresse . . . . . . . . : 94-
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DHCP aktiviert. . . . . . . . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Autokonfiguration aktiviert . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput: Tunneladapter isatap.{8F57A34A-FE47-429C-97D0-AA777D79C23F}:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Medienstatus. . . . . . . . . . . : Medium getrennt
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Verbindungsspezifisches DNS-Suffix:
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Beschreibung. . . . . . . . . . . : Microsoft-ISATAP-Adapter
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    DHCP aktiviert. . . . . . . . . . : Nein
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:    Autokonfiguration aktiviert . . . : Ja
    [1344] 140604.211758.2092: ClientSetup: Standard Ouptput:
    [4504] 140604.211758.2092: ClientSetup: Standard Error:
    [5792] 140604.211758.2248: ClientSetup: The exit code of the process (C:\WINDOWS\system32\ipconfig.exe) is: 0
    [5792] 140604.211758.2248: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\WINDOWS\system32\route.exe"  print
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: Schnittstellenliste
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   9...16 39 e5 4c c5 f2 ......Virtueller Microsoft-Adapter fr direktes WiFi
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   4...dc 0e a1 06 1f c9 ......Broadcom NetLink (TM)-Gigabit-Ethernet
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   3...94 39 e5 4c c5 f2 ......Qualcomm Atheros AR5B97-Funknetzwerkadapter
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   1...........................Software Loopback Interface 1
    [1344] 140604.211758.2404: ClientSetup: Standard Error:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   5...00 00 00 00 00 00 00 e0 Microsoft-ISATAP-Adapter
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: IPv4-Routentabelle
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: Aktive Routen:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:      Netzwerkziel    Netzwerkmaske          Gateway    Schnittstelle Metrik
    [5792] 140604.211758.2404: ClientSetup: The exit code of the process (C:\WINDOWS\system32\route.exe) is: 0
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:           0.0.0.0          0.0.0.0      192.168.2.1     
    192.168.2.6     10
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:         127.0.0.0        255.0.0.0   Auf Verbindung         127.0.0.1   
    306
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:         127.0.0.1  255.255.255.255   Auf Verbindung         127.0.0.1    306
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   127.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    306
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:       192.168.2.0    255.255.255.0   Auf Verbindung       192.168.2.6    266
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:       192.168.2.6  255.255.255.255   Auf Verbindung       192.168.2.6    266
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:     192.168.2.255  255.255.255.255   Auf Verbindung       192.168.2.6    266
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:         224.0.0.0        240.0.0.0   Auf Verbindung         127.0.0.1   
    306
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:         224.0.0.0        240.0.0.0   Auf Verbindung       192.168.2.6   
    266
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   255.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    306
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   255.255.255.255  255.255.255.255   Auf Verbindung       192.168.2.6    266
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: St„ndige Routen:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   Keine
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:
    [5792] 140604.211758.2404: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\WINDOWS\system32\nslookup.exe" mars01
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: IPv6-Routentabelle
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: Aktive Routen:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:  If Metrik Netzwerkziel             Gateway
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   1    306 ::1/128                  Auf Verbindung
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   1    306 ff00::/8                 Auf Verbindung
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: ===========================================================================
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput: St„ndige Routen:
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:   Keine
    [2156] 140604.211758.2404: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput: Server:  UnKnown
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput: Address:  192.168.3.21
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput:
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput: Name:    mars01.mydomain.local
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput: Addresses:  192.168.3.21
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput:    192.168.1.131
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput:    192.168.4.31
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput:
    [4504] 140604.211758.2560: ClientSetup: Standard Error:
    [1344] 140604.211758.2560: ClientSetup: Standard Ouptput:
    [5792] 140604.211758.2560: ClientSetup: The exit code of the process (C:\WINDOWS\system32\nslookup.exe) is: 0
    [5792] 140604.211758.2717: ClientSetup: Set CD Fail reason 10 for SQM in ClientDeployment.exe
    [5792] 140604.211758.2717: ClientSetup: RecordClientDeploymentFailReason: Save registry failed in ClientDeployment.exe : System.UnauthorizedAccessException: In den Registrierungsschlüssel kann nicht geschrieben werden.
       bei Microsoft.Win32.RegistryKey.EnsureWriteable()
       bei Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
       bei Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
       bei Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.Helper.RecordClientDeploymentFailReason(UInt32 failReason)
    [5792] 140604.211758.2717: ClientSetup: Exiting ValidateUserTask.Run
    [5792] 140604.211758.2717: ClientSetup: Task with Id=ClientDeploy.ValidateUser has TaskStatus=Failed
    [5792] 140604.211758.2717: ClientSetup: Task with Id=ClientDeploy.ValidateUser has RebootStatus=NoReboot
    [5792] 140604.211758.2717: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [06/04/2014 20:23:38 1730] --------------------------------------------------------------------------------------------------
    [06/04/2014 20:23:38 1730] wmain: Start of Computerconnector
    [06/04/2014 20:23:38 1730] GlobalData::Initialize (192.168.3.10, C:\Users\johndoe.mydomain\Downloads\ComputerConnector(192.168.3.10).exe)
    [06/04/2014 20:23:38 1730] =================================
    [06/04/2014 20:23:38 1730] Current Os information:
    [06/04/2014 20:23:38 1730] Suite = [256]
    [06/04/2014 20:23:38 1730] Type = [1]
    [06/04/2014 20:23:38 1730] Architecture = [9]
    [06/04/2014 20:23:38 1730] IsStarterEdition = [0]
    [06/04/2014 20:23:38 1730] IsHomeSku = [0]
    [06/04/2014 20:23:38 1730] Major = [6]
    [06/04/2014 20:23:38 1730] Minor = [3]
    [06/04/2014 20:23:38 1730] Build = [9600]
    [06/04/2014 20:23:38 1730] SPMajor = [0]
    [06/04/2014 20:23:38 1730] SPMinor = [0]
    [06/04/2014 20:23:38 1730] =================================
    [06/04/2014 20:23:38 1730] ExpandEnvironmentStrings return (C:\WINDOWS\Temp\ClientDeploymentTempFiles\)
    [06/04/2014 20:23:38 1730] SetPackageDlcUrl: .NET url is set to
    http://go.microsoft.com/?linkid=9816306
    [06/04/2014 20:23:38 1730] SetPackageDlcUrl: Connector url is set to
    http://go.microsoft.com/fwlink/p/?LinkId=275102
    [06/04/2014 20:23:38 1730] wmain: Calling Computerconnector::ShowWizard()
    [06/04/2014 20:23:38 1730] CComputerconnector::ShowWizard: Initializing common controls
    [06/04/2014 20:23:38 1730] CComputerconnector::ShowWizard: Done initializing common controls
    [06/04/2014 20:23:38 1730] Displaying the wizard
    [06/04/2014 20:23:38 1730] CComputerconnector::WelcomeDlgProc: IDD_PROPPAGE_WELCOME Page Initialization
    [06/04/2014 20:23:38 1730] Current user default UI lang setting is 1031
    [06/04/2014 20:23:38   c8] CComputerconnector::Run: Installation is ready to run
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: IDD_PROPPAGE_TASKS Page Initialization
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Die aktuellen Systemanforderungen werden ermittelt... Index=  0
    [06/04/2014 20:23:42 1774] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {21E49794-7C13-4E84-8659-55BD378267D5} returned -1
    [06/04/2014 20:23:42 1774] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {46DCED50-3A1D-4EF4-94F0-45F2681E3D70} returned -1
    [06/04/2014 20:23:42 1774] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {C1E4D639-4A33-4314-809E-89BD0EF48522} returned -1
    [06/04/2014 20:23:42 1774] Connector installation state is 1
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=.NET Framework 4.5 wird heruntergeladen... Index=  1
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=.NET Framework 4.5 wird installiert... Index=  2
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Der Connector wird heruntergeladen... Index=  3
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Windows Server Essentials Connector wird installiert... Index=  4
    [06/04/2014 20:23:42 1774] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Die Einrichtung von Windows Server Essentials Connector wird gestartet... Index=  5
    [06/04/2014 20:23:42 1774] RunShellExecute: ShellExecute [C:\WINDOWS\system32\Essentials\ClientDeploy.exe] with parameters [ -Server:192.168.3.10 -LaunchedFrom:installer]
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Running
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Die aktuellen Systemanforderungen werden ermittelt...
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: .NET Framework 4.5 wird heruntergeladen...
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: .NET Framework 4.5 wird installiert...
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Der Connector wird heruntergeladen...
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Windows Server Essentials Connector wird installiert...
    [06/04/2014 20:23:42 1730] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Die Einrichtung von Windows Server Essentials Connector wird gestartet...
    [06/04/2014 20:23:42 1774] CComputerconnector::Run: Waiting upto 60secs for Sync Event to be signaled
    [06/04/2014 20:23:43 1774] CComputerconnector::Run: WaitForSingleObject RetVal = 0
    [06/04/2014 20:23:43 1730] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Success
    [06/04/2014 20:23:43 1730] wmain: End of Computerconnector: hr=0x0
    [06/04/2014 20:54:06 1220] --------------------------------------------------------------------------------------------------
    [06/04/2014 20:54:06 1220] wmain: Start of Computerconnector
    [06/04/2014 20:54:06 1220] GlobalData::Initialize (192.168.3.10, C:\Users\johndoe.mydomain\Downloads\ComputerConnector(192.168.3.10)(1).exe)
    [06/04/2014 20:54:06 1220] =================================
    [06/04/2014 20:54:06 1220] Current Os information:
    [06/04/2014 20:54:06 1220] Suite = [256]
    [06/04/2014 20:54:06 1220] Type = [1]
    [06/04/2014 20:54:06 1220] Architecture = [9]
    [06/04/2014 20:54:06 1220] IsStarterEdition = [0]
    [06/04/2014 20:54:06 1220] IsHomeSku = [0]
    [06/04/2014 20:54:06 1220] Major = [6]
    [06/04/2014 20:54:06 1220] Minor = [3]
    [06/04/2014 20:54:06 1220] Build = [9600]
    [06/04/2014 20:54:06 1220] SPMajor = [0]
    [06/04/2014 20:54:06 1220] SPMinor = [0]
    [06/04/2014 20:54:06 1220] =================================
    [06/04/2014 20:54:06 1220] ExpandEnvironmentStrings return (C:\WINDOWS\Temp\ClientDeploymentTempFiles\)
    [06/04/2014 20:54:06 1220] SetPackageDlcUrl: .NET url is set to
    http://go.microsoft.com/?linkid=9816306
    [06/04/2014 20:54:06 1220] SetPackageDlcUrl: Connector url is set to
    http://go.microsoft.com/fwlink/p/?LinkId=275102
    [06/04/2014 20:54:06 1220] wmain: Calling Computerconnector::ShowWizard()
    [06/04/2014 20:54:06 1220] CComputerconnector::ShowWizard: Initializing common controls
    [06/04/2014 20:54:06 1220] CComputerconnector::ShowWizard: Done initializing common controls
    [06/04/2014 20:54:06 1220] Displaying the wizard
    [06/04/2014 20:54:06 1220] CComputerconnector::WelcomeDlgProc: IDD_PROPPAGE_WELCOME Page Initialization
    [06/04/2014 20:54:06 1220] Current user default UI lang setting is 1031
    [06/04/2014 20:54:06 1404] CComputerconnector::Run: Installation is ready to run
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: IDD_PROPPAGE_TASKS Page Initialization
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Die aktuellen Systemanforderungen werden ermittelt... Index=  0
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Running
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Die aktuellen Systemanforderungen werden ermittelt...
    [06/04/2014 20:54:09  e90] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {21E49794-7C13-4E84-8659-55BD378267D5} returned -1
    [06/04/2014 20:54:09  e90] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {46DCED50-3A1D-4EF4-94F0-45F2681E3D70} returned -1
    [06/04/2014 20:54:09  e90] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {C1E4D639-4A33-4314-809E-89BD0EF48522} returned -1
    [06/04/2014 20:54:09  e90] Connector installation state is 1
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=.NET Framework 4.5 wird heruntergeladen... Index=  1
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=.NET Framework 4.5 wird installiert... Index=  2
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Der Connector wird heruntergeladen... Index=  3
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: .NET Framework 4.5 wird heruntergeladen...
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Windows Server Essentials Connector wird installiert... Index=  4
    [06/04/2014 20:54:09  e90] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Die Einrichtung von Windows Server Essentials Connector wird gestartet... Index=  5
    [06/04/2014 20:54:09  e90] RunShellExecute: ShellExecute [C:\WINDOWS\system32\Essentials\ClientDeploy.exe] with parameters [ -Server:192.168.3.10 -LaunchedFrom:installer]
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: .NET Framework 4.5 wird installiert...
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Der Connector wird heruntergeladen...
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Windows Server Essentials Connector wird installiert...
    [06/04/2014 20:54:09 1220] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Die Einrichtung von Windows Server Essentials Connector wird gestartet...
    [06/04/2014 20:54:09  e90] CComputerconnector::Run: Waiting upto 60secs for Sync Event to be signaled
    [06/04/2014 20:54:13  e90] CComputerconnector::Run: WaitForSingleObject RetVal = 0
    [06/04/2014 20:54:13 1220] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Success
    [06/04/2014 20:54:13 1220] wmain: End of Computerconnector: hr=0x0

  • Windows Server Essentials Connector issue

    I cannot get the computer connector program to complete successfully. Had to add my 6 Pcs manually through the Properties screen on the PCs.  As a result, Computers are not listed on the Anywhere Access screen and no-one can remote into their PC.
    I have both, a self-signed certificate for the servername.domainname.local and a purchased certificate for the public domain on the server.
    here is the computerconnector log and the clientdeployment log:
    [05/27/2014 21:28:21 117c] --------------------------------------------------------------------------------------------------
    [05/27/2014 21:28:21 117c] wmain: Start of Computerconnector
    [05/27/2014 21:28:21 117c] GlobalData::Initialize (192.168.0.3, C:\Users\mmorton.MARCHITECTS\AppData\Local\Microsoft\Windows\INetCache\IE\8M2RXD56\ComputerConnector(192.168.0.3).exe)
    [05/27/2014 21:28:21 117c] =================================
    [05/27/2014 21:28:21 117c] Current Os information:
    [05/27/2014 21:28:21 117c] Suite = [256]
    [05/27/2014 21:28:21 117c] Type = [1]
    [05/27/2014 21:28:21 117c] Architecture = [9]
    [05/27/2014 21:28:21 117c] IsStarterEdition = [0]
    [05/27/2014 21:28:21 117c] IsHomeSku = [0]
    [05/27/2014 21:28:21 117c] Major = [6]
    [05/27/2014 21:28:21 117c] Minor = [3]
    [05/27/2014 21:28:21 117c] Build = [9600]
    [05/27/2014 21:28:21 117c] SPMajor = [0]
    [05/27/2014 21:28:21 117c] SPMinor = [0]
    [05/27/2014 21:28:21 117c] =================================
    [05/27/2014 21:28:21 117c] ExpandEnvironmentStrings return (C:\Windows\Temp\ClientDeploymentTempFiles\)
    [05/27/2014 21:28:21 117c] SetPackageDlcUrl: .NET url is set to
    http://go.microsoft.com/?linkid=9816306
    [05/27/2014 21:28:21 117c] SetPackageDlcUrl: Connector url is set to
    http://go.microsoft.com/fwlink/p/?LinkId=275102
    [05/27/2014 21:28:21 117c] wmain: Calling Computerconnector::ShowWizard()
    [05/27/2014 21:28:21 117c] CComputerconnector::ShowWizard: Initializing common controls
    [05/27/2014 21:28:21 117c] CComputerconnector::ShowWizard: Done initializing common controls
    [05/27/2014 21:28:21 117c] Displaying the wizard
    [05/27/2014 21:28:21 117c] CComputerconnector::WelcomeDlgProc: IDD_PROPPAGE_WELCOME Page Initialization
    [05/27/2014 21:28:21 117c] Current user default UI lang setting is 1033
    [05/27/2014 21:28:21 1340] CComputerconnector::Run: Installation is ready to run
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: IDD_PROPPAGE_TASKS Page Initialization
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Detecting the current system requirements... Index=  0
    [05/27/2014 21:28:25  cf0] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {21E49794-7C13-4E84-8659-55BD378267D5} returned -1
    [05/27/2014 21:28:25  cf0] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {46DCED50-3A1D-4EF4-94F0-45F2681E3D70} returned -1
    [05/27/2014 21:28:25  cf0] CMsi::IsMsiInstalled: MsiQueryProductState for ProductCode {C1E4D639-4A33-4314-809E-89BD0EF48522} returned -1
    [05/27/2014 21:28:25  cf0] Connector installation state is 1
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Downloading .NET Framework 4.5... Index=  1
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Installing .NET Framework 4.5... Index=  2
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Downloading the Connector... Index=  3
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Installing Windows Server Essentials Connector... Index=  4
    [05/27/2014 21:28:25  cf0] CComputerconnector::RunTasks: Running Task: Id=-1 Description=Starting the Windows Server Essentials Connector setup... Index=  5
    [05/27/2014 21:28:25  cf0] RunShellExecute: ShellExecute [C:\Windows\system32\Essentials\ClientDeploy.exe] with parameters [ -Server:192.168.0.3 -LaunchedFrom:installer]
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Running
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Detecting the current system requirements...
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Downloading .NET Framework 4.5...
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Installing .NET Framework 4.5...
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Downloading the Connector...
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Installing Windows Server Essentials Connector...
    [05/27/2014 21:28:25 117c] CComputerconnector::TaskDlgProc: DIALOG_TASK_PROGRESS: Task Description: Starting the Windows Server Essentials Connector setup...
    [05/27/2014 21:28:25  cf0] CComputerconnector::Run: Waiting upto 60secs for Sync Event to be signaled
    [05/27/2014 21:28:26  cf0] CComputerconnector::Run: WaitForSingleObject RetVal = 0
    [05/27/2014 21:28:26 117c] CComputerconnector::TaskDlgProc: DIALOG_UPDATE: Success
    [05/27/2014 21:28:26 117c] wmain: End of Computerconnector: hr=0x0
    [3808] 140527.212825.8067: ClientSetup: Start of ClientDeploy
    [3808] 140527.212825.8267: General: Initializing...C:\Windows\system32\Essentials\ClientDeploy.exe
    [3808] 140527.212825.8317: ClientSetup: Create client deployment registry subkey if necessary
    [3808] 140527.212825.8367: ClientSetup: The initial launching way: -LaunchedFrom:installer
    [3808] 140527.212825.8367: ClientSetup: The initial state is set
    [3808] 140527.212825.8367: ClientSetup: The initial serverName: 192.168.0.3
    [3808] 140527.212825.8367: ClientSetup: Loading Wizard Data
    [3808] 140527.212825.8467: ClientSetup: Saving Wizard Data
    [3808] 140527.212825.8467: ClientSetup: Current DeploymentStatus=Start
    [3808] 140527.212826.0317: ClientSetup: Showing the Client Deployment Wizard
    [3808] 140527.212826.1167: ClientSetup: Machine name:M16, length:3
    [3808] 140527.212826.1267: ClientSetup: The input server name is 192.168.0.3
    [5052] 140527.212826.1417: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5052] 140527.212826.1417: ClientSetup: Running Task with Id=ClientDeploy.PreConfiguration
    [3808] 140527.212826.1417: ClientSetup: InitWizard, The currrent stage is ConnectingToServer
    [3808] 140527.212826.1417: ClientSetup: Set the Deployment Sync Event
    [5052] 140527.212826.1467: ClientSetup: The configuration cab will be downloaded from 192.168.0.3
    [5052] 140527.212826.1517: ClientSetup: Download file Setup.cab from server
    [5052] 140527.212826.1567: ClientSetup: Making web request:
    https://192.168.0.3//connect/default.aspx?Get=Setup.cab&LanguageId=1033&64bit=1
    [5052] 140527.212826.1767: ClientSetup: Failed to download Setup.cab from server: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException:
    The remote certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.WindowsServerSolutions.ClientSetup.CSCommon.DownloadFileFromConnectSite(String outputDirectory, Uri serverUrl, String fileName, Int32 languageId, Boolean is64bit)
    [5052] 140527.212826.1767: ClientSetup: Cannot get configuration file with https, will try http...
    [5052] 140527.212826.1767: ClientSetup: Download file Setup.cab from server
    [5052] 140527.212826.1767: ClientSetup: Making web request:
    http://192.168.0.3//connect/default.aspx?Get=Setup.cab&LanguageId=1033&64bit=1
    [5052] 140527.212826.2418: ClientSetup: Downloaded file C:\Windows\Temp\ClientDeploymentTempFiles\Setup.cab
    [5052] 140527.212826.2418: ClientSetup: The configuration cab is downloaded to C:\Windows\Temp\ClientDeploymentTempFiles\Setup.cab
    [5052] 140527.212826.3118: ClientSetup: Adding Server Info data in the Product Registry
    [5052] 140527.212826.3218: DnsEnvironmentDetector: GetHostAddresses() returned 192.168.0.3, normal environment
    [5052] 140527.212826.3218: ClientSetup: Exiting PreConfigTask.Run()
    [5052] 140527.212826.3218: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has TaskStatus=Success
    [5052] 140527.212826.3218: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has RebootStatus=NoReboot
    [5052] 140527.212826.3218: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6040: ClientSetup: Running InstallRootCert Task at WizardPage DomainUserCred
    [5192] 140527.212859.6040: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6040: ClientSetup: Running Task with Id=ClientDeploy.InstallRootCertTask
    [5192] 140527.212859.6141: ClientSetup: Entering InstallRootCertTask.Run
    [5192] 140527.212859.6191: ClientSetup: Install root cert to local trusted store
    [5192] 140527.212859.6290: ClientSetup: Exiting InstallRootCertTask.Run
    [5192] 140527.212859.6290: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has TaskStatus=Success
    [5192] 140527.212859.6290: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has RebootStatus=NoReboot
    [5192] 140527.212859.6290: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6290: ClientSetup: Running SetupVPNAndDA Task at WizardPage DomainUserCred
    [5192] 140527.212859.6290: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6290: ClientSetup: Running Task with Id=ClientDeploy.SetupVpnAndDATask
    [5192] 140527.212859.6340: ClientSetup: Entering SetupVpnAndDATask.Run
    [5192] 140527.212859.6491: ClientSetup: Deploy VPN profile
    [5192] 140527.212859.6891: ClientSetup: Exting SetupVpnAndDATask.Run
    [5192] 140527.212859.6891: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has TaskStatus=Success
    [5192] 140527.212859.6991: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has RebootStatus=NoReboot
    [5192] 140527.212859.6991: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6991: ClientSetup: Running ValidateUser Tasks at WizardPage DomainUserCred
    [5192] 140527.212859.6991: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [5192] 140527.212859.6991: ClientSetup: Running Task with Id=ClientDeploy.ValidateUser
    [5192] 140527.212859.7041: ClientSetup: Entering ValidateUserTask.Run
    [5192] 140527.212859.7041: ClientSetup: Validating User
    [5192] 140527.212859.7041: ClientSetup: Call MachineIdentityManager.GetMachineStatus
    [5192] 140527.212859.7491: ClientSetup: MachineIdentityManager.GetMachineStatus had errors: ErrorCatalog:NetworkError ErrorCode:-1
    BaseException: Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityException: MachineIdentityManager.GetMachineStatus ---> System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure
    channel with authority 'marchsbs:65500'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote
    certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.WindowsServerSolutions.Devices.Identity.CertWebService.ICertService.GetMachineStatus(GetMachineStatusRequest request)
       at Microsoft.WindowsServerSolutions.Devices.Identity.CertWebService.CertServiceClient.GetMachineStatus(String userName, String password, String machineName, MachineStatus& status, Boolean& isAdmin, Int32& maxClientNum, Int32& currentClientNum)
       at Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityManager.GetMachineStatus(String serverName, String userName, String password, String machineName, Boolean& isAdmin)
       --- End of inner exception stack trace ---
       at Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityManager.GetMachineStatus(String serverName, String userName, String password, String machineName, Boolean& isAdmin)
       at Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.ValidateUserTask.Run(WizData data)
    [5192] 140527.212859.7491: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\Windows\system32\ipconfig.exe"  /all
    [5840] 140527.212859.7641: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7641: ClientSetup: Standard Ouptput: Windows IP Configuration
    [5840] 140527.212859.7641: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7641: ClientSetup: Standard Ouptput:    Host Name . . . . . . . . . . . . : M16
    [5840] 140527.212859.7641: ClientSetup: Standard Ouptput:    Primary Dns Suffix  . . . . . . . : MARCHITECTS.local
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Node Type . . . . . . . . . . . . : Hybrid
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    IP Routing Enabled. . . . . . . . : No
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    WINS Proxy Enabled. . . . . . . . : No
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    DNS Suffix Search List. . . . . . : MARCHITECTS.local
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput: Ethernet adapter Ethernet:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Connection-specific DNS Suffix  . : MARCHITECTS.local
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Description . . . . . . . . . . . : Intel(R) Ethernet Connection I217-LM
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Physical Address. . . . . . . . . : 34-17-EB-9A-DF-A4
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    DHCP Enabled. . . . . . . . . . . : Yes
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Autoconfiguration Enabled . . . . : Yes
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    IPv4 Address. . . . . . . . . . . : 192.168.0.52(Preferred)
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Lease Obtained. . . . . . . . . . : Tuesday, May 27, 2014 3:40:29 PM
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Lease Expires . . . . . . . . . . : Wednesday, June 4, 2014 3:40:52 PM
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Default Gateway . . . . . . . . . : 192.168.0.1
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    DHCP Server . . . . . . . . . . . : 192.168.0.3
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    DNS Servers . . . . . . . . . . . : 192.168.0.3
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    NetBIOS over Tcpip. . . . . . . . : Enabled
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput: Tunnel adapter isatap.MARCHITECTS.local:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Media State . . . . . . . . . . . : Media disconnected
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Connection-specific DNS Suffix  . : MARCHITECTS.local
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    DHCP Enabled. . . . . . . . . . . : No
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:    Autoconfiguration Enabled . . . . : Yes
    [5840] 140527.212859.7691: ClientSetup: Standard Ouptput:
    [5340] 140527.212859.7691: ClientSetup: Standard Error:
    [5192] 140527.212859.7691: ClientSetup: The exit code of the process (C:\Windows\system32\ipconfig.exe) is: 0
    [5192] 140527.212859.7691: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\Windows\system32\route.exe"  print
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Interface List
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   3...34 17 eb 9a df a4 ......Intel(R) Ethernet Connection I217-LM
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   1...........................Software Loopback Interface 1
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   6...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: IPv4 Route Table
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Active Routes:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Network Destination        Netmask          Gateway       Interface  Metric
    [6116] 140527.212859.7841: ClientSetup: Standard Error:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:           0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.52    
    10
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:         127.0.0.0        255.0.0.0         On-link        
    127.0.0.1    306
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:         127.0.0.1  255.255.255.255         On-link         127.0.0.1   
    306
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:       192.168.0.0    255.255.255.0         On-link      192.168.0.52    266
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:      192.168.0.52  255.255.255.255         On-link      192.168.0.52    266
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:     192.168.0.255  255.255.255.255         On-link      192.168.0.52    266
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:         224.0.0.0        240.0.0.0         On-link        
    127.0.0.1    306
    [5192] 140527.212859.7841: ClientSetup: The exit code of the process (C:\Windows\system32\route.exe) is: 0
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:         224.0.0.0        240.0.0.0         On-link      192.168.0.52   
    266
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   255.255.255.255  255.255.255.255         On-link      192.168.0.52    266
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Persistent Routes:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   None
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: IPv6 Route Table
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Active Routes:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:  If Metric Network Destination      Gateway
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   1    306 ::1/128                  On-link
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   1    306 ff00::/8                 On-link
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: ===========================================================================
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput: Persistent Routes:
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:   None
    [3080] 140527.212859.7841: ClientSetup: Standard Ouptput:
    [5192] 140527.212859.7841: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\Windows\system32\nslookup.exe" MARCHSBS
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput: Server:  marchsbs.marchitects.local
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput: Address:  192.168.0.3
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput:
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput: Name:    MARCHSBS.MARCHITECTS.local
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput: Address:  192.168.0.3
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput:
    [6116] 140527.212859.7991: ClientSetup: Standard Error:
    [5340] 140527.212859.7991: ClientSetup: Standard Ouptput:
    [5192] 140527.212859.7991: ClientSetup: The exit code of the process (C:\Windows\system32\nslookup.exe) is: 0
    [5192] 140527.212859.7991: ClientSetup: Set CD Fail reason 10 for SQM in ClientDeployment.exe
    [5192] 140527.212859.8041: ClientSetup: RecordClientDeploymentFailReason: Save registry failed in ClientDeployment.exe : System.UnauthorizedAccessException: Cannot write to the registry key.
       at Microsoft.Win32.RegistryKey.EnsureWriteable()
       at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
       at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
       at Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.Helper.RecordClientDeploymentFailReason(UInt32 failReason)
    [5192] 140527.212859.8041: ClientSetup: Exiting ValidateUserTask.Run
    [5192] 140527.212859.8041: ClientSetup: Task with Id=ClientDeploy.ValidateUser has TaskStatus=Failed
    [5192] 140527.212859.8041: ClientSetup: Task with Id=ClientDeploy.ValidateUser has RebootStatus=NoReboot
    [5192] 140527.212859.8041: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [3808] 140527.212910.2736: ClientSetup: Back from the Client Deployment Wizard
    [3808] 140527.212910.2786: ServerDiscovery:HostsFileUpdater: Removing hosts file entry: MARCHSBS
    [3808] 140527.212910.2836: ClientSetup: Saving Wizard Data
    [3808] 140527.212910.2836: ClientSetup: End of ClientDeploy: ErrorCode=1603

    Hooray!
    testing the certificates and not finding any errors, I stumbled across the Basic Settings button that highlighted an authorization problem. I manually set the authorization to the admin account and by problems disappeared. I am now able to successfully
    join client PCs to the domain thru the //Server/connect method.

Maybe you are looking for