#136763 - 2005-03-30 04:20 PM
Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
Hi there,
quick question (i hope) I try to change rights on the registry (HKEY_Local_machine/software) I have a working batch file which works fine.... The machines are windows xp, but kix32 wont execute the line in the script, access denied. It starts with Shell "cmd /c .... ". What can i do ?? If you need more details....please ask...
|
|
Top
|
|
|
|
#136765 - 2005-03-30 05:17 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
Ok, i will try to explain. With setacl you can change rights on registry keys. We have a program which needs changings in the registry, but the user has no rights. I found out that setacl works fine for us to do these things. So far so good. If we run it in a batch file, with an admin account, it works, it changes the rights on the key. But.....and here it comes If i use this "command line" in kixtart (dont know which version, not at work right now), it gives me an access denied. So i assume kixtart does not have sufficient rights on an Windows XP machine. The line in kixtart.kix starts with: SHELL "CMD.EXE /C \\server\\netlogon\setacl.exe MACHINE\SOFTWARE\CLASSES ... BLA BLA"
Hope this info is enough ??
|
|
Top
|
|
|
|
#136767 - 2005-03-30 05:40 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
Thats why i post here...cause i dont know...  But we always user kix with windows nt clients, now with xp clients it does not work the way we want.....cause kix has admin rights....right ??
|
|
Top
|
|
|
|
#136770 - 2005-03-30 08:02 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
No...it's a WIndows NT domain..... so no gpo's  I will have a look at that link you gave me....
IS it possible to "run" something with a username / pass inserted in the kixscript? So that that line in mentioned runs with an admin account? That would also do the trick.....
Edited by voskewarez (2005-03-30 08:09 PM)
|
|
Top
|
|
|
|
#136772 - 2005-03-30 08:14 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
This is an old domain....our "normal" domain is all W2k3 ...
|
|
Top
|
|
|
|
#136774 - 2005-03-30 08:16 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
I know....but we need to do a lot of machines .... so kix is al lot better... besides....a user can't use network browsing thats all taken away ... lol
So.if it would do the trick....how do i set it up?
|
|
Top
|
|
|
|
#136776 - 2005-03-30 09:48 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
It's only for the new systems... so if they all work correctly, we kill that piece of script. And of course it will be a new account...
|
|
Top
|
|
|
|
#136778 - 2005-03-30 10:01 PM
Re: Setacl and Kix32
|
voskewarez
Fresh Scripter
Registered: 2005-03-30
Posts: 10
|
Yes... i know it is not safe, but hey....who hasn't done this once or twice  And this is an old domain, users who have really no clue what a network is. Besides, users aren't able to browse to the netlogon cause it's blocked  So....no worry;s But....how do i do it with a username/pass in the kix script....
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 583 anonymous users online.
|
|
|