Home All Groups Group Topic Archive Search About

Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Logging in
Looking for help. - 13 Aug 2005 4:45 PM - 3 messages
I am trying to find a script to give a log in prompt, and then once that script runs trying to have it map a few network drives. This is for a class that I am taking in college and everything I seem to ...
Score Copy file script
Ben - 13 Aug 2005 4:29 PM - 2 messages
Is there a way to copy only the most recently modified or created file(s) to anther directory.  I have a directory with backup files in it and I want to copy the mose recently created or modified backup file to another directory ...
Score Simple AD shell script - discover usernames
Martin Jones - 13 Aug 2005 9:58 AM - 10 messages
Hi, I'm trying to create a script that takes a txt list of users full names, and does a dsquery to find their username. Txt file layout : smith, john jones, taffy ....etc Script: REM Pass Users Full Name to this batch (format: surname, firstname) ...
Score Global question
Vitali V - 12 Aug 2005 10:38 PM - 4 messages
Just in case for logon scipt, what language the best to use, I mean: batch VBS Perl Which one is more powerful? For example for basic things: map network drive connect printer may be update some files on a workstations ...
Score Is users logged in to domain and what machine?
Scott_FH - 12 Aug 2005 7:50 PM - 3 messages
I have a 2 part question that I am having no luck with.  1. I am trying to figure out some way to find out if a users is currently logged in to the domain 2. and if they are what is the workstation(s) (or ip) they are logged in to. ...
Score VB problem rebooting w2k3 servers.
Tom E @ NG - 12 Aug 2005 7:42 PM - 3 messages
I put together a VB script that remotely reboots a list of servers.  This script has been working well for all versions of windows nt through 2000.  However, windows 2003 servers seem to ignore the reboot request.  Is there ...
Score reinstalling vbscript 5.6
matthijs - 12 Aug 2005 7:22 PM - 6 messages
Hello All, I accadenttly installed the wrong version of vbscript. (Microsoft Windows Script 5.6 (Windows 9x, Me, NT4) [link]) Now when i try to install the other version (for winXP and 2000), the ...
Score Server reboot?
Andrew Madsen - 12 Aug 2005 4:23 PM - 2 messages
I have asked this in the VBScripting group but thought I would post here as well: I want to power down a group of servers and reboot a different group and I was wondering if there was a script for it? ...
Score evaluate OU from login script
AdminKen - 12 Aug 2005 3:23 PM - 5 messages
Is there a way to evaluate the OU of a user/computer in a log in script (.bat or .vbs)? I would like to create a common login script for all my users instead of having a different script for every OU but I would need the ...
Score Error code 0x80041003
Toan Do - 12 Aug 2005 9:03 AM - 4 messages
Hi all, When logging as local administrator, I can add some instances in my MOF file to WMI repository successfully. But when loging as an domain account (that belongs to local administrators group), I cannot. In %windir%\system32\wbemlogs\wbemess.log, I see "Error Code 0x80041003". ...
Score Populate email attribute in AD
Ringo - 12 Aug 2005 1:44 AM - 6 messages
I would like to have a script that I can use to populate email field found on the General tab if AD user account properties. There are about 500 users in an OU whose email field needs to be populated. The email should be in a ...
Score Script to determine OS version domain wide
Chris - 11 Aug 2005 8:41 PM - 5 messages
I'm looking for a script to report back on the OS version for all workstations on a single domain. Ultimately, I'm trying to determine which XP workstations have not been patched to SP 1. Thanks! Chris ...
Score run a script that cant be closed
Fabrussio - 11 Aug 2005 7:41 PM - 3 messages
Is it possible to run a .bat script (from the machines local c:\ drive) that users can not close? Or is hidden? I use the 'start /min' command but students tend to close the window? thanks ...
Score Is it possible ping a server and notify users by email....
Mugen - 11 Aug 2005 6:58 PM - 4 messages
Hi, We are running Windows 2003 AD w/Single domain here. One of our member server is Windows 2000. I was wondering is it possible to create a script schedule job (AT) to ping a remote and notify users by email if the remote ...
Score SubInACL Script
Mike - 11 Aug 2005 4:26 AM - 3 messages
I have a group of folders that I would like to run the subinacl command on. I think I need a script that read the folder name, passes this to the command then repeats for the next name. Heres the set up: ...
Score Shutdown Script
Woon Ping - 11 Aug 2005 3:15 AM - 11 messages
I use the script that provided by microsoft technet by I receive an error when I try to run. The script that I use is as follow, and it give me this error message. May I know why. Thank You ...
Score How to get driver version
Johnny - 10 Aug 2005 5:16 PM - 2 messages
Using the PnP driver script, [link] I tried to amend it so that only the network drivers shows.  How is this done?  Where can I find information on the syntax on the for loop?  I am ...
Score Install MSI remotely - problem
MMMMM - 10 Aug 2005 3:36 PM - 7 messages
I have an MSI install file that I want to install on a remote machine. I have full admin rights on the remote machine. If I place the MSI in a shared drive (everyone has read access to this shared drive), isn't there a way with VBScript that I can just execute ...
Score Scheduled Shutdown Win2k3
Mike - 10 Aug 2005 11:05 AM - 4 messages
I'm trying to schedule a shutdown of a Windows Server 2003 Standard (SP1, console logged in and locked). I can't seem to get it to work? Using task scheduler gives the "0x4f7" as the result code when running: ...
Score How to get user name using the computer by computer name?
James Pang - 10 Aug 2005 12:22 AM - 4 messages
...
Score ping subnet
charles@home - 9 Aug 2005 11:54 PM - 6 messages
Hello everyone, this is my first post.  I am new to the programming world of vbscript.  I am try to ping more than one IP at a time, currently I can ping a group of ips using a loop but this is slow. How can I create multiple ping ...
Score HTA & PERL
barkeg - 9 Aug 2005 6:02 PM - 4 messages
Can an HTA app use PERL instead of VBscript? ...
Score login script in win2k domain
Rob - 9 Aug 2005 5:52 PM - 7 messages
i have a bat file that runs for non admin users that maps printers and drives, it first disconnects all drives and then reconnects. my problem is, its failing to map some drives sometimes. i cant seem to figure out why it would work sometimes and not others. ...
Score variable help in vbscript
sleepy - 9 Aug 2005 4:15 PM - 2 messages
HI all i'm trying to read a text file then display the results in a msgbox but i'm havein trouble useing a variable what i'm doing is reading a txt file then i need a variable to put the text into a msg box  here is example of ...
Score Extracting Numerical Values from a Text File
d_mc_alister - 9 Aug 2005 3:54 PM - 3 messages
Hi There At work we download text files with financial Account information in them. Althought the format of the files are constant and the provider of the files have provided a guideline of how to read the files, it is ...
Score WMI filter for IPAddress
future_retro - 9 Aug 2005 2:32 PM - 4 messages
Hi all, I can't query the win32_networkadapterconfiguration setting as the IPAddress is an Array.  As far as I'm aware I can only use WQL queries and not full scripts to filter.  Could someone confirm this for me, ...
Score Logon script
Bert - 9 Aug 2005 1:58 PM - 2 messages
Hi all, I am creating a logon script in vbs. I want it to delete the hostfile, and then copy one from a share like the NETLOGON. Anyone who can give me an idea how I should do this? Thx ...
Score how could I get all the computer name in a group which are running?
James Pang - 9 Aug 2005 3:33 AM - 2 messages
how could I check if "i" is on ? Set objGroup = GetObject("LDAP://cn=GroupName,ou=Groups,dc=domain,dc?com") mem = objGroup.member For i = LBound(mem) to UBound(mem)   Wscript.echo mem(i) Next ...
Score Stopping Processes - Permission Errors
Martypi - 8 Aug 2005 3:48 PM - 2 messages
I need to stop a set of processes periodically.  The snippet of code that I'm using to try and kill the processes is:     Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & cComputer & "\root\cimv2") ...
Score Script not work with server 2003
Mohamed Abd El-Raheem - 8 Aug 2005 3:32 PM - 3 messages
Why the following script not working with Windows server 2003 although it run with Windows 2000. When I run the script I get the error code"80041010". The Script is for enumerating Installed software. The script as follows: Set objFSO = CreateObject("Scripting.FileSystemObject") ...
Score vbscript to change IE Proxy
William Hymen - 8 Aug 2005 12:16 PM - 5 messages
I am looking for a hard coded vbscript to plug in the company proxy and exclusion list: Connections -> LAN settings -> Proxy Server [advanced] [exceptions]; And another script to "uncheck" all that and enable "Automatically detect settings" We are having problems supporting home ...
Score ODBC DSN
Bob Trapp - 7 Aug 2005 8:40 PM - 2 messages
I know that ODBC is out of date, but I need to create an ODBC source with scripting.  I use VBScript to create enter all the register values.  This only works if someone has previously set up an ODBS data source name on the ...
Next » 2 3 4 5 6 7 8 9 10