Page 1 of 1 1
Topic Options
#140527 - 2005-05-28 09:35 PM installer
beckyh Offline
Lurker

Registered: 2005-05-28
Posts: 1
Hi,
I downloaded from TechRepublic a KiXtart application that should allow me to change the registered user of a 'puter; The readme file says that I need 'the KiXtart utility' downloaded and installed before running the application.
My question is, which utility?
Thanks,
Becky

Top
#140528 - 2005-05-28 09:41 PM Re: installer
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Sounds like you just need Kixtart, get it from here. Slap kix32.exe into system32 and give it go with

c:\>kix32 whatever.kix


Top
#140529 - 2005-05-28 10:36 PM Re: installer
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Here is an example of KiXtart code to change the registered user/owner of the Workstation.

 

Break On
Dim $SO,$Pause
$SO=SetOption('Explicit','On')
$SO=SetOption('NoVarsInStrings','On')
$SO=SetOption('WrapAtEOL','On')


Dim $Owner,$SetOwner,$Org,$SetOrg,$Admin,$Key
$Owner = 'Some name'
$SetOrg = 'My Company'
$Key = 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
$Admin = IIf(InGroup(@WKSTA+'\'+SidToName('S-1-5-32-544'))-1+@INWIN=1,1,0)
If $Admin
$SetOwner = WriteValue($Key,'RegisteredOwner',$Owner,REG_SZ)
$SetOrg = WriteValue($Key,'RegisteredOrganization',$SetOrg,REG_SZ)
Else
? 'Insufficient rights to modify the Owner settings...'
EndIf




 

Top
#140530 - 2005-05-29 09:03 AM Re: installer
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Becky here is a UDF version that I just posted that can easily be used for the local computer or a remote computer as an Admin script.

ChangeOwner() - Change registered User and Owner for OS

 

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 1644 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.272 seconds in which 0.21 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