Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Machine Account Group Membership: How to...
rmfisher - 6 Oct 2007 2:37 AM - 2 messages
Hello, I have been looking all over, and I can't seem to find anything close to what I need.  I am looking for a way to run a script that executes something based on the Machine Account group membership.  So, ...
Score Command Box
glav - 6 Oct 2007 12:57 AM - 2 messages
Hello am new to the group and Windows Scripting.  In reading the beginning information.  It says to open a "Command Box" and type in the VBScript statement.  What is the Command Box?  How do access it? ...
Score Scripting solution to create new accounts?
D.P. Roberts - 5 Oct 2007 10:12 PM - 2 messages
With the "net user" command I can create user accounts with passwords and login scripts just fine. But there are 3 things this command doesn't seem to be able to do: 1. Specify a network home directory (it only seems to support local paths) ...
Score predictive drive failure using wmi
Stekcub - 5 Oct 2007 8:03 PM - 2 messages
Hello all, I have been trying to get a WMI query to return the status of 4 SCSI hard drives in our Dell PE830s.  I have searched every where, used the WMI Scriptomatic, used the wim32_diskdrive and mass_storage_driver classes.  ...
Score VB not working using SMS
James S. Borg - 5 Oct 2007 7:22 PM - 2 messages
This is cross posted from SMS List because I am not sure if it a sript issue, which I am a mere hack at, or an SMS issue. I have created a VB Script to remove Office 2003 items from the Windows XP ...
Score Delete files in folder older than present date
Gustavo - 5 Oct 2007 7:08 PM - 1 message
Hello scritpting guys; I try to find some scripts to schedule a task, that deletes the files in some folders that are older than the present date, I found some but I do not know if they work on Windows Server 2003 x64. ...
Score Listing users from "Domain Users" group using AD query
Huw - 5 Oct 2007 6:03 PM - 6 messages
Hi, I want to know how to script listing of users in the "Domain Users" group from AD. I've tried binding to the object and asking for the "members" entry returning a IADsMembers collection. This function returns, but there's nothing in the collection. I guess it's ...
Score installed software in 64bit machine?
Miztiik - 5 Oct 2007 4:35 PM - 1 message
i want to enumerate all the software that are installed in a 64bit machine? much the same thing like this command reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /s but in vbscript? ...
Score Export Group membership using script\CSVDE
PK - 5 Oct 2007 12:40 PM - 4 messages
Dear All, Been working on this a whole and im hitting a dead end and need a little help. I need to either export Group Membersip, (including several LDAP attributes as below) CSVDE -f e:\adusers.csv -r  objectCategory=person -d ...
Score Exchange 2000 Mailbox Sizes and Queue
Imy - 5 Oct 2007 10:03 AM - 3 messages
Hi, I can't seem to find a method to obtain Mailbox sizes for all users in Exchange 2000 can anyone please help? Also we already have the MailQ utility in place which displays queue lengths across all servers, is there anyway to get this in a graphical format? ...
Score Need script to delete list of AD accounts
D.P. Roberts - 4 Oct 2007 10:23 PM - 6 messages
I have a text file of several hundred usernames that need to be deleted from Active Directory. These users are scattered among several OUs, but they are all located in the same domain. Is there a way in vbs I can delete these ...
Score Re: List all servers in a domain
MCSE_Sec - 4 Oct 2007 6:54 PM - 1 message
The Wscript.echo outputs to the screen so to output to a text which you can import to excel, just do the following at the command prompt: Cscript SCRIPTFILENAME.vbs >OUTPUT.txt This redirects the output to the listed text file. ...
Score monitor printer job
Hitch16 - 4 Oct 2007 10:31 AM - 1 message
Hello, i want to monitor all printers job under w2k server using VBScript. I need to count jobs by printer, user... and make monthly statisctics (with Excell for example..) I don't know how to do this. I expect my english isn't so bad, cause i'm french you know :) ...
Score Can't get simple LDAP script to work
Bobby - 4 Oct 2007 10:23 AM - 6 messages
Hi I'm new to LDAP. I'm trying to use the script below (copied from Technet) to list all of the members in an AD group. I'm struggling with this, and wondered if anybody could help me out. The script is: ...
Score Scripting in 2003 Active Directory
gram - 4 Oct 2007 8:51 AM - 3 messages
We need a script to change about 100 users profile paths in 2003 AD, instead of doing it manually. The only change is the servername, rest of path is ok. can anyone point me to a website or to a script that will do this? ...
Score Download from command line -Remotely- !
Ahmad Sabry - 4 Oct 2007 8:04 AM - 1 message
Hi i've a problem , which is that local users are downloading large specific audio files from internet then reupload it again to a remote server. i wanna save my bandwidth , is there's a utility to help me to download from ...
Score Get application name for a process
faf1967 - 3 Oct 2007 7:11 PM - 1 message
I have a server running 5 RDP sessions.  Tasklist.exe returns 5 mstsc.exe processes running. If you log on to the server -- open task manager – and go to the application tab you see server-name – Remote Desktop for the RDP ...
Score Script to echo files based on specific dates
Walid - 3 Oct 2007 3:54 PM - 8 messages
Hi, I am pretty new to scripting.  I found this script from "scripting guy" and I want to know how I can echo or even delete files within a specific folder (for example D:\folder1\subfolder2\test) for files older than Jan 2nd 2007.  ...
Score Re: script to create a website in IIS
hajaworld@yahoo.co.in - 3 Oct 2007 11:55 AM - 1 message
...
Score ASP Access and Creating an Incremental ID for a record
Corey Forman - 3 Oct 2007 11:00 AM - 3 messages
Alright, I might be making this more difficult than it is, but here goes: I've currently got a script which will take the number from one field (ticket_UserID) and a number which is randomly generated (R = CLng (10000 * Rnd)) and takes the first 4 from the ticket_UserID and the last of the R to ...
Score computer accounts in AD
rt - 2 Oct 2007 9:20 PM - 2 messages
Newbie here, I'm looking for a way to list all computers in a specific OU and the dump the output to an excel file.  Can someone help me with this. thanks, rt ...
Score 802.1x - script to configure EAP on 1000 desktops
Marcos - 2 Oct 2007 8:56 PM - 1 message
Hi ppl. I got an script that have a good ideia, but have one problem. Whem it not found the registry entry the script stops with an error. The strange thing is, some desktops have the registry setting on the right ...
Score PushPrinterConnections.exe "not a valid Win32 application"
Timothy - 2 Oct 2007 6:38 PM - 4 messages
2003 R2 x64 DC XP clients AMD x64 & intel x86 machine gpo set to add printers based on location. eventlog shows: ___________________________________________________ Event Type:    Error Event Source:    UserInit Event Category:    None ...
Score Receiving wrong Service Pack number in a query
Marcelo Moraes - 2 Oct 2007 6:17 PM - 1 message
Hi All, I've create the following  LDAP query : (&(objectCategory=computer)(!operatingSystemServicePack=Service Pack 2)(operatingSystem=Windows Server 2003)(!primaryGroupID=516)(!memberOf=CN=Exchange Domain Servers,CN=users,DC=Fale,DC=fakeCia,DC=null)) For my surprise, one of the servers in the results pane had the ...
Score list all users created today
Simon G - 2 Oct 2007 3:29 PM - 5 messages
Hello all. I have an ou in which all new users are created. I currently have a script which will list all the members of the ou and some of their attributes. What i want to do is to be able to list this, but only for users who have ...
Score how to select from multi valued attribute in Active Directory
Thijs - 2 Oct 2007 1:30 PM - 3 messages
Hi, I need to set a value within departmentNumber. there are 4 values to select from. How can I select one of these values and make it the "active" one. I need to do this with vbscript. Thanks in advance ...
Score Can you write this script?
John - 1 Oct 2007 3:49 PM - 4 messages
Hi all, Can you write this batch script that when users are at network, they can run this website http://url? Please help. ...
Score Notifying users of account expiration
Abid M - 30 Sep 2007 10:03 AM - 2 messages
Can someone please advise if there is a script or someway of informing users (generally applicable to contractors) that there user account (not password) is about to expire? ...
Next »