Page 1 of 1 1
Topic Options
#124413 - 2004-08-04 03:57 PM possible permission problem in a school using kixtart
Anonymous
Unregistered


Hi I was wondering if you can help.

I am new to kixtart and am a network administrator in a school in Birmigham, UK.

Problem:
What i am trying to do is i have a login script which i am trying to copy onto our machines with a normal user i.e. pupil in the school. Below is the script

@echo off
rem student logon script

net time \\sv-2-qnsbrdg /set /y

net use q: /delete
net use i: /delete

net use h: /home
net use x: \\SV-1-QNSBRDG\APPS
net use j: \\SV-2-QNSBRDG\careers
net use I: \\SV-2-QNSBRDG\Student-Public


copy \\sv-2-qnsbrdg\netlogon\kix32.exe c:\winnt

copy \\sv-2-qnsbrdg\netlogon\kixforms.dll c:\winnt\system


@ECHO OFF
%0\..\Kix32.exe student.kix

So as you can see i am trying to copy kixforms.dll and kix32.exe to the local machine from the netlogon share on the server. the problem is this doesnt copy when i login as a pupil, but if i login as myself as an administrator. the two files will copy, does anyone know what i could be doing wrong, Or what other things to check for.

Your help is appreciated

Thanks.

Top
#124414 - 2004-08-04 04:10 PM Re: possible permission problem in a school using kixtart
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
There are a few things in your code that won't work without admin rights. The time cannot be set by a non-admin and rightfully so should not be. If running AD, time is already taken care of. Non-admins cannot copy into WINNT or the folders below. There is no need to copy KiX32.exe to the local machine anyway since I see you launch it from NetLogon. KiXforms is another matter and should be rolled out with either an admin script or an MSI. Seasrch the board as this has been discussed often.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124415 - 2004-08-04 05:07 PM Re: possible permission problem in a school using kixtart
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Just copying the kixforms dll is not enough. It should be registered ussing regsvr32 (requires admin privs).

And like Les said copying to winnt is not allowed for users.


Edited by R2D2 (2004-08-04 05:09 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

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 2009 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.051 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

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