Re: logoff script via command line

Tech-Archive recommends: Fix windows errors by optimizing your registry



Remush via WindowsKB.com wrote :
Is it possible to assign a log off script via the command line ?

for example : I have a generic log off script which can be run on many
computers, and I would like a way to assign it without going through the
gpedit.msc console.

If the computers are in a domain, you could use the domain logoff script instead of adding it manually to every computer.

Many of the Group Policies are actually just shortcuts to registry entries. Add a script via gpedit.msc, and search the registry for the filename of the script. Then use the "reg add" command line to test.


/klaus


.



Relevant Pages

  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)
  • Re: Change local administrator password ? through GPO or push script ?
    ... I would like to change the local administrator password of every computers member of my AD domain but I am not sure of the best method. ... Create a vbs script that points to the local computer and then deploy this script by GPO. ... This attribute will permit to know wich admin password is configured for this machine. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Not so Newbie
    ... The script is designed for situations like yours. ... wit 35+ computers and to go to each of those computers to individualy ... Prompt for an executable to run on each remote computer in the group. ... so you know where the deployment failed. ...
    (microsoft.public.windows.server.scripting)
  • Re: VBscript that restart the domain comptuer
    ... If you have a shutdown script that cleans up the profiles, ... permissions can restart all computers in a list remotely. ... I have already VB script I ...
    (microsoft.public.windows.server.active_directory)
  • Re: Sending computer name to txt file if file didnt copy?
    ... look intot he MSI etc suggestion. ... 150 computers and dont have access to AD to do it that way. ... Const OverwriteExisting = True ... This modified version of your script will inform you if there ...
    (microsoft.public.scripting.vbscript)