Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Help with making the software installation process quicker on Win2k3 server
Yobbo - 4 Nov 2006 3:27 PM - 11 messages
Hi All Just had a Win 2003 server with active directory put in at our school and found out from the supplier that you still have to install each piece of software onto each client machine. I thought one of the benefits of this kind of setup was that you could ...
Score Old Monad script does not work when used with powershell
Moonrox - 4 Nov 2006 12:35 AM - 4 messages
$searcher.SearchScope = [System.DirectoryServices.SearchScope].subtree Exception setting "SearchScope": "Cannot convert null to type "System.Directory Services.SearchScope" due to invalid enumeration values. Specify one of the fol lowing enumeration values and try again. The possible enumeration values are "B ...
Score Create multiple users
zeb2100 - 3 Nov 2006 11:10 PM - 3 messages
Hello, I am using the createuser.vbs by Richard Mueller. I can get everything to work except assigning the user to the group I want.  I think I am having a problem with the correct syntax in the spreadsheet.  I tried the following in ...
Score FTP - List active sessions?
MGats - 3 Nov 2006 10:10 PM - 2 messages
Does anyone know of a way to list the current active FTP sessions from a vbscript? I would like to get the same information that the IIS management GUI provides. Any help would be appreciated. Thanks Mike ...
Score Enumerating printers on a MS clustered print server
Paul Dunn - 3 Nov 2006 7:56 PM - 2 messages
I am using the following script to enumerate printers on a Windows 2003 Server print server: ***Start of Script *** Dim WriteFile, strComputer, fso strComputer = "dc3" WriteFile = "C:\temp\WriteFile.txt" Set fso = CreateObject("Scripting.FileSystemObject") Set WriteFile = fso.CreateTextFile(WriteFile, True) ...
Score Question about Regestry and script
Valborn - 3 Nov 2006 7:18 PM - 2 messages
Hi Guys I need to know how i can to make a script that configure remotly into the servers (contained in *.txt file) some keys from regedit, for example,  "TimeZoneInformation" from regedit. Thanks in advance ...
Score Search Active directory
George Kondylis - 3 Nov 2006 6:26 PM - 2 messages
Hello, I have a network with multiple users and i want to search for users who have been applied a certain policy. Is it possible to do this through a script? ...
Score Add Accounts from a Trusted Domain
Alan - 3 Nov 2006 4:38 PM - 2 messages
I need to add users accounts from a trusted domain to Domain Local groups in a trusting domain using a scripted process. I can do this using ADUC in the trusting domain, though the process prompts me for credentials for the trusted domain. ...
Score How do I list resources with NTFS Permissions from an AD group (Da
Mikaelvv - 3 Nov 2006 1:22 PM - 2 messages
I have been unable to find a utility / script which I could use to list all my computer resources (shared folders) which are protected by NTFS permissions. I (my bosses) need a list of folders with read / write permissions for each ...
Score CPU temperature
eld - 3 Nov 2006 12:15 PM - 3 messages
Hello. Is it possible to monitor CPU and HDD temperature from VBScript ...
Score Getting entries that only appear in 1 of 2 files
Marco Shaw - 3 Nov 2006 12:59 AM - 2 messages
I've got 2 files with several entries.  There are some entries that will be contained in both files. I only want to output the entries that are *not* found in each file. What is the best way to do this?  I'm pretty much stuck with VBScript. ...
Score how to remove software using window scripting
hommer - 2 Nov 2006 10:28 PM - 2 messages
Hi, Experts, I don't know where this question belongs to, but I will ask anyway. My network admin has asked me to come up with a piece of windows scripting, which will be saved as myUninstall.bat on clients' desktop machines (OS ...
Score Can dsquery and other AD tools be copied to XP?
Marco Shaw - 2 Nov 2006 7:27 PM - 2 messages
Can dsquery and other AD tools be copied to XP? Will that give me the ability to run the tools against the AD the desktop is joined to? Marco ...
Score Retreiving Encrypted files from the C:\
Sunshine - 2 Nov 2006 4:32 PM - 2 messages
Hello, I wanted to create a VBscript which give me all the Encrypted files on the C:\ and save it on a file. Thanks ...
Score How force shutdown a pc in the network?
quasar - 2 Nov 2006 10:40 AM - 5 messages
Dear All, Please tell me how can I forceshutdown a PC in the network from another PC or server? It may be  a domain based, Windows or linux based network? Anytype of help highly appriciated... Thanks, Quasar ...
Score Win32_Product
Julián Redondo - 2 Nov 2006 10:09 AM - 2 messages
I will like obtain all products installed in a windows 2003 Server. For this i have developed this script. Could someone help why do not execute correctly. Dim arrServidores(1) arrServidores(0)="Server00" 'arrServidores(1)="Server01" For i=0 To UBound(arrServidores) ...
Score Domain Startup Scripting
Shawn Romine - 1 Nov 2006 10:07 PM - 4 messages
If there is a better forum for this please let me know.  Any help would be greatly appreciated. I work for a library and we are trying to automate a lot of maintenance routines as we have numerous branches over a large area.  I am hoping someone ...
Score 2003server WMI Function Rererence
fixitchris via WinServerKB.com - 1 Nov 2006 6:59 PM - 2 messages
Does anyone have any good reference material for the functions available to 2003 server, such as RDTOGGLE , etc.??? thanks ...
Score Listing links inside of word documents
Jake George - 1 Nov 2006 4:25 PM - 2 messages
I need to know how to open mutiple word documents that have embedded links and write the complete path information to a file or display, and to be able to change multiple links mainly the ones that contain (\\UNC) paths. ...
Score WMI GetObject Permission Denied err.number = 70
fixitchris via WinServerKB.com - 1 Nov 2006 3:55 PM - 3 messages
What could be the possible causes of the permission denied error on this line? Set objWMIService = GetObject("winmgmts:\\pc_name\root\CIMV2") Thanks Chris ...
Score printer script
Sher - 1 Nov 2006 2:00 PM - 2 messages
Hi all, I found the following script to assign a default printer to a computer instead of to a user. Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300" WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300" My problem is that I don't know how to use scripts.  The above script is ...
Score vbs script on remote pc's
HDI - 1 Nov 2006 12:36 PM - 2 messages
Hi, We have remote sites with a different ip range (headquarter: 192.168.1.* domain, Remote site A: 192.168.2.* workgroup, remote site B: 192.168.2.* workgroup ,...) When I run a script on range 192.168.1.* the script works and I can ...
Score Remove printers
mcp - 31 Oct 2006 10:05 PM - 9 messages
hello everyone, im having problem with couple of things please help.. first problem is i installed a network printer locally on server 2003 and shared that for clients few months ago. I know dont need that printer so i have deleted that from the server, but when users browse ...
Score Setting permissions on Public Folder
Chester - 31 Oct 2006 3:33 PM - 4 messages
I am trying to write a script that will create a public folder and then set the client permissions on that folder.  The following script creates the folder: Set Outlook = CreateObject ("Outlook.Application") Set OLNS    = Outlook.GetNameSpace("MAPI") ...
Score Joining a domain
Oriane - 31 Oct 2006 11:22 AM - 4 messages
Hi, I intended to use the "netdom move" command to move a computer from a NT to an AD domain. However, I have also some other stuff to do beforehand (copying files, renaming dll...) and I would prefer to use scripting. ...
Score How to write script to start a Linux program remotely from Windows Server 2003?
yangliang_mr - 30 Oct 2006 11:51 PM - 3 messages
Hello, I'm the Admin of both Windows Server 2003 and Linux RedHat Enterprise Server machine. I want to remotely start a Linux program on the Linux server from Windows Server. What kind of utility can I use to finish ...
Score LDAP filter on DistinguishedName - wildcards don't work
ASGMikeG - 30 Oct 2006 11:17 PM - 2 messages
Hi, I'm trying to select only AD users whose distinguishedName contaings the word 'General' i.e. *General*. Sample DN: CN=Michael Green,OU=General,OU=SYDNEY,OU=ASGGroup Users,DC=asggroup,DC=com,DC=au I have the following LDAP based User filter working : ...
Score search for server downtime incidences
balta - 30 Oct 2006 11:05 PM - 2 messages
Hi I need to provide an outage list for a group of about 30 Windows NT/2000/2003 servers belonging to the domain. I thought a script would be more efficient that searching through 1 by 1 the event logs of servers. ...
Score Alerted when a folder is created
nospam@newsgroup.com - 30 Oct 2006 9:49 PM - 2 messages
Hello; Does anyone know of a way that an alert can sent when ever a folder is created? Thanks ...
Score Show current CPU and MEMORY usage
Avi G - 30 Oct 2006 7:00 PM - 5 messages
Hi, i'm looking for script that when i run it on a machine he will give me the current cpu usage and current  memory usage for that second on the machine. how i do it??? THX ...
Score script
James - 30 Oct 2006 5:14 PM - 2 messages
Hi I would like users to map to a network drive based upon the first character in their username. For instance, if the first character in the username falls between A & K, then the user will have his home ...
Score script logon session...
as2pik - 30 Oct 2006 12:10 PM - 5 messages
hello all, I'm new on forum, and completely beginner on VBS. I'm looking to create a script :     - disconnect all my logical drives,     - connect a new one. Thanks for your help. --- gilles b --- Vendée --- France --- ...
Score Disseminate Outlook 2003 signature
Ashpoint - 30 Oct 2006 2:24 AM - 4 messages
I want to disseminate the "signature" for Outlook 2003 email messages. My client wants every email message leaving his business to have a generic signature message at the bottom of each email. For my part, I would like to include the UserName and Email Address in the ...
Next »