[ 
https://issues.apache.org/jira/browse/VCL-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139172#comment-15139172
 ] 

Andy Kurth commented on VCL-893:
--------------------------------

I believe the problem I ran into was not related to "Run as Administrator" but 
was due to the time not being synchronized on the Windows 10 computer.

Some of the activation commands do require "Run as Administrator" when executed 
directly from the desktop of Windows 10 (not via SSH).  However, they seem to 
work properly when run via SSH as root.

> Add support for Windows 10 images
> ---------------------------------
>
>                 Key: VCL-893
>                 URL: https://issues.apache.org/jira/browse/VCL-893
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.5
>
>
> There are a few tweaks which are necessary for Windows 10 images to work 
> correctly.
> The database schema should be updated.  However, it would be much better if 
> [VCL-566|https://issues.apache.org/jira/browse/VCL-566] were completed before 
> supporting Windows 10.
> The product version number is something like _10.0.10240_.  For Windows 7 and 
> 8.x images, the version number began with _6._.  There are some places in the 
> code which detect if the version is 5.x or 6.x, but nothing else.  These need 
> to be updated.  One example is in {{cygwin-sshd-config.sh}}:
> {noformat}
> if [[ $WINDOWS_VERSION =~ ^6\. ]]; then
>       echo Configuring sshd firewall port 22 exception for Windows 6.x
>       netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP 
> localport=22
>       netsh.exe advfirewall firewall add rule name="VCL: allow SSH port 22 
> from any address" description="Allows incoming SSH (TCP port 22) traffic from 
> any address" protocol=TCP localport=22 action=allow enable=yes dir=in 
> localip=any remoteip=any
> else
>  echo Configuring sshd firewall port 22 exception for Windows 5.x
>       netsh.exe firewall set portopening name = "Cygwin SSHD" protocol = TCP 
> port = 22 mode = ENABLE profile = ALL scope = ALL
> fi
> {noformat}
> This section checks if the OS is version 6.x, and defaults to the 5.x 
> firewall commands.  As a result, it attempts to run the 5.x commands on 10.x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to