Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score shutdown and reboot all domain computers
nobody - 27 Oct 2007 5:16 AM - 3 messages
How do I shutdown and reboot all domain computers from a script? ...
Score search for Siebel installation file.
Afsal - 27 Oct 2007 4:19 AM - 1 message
Hi all,         In my organization, the login script is written in kix. (Since we are in NT domain) I want to modify the login script to find if the ActiveX file "Siebel Option ...
Score AddWindowsPrinterConnection: Persistent Connections?
rmfisher - 26 Oct 2007 10:27 PM - 1 message
I have looked everywhere, including MSDN, and nowhere can I find how to make printers that are connected through the AddWindowsPrinterConnection method connect WITHOUT a persistent connection.  Is this possible?  I tried putting "False" after the line like ...
Score Rename map drive
pawelq - 26 Oct 2007 10:25 AM - 2 messages
Hi I've some problem with my script , i need to change the name mapped drive in Win 2000 and Win 98, and I don't know how to do it. I try in script use : strDrive ="Q:"   Set objShell = CreateObject("Shell.Application") ...
Score AD, W2003Svr, connect Printer from CSV file via Script to Host?
emj - 26 Oct 2007 9:24 AM - 2 messages
Hello all, bloody newbie here (in case of Win2003Svr, AD and that WSH thingie) The conditions: ------------------ A network, Windows 2003 R2 Domaincontroller, Active Directory and a CSV file. Several usergroups within several OUs. Only network printers, no local ones. 400+ Computers and 140+ Printers ...
Score fax script
Koray Önür - 26 Oct 2007 9:13 AM - 1 message
hi, how to do send fax script with fax e-mail delivery notification. here is code but someting is missing. fax server not sending mail notification. can anyboyd help me. thanks, set srv = CreateObject("FaxServer.FaxServer") srv.Connect "." set doc = srv.CreateDocument("c:\temp\faxdata.txt") ...
Score Script to reboot multiple servers then send e-mail
tidehigh - 26 Oct 2007 1:13 AM - 1 message
I need a script that will do the following: 1) reboot serverA 2) wait for serverA to come back online or fail after 10 minutes 3) reboot serverB 4) wait for serverB to come back online or fail after 10 minutes ...
Score Add logon to sql db
Rename my folders - 26 Oct 2007 12:08 AM - 1 message
someone posted this script below to record the logon of a user in a sql db.  It works fine but I want to also capture the IP address of the person logging onto the domain.  How do I do that?: ...
Score Using AT Command to run job "At System Startup"
Kevin Gray - 25 Oct 2007 10:49 AM - 3 messages
I'm in the process of rolling out some house keeping scripts to some of my servers.  I want these scripts to run "At System Startup".  I know how to manually create the jobs through Scheduled Tasks by I want to be able to ...
Score Listing all Groups in domain and their MemberOf, list MemberOf's MemberOf.
Chris - 24 Oct 2007 5:26 PM - 2 messages
Hello, So far I am able to query each group in the domain output the groups they are a memberOf. What I would like to do is also query those memberOfs output their memberOfs, doing the same for any future ...
Score Need help
Zach Schaffner - 24 Oct 2007 2:06 PM - 1 message
I am trying to deploy office 2007 on numerous pc's via a script at login. The users are not administrators. I have created the config.xml file as well as used the office customization tool to get things the way ...
Score Execute Script on windows server 2003 R2 x64
Gustavo - 24 Oct 2007 1:44 PM - 5 messages
Hello mates, I just found a script, that deletes folder, subfolder and files older than X hour, I wrote the script in my PC Win XP x32, but when I copy the script file to the server, in few seconds, the content of the script ...
Score Script to capture printconnections and get user Login names
Stefan - 24 Oct 2007 7:49 AM - 1 message
i wanna switch printers from one printserver to another because of performance issues so now i wanna see which user prints on which printer did anyone have experince with that problem? ...
Score Help with script to do net time and validate time and output file
Steve - 23 Oct 2007 6:36 PM - 3 messages
All, I am using a for /f %i in (listservers.txt) do net time \\%1 and it does the net time for all the servers in that text file. I am trying to pipe findstr and search for 1 the first digital in the time column and output it to a ...
Score Remote run Script issue
bobgfish - 23 Oct 2007 8:58 AM - 3 messages
Hello Trying to run a simple utility to change the drive letter of the CD ROM.  The script runs fine when running locallly.  However if I try and run it remotely by changing the strComputer name I get an Access Denied message.  ...
Score SQL script
denverdude - 23 Oct 2007 7:01 AM - 4 messages
Any ideas on scripting an SQL database to overwrite another SQL database (in SQL2005Express??) I've got: RESTORE DATABASE <name> FROM DISK = ‘C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\<name>.bak Is there something I'm missing? ...
Score IIS Config
Hulicat - 23 Oct 2007 1:15 AM - 1 message
I am trying to script something in IIS 6.0 I am using cscript.exe adsutil.vbs for certain task, what I am trying to do now is specify the default domain for a web application using basic authentication. The script I have now sets the web site to basic auth but I need to ...
Score Delete files older than present day and X hour
Gustavo - 22 Oct 2007 4:26 PM - 2 messages
Hello mates: I would like to find a script to delete any files that is out of  todays date range and older than 1 hour, thanks ...
Score Backup Event Logs
Chris M - 22 Oct 2007 4:07 PM - 6 messages
Hi all, I have written a VB script that backs up the event logs on a machine over the network, zips them up and puts them in a folder for archiving purposes. When the script has been fully tested, it'll clear the event ...
Score RE: Windows Script 5.7 for Windows 2000/XP/Server 2003
CeDee - 22 Oct 2007 4:01 PM - 1 message
Hello, thanks for the information and links. Unfortunately I can't find a w2k3 x64 version and the x32 installation exe does not work on x64 :-( Regards Carsten ...
Score Re: Script folder permissions change
worldhosted - 22 Oct 2007 1:42 PM - 1 message
Hi, Winterfrost.com have a beta product called switchright. cmd it, point it to the directory root in question and it shall create a csv of current users. then edit the csv file to suit. olduser,olddomain,sid,newuser,newdomain ...
Score using dsmod to rename groups in bulk
Wizzy - 22 Oct 2007 9:08 AM - 1 message
Hi, I have to rename many groups in AD in a particular OU. I have attempted to use dsmod however only the samid changes. basically groups have two name attributes namely 'group Name' & 'Pre-Windows name'. how can i rename groups ...
Next »