Re: Encrypting VB startup script



If all computers are members of the domain, and you have a domain account
that is a member of the local administrators account on all workstations
(any domain administrator member by default), you can script this remotely
instead of using a startupscript.

One of the problems you might be experiencing though is that the
startupscript is run under the computer context and not a user context. This
would mean that the local system and/or the computer domain account would
need to have access to whatever software you use to encrypt the script so
that it can unencrypt it when running it.


Arild


"UHHG_Network_Guy" <UHHGNetworkGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:E96B27E6-23C8-4C66-95D3-37CE3E4F2C52@xxxxxxxxxxxxxxxx
I have a VB script that will change the local administrator password on all
of our workstations to be be the same. I have encrypted the script in
order
to keep the password hidden. The encryption software saves the script
with a
.vbe extension. The startup script GPO will not run when it is using the
.vbe file. When I have it use the batch file, it works fine. I browse
out
the sysvol share and manually run the script without a problem. Do I need
to
configure something for the encrypted script to work? Or, is there
another
way to achieve the same result?

Thanks,
Chad Elliott


.



Relevant Pages

  • Re: active directory question
    ... Thank you for the time you took to review this script. ... Later you seem to use ADO to find the trustee. ... The only attribute you need retrieve is "member". ...
    (microsoft.public.scripting.vbscript)
  • Re: Script to populate Distribution list
    ... that list several diffrent zip codes for the same location is there a way to ... > ' Check if user already a member of the group. ... This would slow the script ... > methods require the AdsPath of the user. ...
    (microsoft.public.scripting.vbscript)
  • Re: Error using LDAP query
    ... I know you said this line is failing: ... CreateObject) failed to set oADSysInfo to a valid object. ... try running this simple script as a user (non-Domain ... >> member of at least 2 other groups, ...
    (microsoft.public.windows.server.scripting)
  • Re: I need to change the group membership using a logon script
    ... admins group in order to run the script. ... I believe users need to be members of the local Administrators group to run ... "Domain Admins" is made a member of the local Administrators group on the ... Administrators groups on the computers. ...
    (microsoft.public.scripting.vbscript)
  • Re: Login Script group membership
    ... Would it be more managable to write this as a vbs instead of a batch file? ... script, as not all o/s's can run a .vbs file directly as a logon script. ... - you'd need to write a wrapper function to invoke ifmember and return the ... In the general case a user can be a member of any number of ...
    (microsoft.public.windows.server.scripting)