Link to home
Create AccountLog in
Avatar of ei00004
ei00004Flag for United States of America

asked on

Kixtart Script Runas Administrator

In a Windows 2003 Active Directory environment, how can I get my kixstart script to runas administrator or user with admin rights when executing on client pc's?
See attached Code Snippet.
The "Call" statement below will run a subroutine that changes the location of the client workstation printer to a different print server. I need this script to run on client pc as a user with admin rights.	
;=====================================================================
	; Change default print server if needed.
		If (InGroup(Finance)) = 1 Or (InGroup(IS_Staff)) = 1
	  		Call "@lserver\netlogon\Print_server.scr"
		EndIf
	;=====================================================================

Open in new window

SOLUTION
Avatar of Ralf Klatt
Ralf Klatt
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.