Page 1 of 1 1
Topic Options
#209037 - 2014-06-27 12:14 PM Kix32 version 4.61 able to run on Windows 8.1?
LingCW Offline
Just in Town

Registered: 2014-06-27
Posts: 1
Loc: Malaysia
Hi guys, I want to make sure whether Kix32 version 4.61 is able to run on Windows 8.1? Whenever I boot up my PC, kix32 would not run successfully as the error occur as below:

Sending resync command to local computer
The following error occurred: Access is denied.(0x80070005)

But Somehow, kix32 can run successfully after a cool shutdown sometimes.
I also try for kix32 version 4.63 and 4.64 but failed also.

Top
#209038 - 2014-06-27 01:01 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: LingCW]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4572
Loc: USA
If you have tried multiple kix32.exes, it sounds like something is either wrong with your windows 8 install, or something is interfering with kixtart(antivirus?). All versions of kixtart work with 8.1, however it is only the latest release (4.64) that recognizes it properly when using things like @producttype.
_________________________
(... better days ahead)

Top
#211056 - 2016-02-02 12:03 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: Allen]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
Hello everybody.
I'm using Kix32 and trying to connect a Windows 10 Prod PC, but in my "setting.kix" (where I recognize the OSTYPE) I don't have "Windows 10 Pro".
Which is the @PRODUCTTYPE for Windows 10?

Thank you

Top
#211057 - 2016-02-02 12:14 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Should be...

 Originally Posted By: the manual

...
"Windows 10 Home (N)"
"Windows 10 Pro (N)"
"Windows 10 Enterprise (N)"
...
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#211058 - 2016-02-02 12:24 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: Mart]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
Thanks Mart, but no.... it doesn't work... :-(
Top
#211059 - 2016-02-02 12:26 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
This is my script:

;------------------------------------------------------------------------------;
; Determine Specific OS Environment
;------------------------------------------------------------------------------;
; This is used to gather generic system info, for targeted scripting purposes...
;

If (@PRODUCTTYPE="Windows 6.1 / 1") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 10 Pro (N)") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 10 Home (N)") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 10 Enterprise (N)") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 7 Professional") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Vista Domain Controller") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Vista Server") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Vista Starter Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Vista Media Center Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Vista Professional Tablet PC") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Vista Professional") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Vista Home Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Server 2003 R2 Domain Controller") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Server 2003 R2") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Server 2003 Domain Controller") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Server 2003") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Starter Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows XP Starter Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows XP Media Center Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows XP Professional Tablet PC") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows XP Professional") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows XP Home Edition") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 2000 Domain Controller") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows 2000 Server") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows 2000 Professional") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows NT Domain Controller") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows NT Server") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows NT Workstation") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Me") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 98") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows 95") $OSTYPE="Workstation" EndIf
If (@PRODUCTTYPE="Windows Server Longhorn") $OSTYPE="Server" EndIf
If (@PRODUCTTYPE="Windows Server Longhorn Enterprise Edition") $OSTYPE="Server" EndIf

to identify if it's a SERVER or a WORKSTATION...

Top
#211060 - 2016-02-02 01:49 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 687
Loc: Maryland, USA
Not solving your problem, but your code is very inefficient. Instead of executing the macro repeatedly, set it to a variable once, then test against the variable.
 Code:
PTYPE=@PRODUCTTYPE


Then, with your if statements, they all have to be executed. I think using a select case construct would be more efficient:

 Code:
Select
   Case $PTYPE = "Windows 6.1 /1"
      $OSTYPE = "Workstation"
   Case $PTYPE = "Windows 10 Pro(N)"
      $OSTYPE = "Workstation"
etc
EndSelect

Top
#211061 - 2016-02-02 02:14 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: BradV]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
Ok, thank you BradV, I optimize the script as suggested... ;-)
Top
#211065 - 2016-02-02 05:22 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
 Code:
$PType = @PRODUCTTYPE
$OSType = 'Workstation'    ; set default
If InStr($PType, 'Server') Or InStr($PType, 'Controller')
  $OSType = 'Server'       ; override default with "server"
EndIf
is an alternative way of processing this. All servers have "server" in the ProductType description unless they are a Domain Controller, so matching on "server" or "controller" to change from workstation to server type should be all you need.

Also - you need the latest version of Kix to identify the Win-10 product type.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#211071 - 2016-02-03 10:03 AM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: Glenn Barnas]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
With the "SELECT - CASE" statement some clients doesn't map the network drive (all the clients are Windows 7 Pro: some map the drive and some no...)

:-(

Top
#211073 - 2016-02-03 01:05 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Brad's example isn't a complete set.. you need to add the rest of the cases.

Did you try my example? I use that logic extensively to restrict code to specific platform types, or to change the process depending on server or workstation. It should work as posted.

Again, you must be using Kix version 4.64 to properly identify Windows 10 platforms in your or Brad's methods. My code, since it defaults to workstation and identifies servers, will work with Windows 10 systems even on older Kix versions.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#211074 - 2016-02-03 02:03 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: Glenn Barnas]
RUgolini Offline
Fresh Scripter

Registered: 2010-03-03
Posts: 8
Loc: Italy
I only tried Brad's script (adding all the OS I need and more...).
It's very strange that for some Windows 7 clients it work and for other Windows 7 no... :-(

Top
#211075 - 2016-02-03 03:31 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: RUgolini]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
BTW -
 Code:
If (@PRODUCTTYPE="Windows Vista Server") $OSTYPE="Server" EndIf
isn't correct. This is a workstation, and is called "Windows Vista Starter edition, not "server". ;\)

Since only NT 4 and Windows 2000 use "Domain Controller" instead of "Server", you don't even have to test for that. (These platforms aren't supported on Kix 4.6x anymore). Using
 Code:
$OSType = 'Workstation'    ; set default
If InStr(@PRODUCTTYPE, 'Server')
  $OSType = 'Server'       ; override default with "server"
EndIf
is the simplest format. In fact, most of my production code uses some form of
 Code:
Global $ISWKSTN
$ISWKSTN = 1  ; default to workstation
If InStr(@PRODUCTTYPE, 'Server') $ISWKSTN = 0 EndIf
I might use the reverse of this logic to employ an ISSERVER var if that's more important to my later logic. This Boolean result simplifies later logic by allowing
 Code:
If $ISWKSTN
  ; do workstation stuff
Else
  ; do server stuff
EndIf
Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#211086 - 2016-02-03 09:28 PM Re: Kix32 version 4.61 able to run on Windows 8.1? [Re: Glenn Barnas]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Take a look at this UDF post for a set of IsServer and IsWkstn UDFs.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.075 seconds in which 0.032 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org