Need to change user privilege using RSP Script.

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #558
    enam
    Member
    • Total Post: 144
    • Legend in Own LunchBox
    • ★★★★★

    Hi,

    It seems that the V90 XPe default user is with Administrative Privileged, allowing the users to change the IP address. I need to change the user privilege member of Administrators group to member of Users group using rapport RSP Script. If anybody have the RSP Script to do this changes, so please share with me.

    Regards,
    Enam

    #10012
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    Hi Enam,

    I have not test this but maybe try the net localgroup command. Make a Rapport script the execute the command like below. If you test this and it works OK post back the results and I will create a script and upload to the XPe downloads section,

    Cheers,
    -TT

    [Version]
    Number=GroupChange
    Description=Moves the local User to the Users group
    OS=XP
    Category=XP Addons

    [Script]
    ;Prepared and Written by TT
    ;
    ;


    ; Check Operating System
    ;


    CO “XP”
    ;


    ; Query User and Lockout
    ;


    LU
    ;


    ; Execute Commands
    ;


    EX “net localgroup Users user /ADD””+”
    EX “net localgroup Administrators user /DELETE””+”
    EL

    #10014
    enam
    Member
    • Total Post: 144
    • Legend in Own LunchBox
    • ★★★★★

    Hi,

    Ok, I will try it and post back the result in both condition.

    Regards,
    Enam

    #10018
    enam
    Member
    • Total Post: 144
    • Legend in Own LunchBox
    • ★★★★★

    Hi,

    I have converted your script in RSP files and execute through WDM. It is working fine. Thanks for your quick responce and assistance.

    Can you tell me the syntax for using commit changes. i.e Disable EWF = LU and Enable EWF = EL.

    Regards,
    Enam

    #10019
    Joe
    Member
    • Total Post: 96
    • Back Stage Pass
    • ★★★★

    LU: Lockout User
    Displays a splash screen on the client device explaining an update is occurring.

    EL: End Lockout
    Removes the splash screen displayed by the LU command on the client device.

    As far as I know, the commands don’t have any parameters. If you want a complete guide to scripting, check out chapter 13 in the Wyse Device Manager installation guide. It’s got a complete list of all the commands and descriptions on what they do on the different operating systems.

    #10024
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    Glad it worked! I have posted it, the Hagent it aware of the write filter and will disable it before it runs a script. The LU as Joe points out is used to display a user message. You can customise this message as well, search this site for a package I posted a few months ago to do this,

    Cheers,
    -TT

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.