Page 1 of 1 1
Topic Options
#213561 - 2018-08-17 01:42 PM Windows 10 bug and Kixtart Hopefully
Robdutoit Offline
Hey THIS is FUN
***

Registered: 2012-03-27
Posts: 310
Loc: London, England
Hello everyone.

I am deploying Windows 10 to my clients and have successfully managed to get Kixtart script to apply all settings bar the CLSID area of the registry:

 Code:

;===========================================================================================
;  Shows Libraries in Windows 10 Explorer View - Not working in script
;===========================================================================================

CheckAndSetRegValue("HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}", "System.IsPinnedToNameSpaceTree", "0", "REG_DWORD")
CheckAndSetRegValue("HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}", "System.IsPinnedToNameSpaceTree", "1", "REG_DWORD")


The second line works - anything I write to the Wow6432 location works beautifully.
The first line fails with key I am trying to edit. If I edit the registry manually, it works, if I use a .reg file it works, but not with the kixtart script.

Using Regshot, I have determined that the first line of coding is not writing to hkey_classes_root\CLSID as expected but is actually writing to HKEY_CLASSES_ROOT\Wow6432Node\CLSID\

I am running 64 bit windows. How do I get Kixtart to write to the non Wow6432 location? I only want to apply the non wow for these registry entries as everything else in the script works as expected.

Thank you

Top
#213562 - 2018-08-17 02:48 PM Re: Windows 10 bug and Kixtart Hopefully [Re: Robdutoit]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4489
Loc: USA
Pretty sure its just the redirection getting you.

See this specifically
$RC=setoption("WOW64AlternateRegView","On")


But you should also look into this one too
$RC=setoption("Wow64FileRedirection","on")

Top
#213563 - 2018-08-17 03:47 PM Re: Windows 10 bug and Kixtart Hopefully [Re: Allen]
Robdutoit Offline
Hey THIS is FUN
***

Registered: 2012-03-27
Posts: 310
Loc: London, England
Yes you are correct. I managed to find this code by searching the forum. So I fixed that. I may have to go with a GPO for settings here though because I have discovered that I need to reset ownership permissions which can't be done on the user login script and the user profile won't exist until the user logs in - so catch 22 situation.

I didn't realise this earlier as my test machine already had the permissions reset when I manually set libraries to show/hide in W10.

Top
#213565 - 2018-08-17 06:34 PM Re: Windows 10 bug and Kixtart Hopefully [Re: Robdutoit]
Robdutoit Offline
Hey THIS is FUN
***

Registered: 2012-03-27
Posts: 310
Loc: London, England
We can close this post.

I managed to redirect to the correct registry location.

In addition, I also changed the registry key from classes_root to current_user\classes and managed to fix the permissions problem as well.

So I now have 99.9% of everything scripted in Kixtart for Windows 10 64 bit.

Thank you

Top
#213567 - 2018-08-18 05:19 AM Re: Windows 10 bug and Kixtart Hopefully [Re: Robdutoit]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11582
Loc: CA
We could lock the topic but not something we typically do. This forum is not as plagued by trolls or spammers that reply to ancient topics. If left open others can continue to reply to add to it or ask questions if not sure about something.
Top
#213568 - 2018-08-19 11:20 AM Re: Windows 10 bug and Kixtart Hopefully [Re: NTDOC]
Robdutoit Offline
Hey THIS is FUN
***

Registered: 2012-03-27
Posts: 310
Loc: London, England
I have used Kixtart forum a lot in the past, so I am familiar with how it works. I did not mean literally to close the post, I just meant more that the question has been answered and I have got it working. Thanks
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
1 registered (Allen) and 179 anonymous users online.
Newest Members
MarvinBaude, MyBataKix, GBMicros, Jodey, Hiker
17687 Registered Users

Generated in 0.031 seconds in which 0.011 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