Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score create AD-PC-Account with given GUID per script
Jens Klein - 21 Apr 2007 7:24 PM - 2 messages
Hello, is there a way to create computer accounts with given GUID's (by the Hardware-Dealer) with a script? ...
Score How to ping multiple hosts via a script
Dana - 21 Apr 2007 4:14 PM - 9 messages
Hi all. I have some T1's that go over copper and Microwave. I have devices that have both a copper span and a microwave span. Our present tools have no capability for watching our T1's so in order to ...
Score script to copy user profile!!
mcp - 20 Apr 2007 10:30 PM - 6 messages
hello everyone, i am migrating users from one domain to another and have decided to manually copy user local profiles to new domain. im using admt to migrate user accounts only to new domain nothing else..i have created a script pasted below. when i run this script it makes all relevent ...
Score Outllok 2003 Signature script
John - 20 Apr 2007 8:58 PM - 3 messages
I came across the script below in an issue of TechNet and have been testing it ever since so that I can actually use it. I'm not very familiar with scripting, but from playing with the code in this was able to figure out what ...
Score Win32_PerfRawData_PerfNet_Server.BytesReceivedPersec interpretatio
Leo - 20 Apr 2007 8:26 PM - 1 message
Hello to all: I want to get using vbscript the average traffic in bytes per second from a network card in a windows 2000 server and each time that I read the BytesReceivedPersec from Win32_PerfRawData_PerfNet_Server class I get a higher acumulative value. How can I interpret this? I mean, can I substract 2 ...
Score Copy file with scheduled tasks
RandyH - 20 Apr 2007 3:38 PM - 1 message
trying to create a scheduled tasks to copy a file from a remote server to a local server. I've mapped the drive to the remote server as Y: Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "Y:\Source\MyFile.txt" , "D:\Destination\", ...
Score Copy File to user's profile
Michael Martis - 20 Apr 2007 2:48 PM - 2 messages
I need to copy a config file to each user's Documents and Setting/Local Settings. This is what I have so far, Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "\\Server\Share\LinkConfig\Config.ini" , "C:\Documents and ...
Score Login script not executing for WinXP SP2 clients!
Richth - 20 Apr 2007 2:06 PM - 3 messages
On Win2003 Srvr assigning a login script via Group Policy that maps a drive as follows: Set objNetwork = CreateObject("WScript.Network") objNetwork.MapNetworkDrive "M:" , "\\srvr1\mt4" To assign I do the following: 1. Right-click on container and choose "Create and link a GPO here..." ...
Score How to ensure login script runs on client?
Richth - 20 Apr 2007 1:14 AM - 8 messages
Need help understanding what security setting prevents my client login scripts from running on WinXP SP2 workstations.  When I run it manually I get a security window that warns it cannot determine if it should be run, and prompts me whether to allow it to run or not.  ...
Score Getting started with Windows scripting
Jason W. - 19 Apr 2007 6:55 PM - 3 messages
Hmm...wasn't sure if I should post this here or not, but figured I would give it a shot. I have always wanted to get better with scripting. I understand the basics and have done some real basic scripts (logon/logoff stuff), but ...
Score find and replace to make new files
David French - 19 Apr 2007 6:44 PM - 1 message
I have a project I need some help with. This has to do with an internal security policy. I need to take the existing, known working policy, find a the user's e-mail ID and replace it with a new user's e-mail ID and finally name the file with ...
Score Interactive Rename and Domain Join Script Needed
sc - 19 Apr 2007 4:46 PM - 2 messages
Background: I have Vista installed as a Guest onto a Virtual PC 2007 VM.  I want to customize it, sysprep it and then distribute it to our QA team.  In XP and 2K Pro i was able to do this in such a way that the VM would launch mini setup ...
Score Drop-down list on Active Directory
Paloma - 19 Apr 2007 4:06 PM - 2 messages
I used this script to give all users the same postal address. Option Explicit Dim adoCommand, adoConnection, strBase, strFilter, strAttributes Dim strQuery, adoRecordset, strDN, objUser ' Setup ADO objects. Set adoCommand = CreateObject("ADODB.Command") Set adoConnection = CreateObject("ADODB.Connection") adoConnection.Provider = "ADsDSOObject" ...
Score exchange 2003 mobile services
Stacy - 19 Apr 2007 2:06 PM - 1 message
Can anyone tell me of a script that will check to see if the Exchange Mobile services on a user account is enabled/disabled. thanks ...
Score Login Script
Matt - 19 Apr 2007 11:55 AM - 5 messages
Does anyone know of or have a script that i can use to display a login message after sucessfull login? or example Welcome %DOMAINUSER%i am guessing it is done in .vbs if so i need to get a rnage of scripts done that can work ...
Score Shutdown a virtual server
Frank Pusch - 19 Apr 2007 11:32 AM - 1 message
Hi, If I use the vbs script to shutdown a virtual server 2003 (see also [link]) the Guest system doesn't shut down, because on the console there is a ...
Score how to note down files modify or remove action?
C.K - 19 Apr 2007 2:22 AM - 6 messages
How to note down when ActiveDirectory user Create/Modify/Remove file on server by WScript now i use Auditing Policy to do the same thing,but i hope do that by wscript and write the log to database. please excuse me i am not good at english,hope can understand what i ...
Score detect a remote machine is reachable or not through vbscript
Golden_au - 19 Apr 2007 1:14 AM - 2 messages
can anyone tell how can detect a remote machine is reachable or not through vbscript. many thanks for any advice. ...
Score stop logoff process if application is open
Tony Bragagnolo - 18 Apr 2007 4:25 PM - 1 message
hello. is there a way to stop the logoff process (started by user) if there is a specific win32 application running, and displaying a message? thanks. environment is win2003 server with terminal services and citrix. ...
Score start and stop a process
Miztiik - 18 Apr 2007 3:28 PM - 8 messages
i want to know how to start and stop a process in vbscript? ...
Score How to remote login
Miztiik - 18 Apr 2007 3:26 PM - 3 messages
i am writing a windows vb script? i want to know how to login to the remove computer thru the script and run some commands in the remote computer? ...
Score Any UI to see WinNt groups like Active directory?....
Sriman - 18 Apr 2007 3:12 PM - 2 messages
Hi,   Is there any User Interface available to see the WinNt Groups and there user details like in Active Directory? Regards, Sri. ...
Score How to check whether the server is up in VBScript
Jerry - 18 Apr 2007 7:16 AM - 2 messages
Please do tell me how to check whther the url or the webserver is up and running using VBScript Thanks, Jerry ...
Score VPN username
tommydogs@gmail.com - 18 Apr 2007 7:15 AM - 1 message
I have users that login to my office via VPN, where they then click on a shortcut that points to a VBScript on my domain controllers to map network drives. Is it possible in the VBScript to grab the username passed by the ...
Score Determine last login time for a user on a Terminal Services server
Cameron - 17 Apr 2007 7:02 PM - 3 messages
I have a Windows 2000 server that I want to determine the last time a user logged into it.  I have found some scripts that query the domain but this has all users, not just the ones i am looking for. ...
Score Login.cmd scritp doesn't run when user logon
Koala78 - 17 Apr 2007 6:00 PM - 4 messages
There is a login.cmd script supposes to run to create network drives when user logs on.  The network is consist of 25 staff and few remote sites.  User logins in the morning successful without problem but the scripted network ...
Score Shutdown script doesn't do anything
greenbeer77 - 17 Apr 2007 4:29 PM - 5 messages
I have a Windows 2k3 Active Directory in native mode and Win2k and XP clients.  I have written a vb script that will detect a drive mapping to U: and if it is there, replace it with a new mapping or add the ...
Score restoring sql with VBscrip
Costas Markou - 17 Apr 2007 3:28 PM - 5 messages
I am trying to find a way of restoring an SQL database with a VBScript. I found everything for backup and no topics, articles or examples for the restore process. If some one could help??! Thanx! ...
Score Set msNPAllowDialin to Not Set
Gary - 17 Apr 2007 3:07 PM - 2 messages
Hi All Almost there ... however I need to set the Dial-in properties to "Control Access through Remote Access Policy" which I understand is done by setting "msNPAllowDialin" to "Not Set". The code seems to work for both TRUE and FALSE values which Allow Access and Deny Access but ...
Score Script for Active Directory
Paloma - 17 Apr 2007 11:22 AM - 3 messages
Hello I am looking for a script which changes the postal address in all the users on my domain. I've foung this one: Set objUser = GetObject _     ("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com") ...
Score Using the copy command
KWME - 16 Apr 2007 8:04 PM - 2 messages
I'm trying to move a shortcut into every user's My Documents folder.  I've got a loop set up that accesses an excel file with all the user's names listed. I've got the UNC path for the source and destination folders included in ...
Score Script re-write (help!) Thank you so much!
John Chen @ NTS - 16 Apr 2007 6:30 PM - 2 messages
Can someone take a look the following script and change it to apply for MS Excel? ' ' Description ' =========== ' Command line conversion of MS Word files to PDF using Click to Convert. ' ' Version: 5.2 of Click to Convert or later ' (C)Copyright 2004 Inzone Software Limited. ...
Score Run script against PC in different network
Tim Kelley - 16 Apr 2007 5:23 PM - 2 messages
I have a script that queries all of the computers in AD for timezone info. This works OK for computers that are on the same network as my PC, but I can't seem to access the PCs in a different network.  Is there something ...
Score Deletion of all Content.IE5 subfolders in all user directories
JP - 15 Apr 2007 6:20 AM - 9 messages
Hi All, I am _very_ new to wsh and am trying to create a script that deletes all the content.ie5 subfolders (I am working at a webhost and find myself cleaning gigs off a citrix server by removing these unnessesary files) ...
Next »