GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

Disable/Enable CYBERsitter 2003

Home Forums Scripting General Scripting Disable/Enable CYBERsitter 2003

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    retallick
    Member
    #122550

    EDIT = This is Visual Basics if you hadn’t noticed :D

    Im working with the methods “RegWrite” and “RegDelete”.
    What I have done is exported the .reg file which I need to write “Net98”.
    I need a script along these lines

    dim i
    I=Inputbox(“Would you like to delete or write Net98? (type write or delete”)
    if i=delete then[/CODE]

    This is where I kind of need help.
    The registry directory that I would need to delete is;
    HKLMSYSTEMCurrentControlSetControlSecurityProvidersNet98
    and the .reg file I exported Net98 to is;
    C:Cyb.reg

    [COLOR=”Red”]Edit:[/COLOR]It’s not that you have saved the key, it’s that you know the keyname, valuename, type and value

    I need an “If delete then *delete the certain registry key*”
    and I need an “Elseif write then *write the .reg file to registry*”
    and possibly a msgbox of “You have deleted/written Net98/Cyb.reg

    Any suggestions ?

    Thanks[CODE]dim i
    I=Inputbox(“Would you like to delete or write Net98? (type write or delete”)
    if i=delete then[/CODE]

    This is where I kind of need help.
    The registry directory that I would need to delete is;
    HKLMSYSTEMCurrentControlSetControlSecurityProvidersNet98
    and the .reg file I exported Net98 to is;
    C:Cyb.reg

    Edit:It’s not that you have saved the key, it’s that you know the keyname, valuename, type and value

    I need an “If delete then *delete the certain registry key*”
    and I need an “Elseif write then *write the .reg file to registry*”
    and possibly a msgbox of “You have deleted/written Net98/Cyb.reg

    Any suggestions ?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.