Re: Need help about script

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Just paste it into NotePad and save it with a vbs extention and double click
on it.
or
From a command line type Wscript fileName.vbs where fileName is the name
of your file.

"Ricky Chan" <ricky.chan@xxxxxxxxxxx> wrote in message
news:eIjEYQmsGHA.1284@xxxxxxxxxxxxxxxxxxxxxxx
Jag,

Thanks. Just a dump question. How can I run that script?

I found out this article is useful
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul06/hey0703.mspx

But I don't how to execute it.

Please advise.

Thanks alot.
Ricky
"Jag" <Jag@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7583E5F0-21DF-419F-8CD5-F7E9D2F52939@xxxxxxxxxxxxxxxx
Hi Rick ,
There sure is script for everything and anything
Couple of pointers
go the this link
http://www.microsoft.com/technet/scriptcenter/resources/qanda/hsgarch.mspx
this section has scripts for everthing according to catergory

1. Look for Read from a Excel file or a text file under ( Microsoft
office)

2. Look for deleting local accounts under ( Local accounts )

Merge the scripts and you have script ready



"Ricky Chan" wrote:

Hi,

I received a spreadsheet from department every 2 weeks regarding
terminated
employee. Based on this spreadsheet, i need to disable those user
account in
Windows domain. Is there a script that I can make to make my task is
litter
bit more easy?

Please advise.

Thanks
Ricky







.



Relevant Pages

  • Re: CSCRIPT
    ... not have local accounts. ... The script works great under ... >an administrator but when regular users try it, ... >CSCRIPT command comes back with Access denied. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: How to change PASSWORD expiration settings with command line?
    ... Now i have to write a script to do this, on all my local accouns (FTP ... External Users) with names begining with "ftp" or to generate a .TXT of users ... I have several LOCAL accounts created and i wanna to disable PASSWORD ... I found a Script (Modify a Local User Account So It Never Expires) in ...
    (microsoft.public.windows.server.scripting)
  • Re: Need help about script
    ... How can I run that script? ... Look for Read from a Excel file or a text file under (Microsoft ... Look for deleting local accounts under ... I received a spreadsheet from department every 2 weeks regarding ...
    (microsoft.public.windows.server.scripting)
  • wierd output
    ... I just got this script to get the SID's from the local accounts, ... is retrieving all sids from Active Directory. ... Set colCSItems = objWMIService.ExecQuery("SELECT * FROM ...
    (microsoft.public.scripting.vbscript)
  • Re: script works on W2K Pro but not W2K member servers
    ... > I have a script which looks for local accounts which have the password ... > doesn't expire property set and removes it. ... the script pasted below works just find on ... property for the user it fails on? ...
    (microsoft.public.scripting.vbscript)