Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Remove users fom all Local Administrators!!
Ahmad Sabry - 11 Nov 2006 4:49 AM - 4 messages
Hello I've alot of clients who their domain account is added to local administrator group.. . it will take alot of time to remove one by one , so if there are a script to remove all accounts from local Administrator ...
Score Newbie to logon scripts - how to make a script run once only?
mulhollands - 10 Nov 2006 10:15 AM - 5 messages
Hello, I wonder if someone could help a logon script newbie here. I have a very simple logon script which runs an .msi file to install the SOAP toolkit.  The script has but one line - <path>soapsdk.msi /quiet ...
Score How to add a user to group in XP using a script ?
Ahmad Sabry - 10 Nov 2006 7:13 AM - 2 messages
Hi I can create users using net user but when  i tried to add a user to group i got message: This command can be used only on a Windows Domain Controller. so is there a script to help me adding previously created Accounts to some ...
Score IT Audit Script Needed
JD - 9 Nov 2006 5:44 PM - 5 messages
Hello, New to scripting and of course we have an IT Audit coming up!  I need a scipt that will 'List users and what groups they are in'.  I found the following on the Technet site and it is for 'List Group Membershis for all ...
Score Question about accessing installed programs via a script
Trevor - 9 Nov 2006 4:55 PM - 3 messages
I know this is specifically a server scripting question but thought I might give it a go here anyway. For Windows XP: Is there a script that I can use that would list to a window and/or to a text file.... the Add/Remove programs installed ordered by: ...
Score Employee-number
Yann - 9 Nov 2006 2:23 PM - 2 messages
Hello, I'm french and my english is quite bad, but I have a question. I would like to make a script wich can write the employee-number in my AD domain. After that, I need another one to list all employees name and their number. ...
Score ADO & Description Field in ADS
Justin - 9 Nov 2006 12:13 AM - 2 messages
I am trying to figure out how to extract data from my description field from ADS directory and it doesn't work. I have read that it is multi-valued string even though its a single value. But i am confused on how i would ...
Score Logoff script(s)
Steven - 9 Nov 2006 12:12 AM - 2 messages
I found the "secure workstation" shortcut (shortcut to a dll of some name I cannot remember), now I want to make a similar shortcut for quickly logging off, any ideas? I'd like to add it to the desktop of my server so I can log off a bit easier ...
Score Event log account logon script
kwh - 8 Nov 2006 9:44 PM - 3 messages
Hi all... very new to this and I'm sure its something very simple with my syntax. Basically the script is from the MS repository with one wanted modification. The script should only return results when the objEvent.User = tcc ...
Score newbie scripting
Xuroth - 8 Nov 2006 9:32 PM - 2 messages
I am jsut beginning to learn Windows Scripting Host. I just want a simple script that will shut down the computer it is run on after a message box prompt. Can anyone help me out? ...
Score Need Help..
Dennis - 8 Nov 2006 7:24 PM - 9 messages
Hi to U all, I'm a scripting newbe and need help with a script. (thanks alot!!!) This script is part of a solution that queries a OU container in AD. Some information must be recored in a Database (If this works we will use ...
Score Script to search for and delete all files with extension xxx
Mike62 - 8 Nov 2006 6:52 PM - 3 messages
I need a script to delete files with a extension of tmp, temp, and dmp. This is probably really simple, I'm new to scripting. also i need it to search just the local drives, no mapped drives. Thanks in advance!! ...
Score Equivalent of "RunAs" in a script
Oriane - 8 Nov 2006 5:36 PM - 14 messages
Hi, is there a script command (or parameter in a command) which can act as the RunAs command, that is allow to execute part of a script within another user context ? Oriane ...
Score listing/copying files..wildcard?
2poor - 8 Nov 2006 2:32 PM - 4 messages
New to scripting, just can't quite figure this out: I need the script to check the root E:\ for ANY files, and if found, copy those files to the user's My Documents folder on the local drive. What I can't figure out is how to wildcard this so that it checks for any ...
Score Netsted Quotes Problem
JohnH - 8 Nov 2006 1:34 PM - 3 messages
I've pieced together a script to accomplish my goal.  It works by pinging an IP address, if a response is received it will start a service.  If no response is received it does nothing. The problem is I can only start services that are one word like "WebClient". ...
Score AD users and groups
randy.steinberg - 7 Nov 2006 7:36 PM - 3 messages
All, I just started in the IT dept. at a new company, and we have an audit coming up shortly.  Part of my assignment in preparing for the audit is cleaning/organizing Active Directory.  I'm trying to come up with a ...
Score Running "add user to AD" Script only Creates Pre-Windows 2000 username
Bjarne Hansen - 7 Nov 2006 6:10 PM - 3 messages
Hi Group I'm new i the scripting world I'm testing at sample-script from MS But the: "User logon name" in AD users and computers/Account remains empty (the username is only added in  Pre-windows 2000 User logon name) ...
Score Creating a user in AD but it's not disabled !!
Stuart Robertson - 7 Nov 2006 4:33 PM - 3 messages
Can anyone help, used the script from the script center to created an AD account called myerken... the note says the account is created disabled (because there is no password in the script and AD requires 'complex passwords' by default). ...
Score Script to Retrieve UserID
Kellie - 7 Nov 2006 2:09 PM - 2 messages
I see it everywhere.... "Forgot UserID/Password".   Is there a standard script out there for pulling the userid or password from Active Directory based on the user's email address?  Sorry, I am VERY new to all of this and have been searching online, but ...
Score Copying Scheduled Tasks
Umesh Thakur - 7 Nov 2006 7:14 AM - 2 messages
Hi All, I have a task scheduled on a server and I need to schedule the same on other 500 servers. This task runs under mydomain\tasksched user account. When I copy the task and paste it on other servers, it copied fine. However, when I ...
Score Client check for corporate network
JohnH - 6 Nov 2006 5:00 PM - 3 messages
Hi, I need to start a service on non-domain connected WinXP laptops, but only when they are on the office network (to monitor printing).  I envision the logic as follows: If exist SERVER_IP then start SERVICE Is there a way for me to do something like this and place the script in the ...
Score How to check if my PCs are Physical or Virtual
mganem@gmail.com - 6 Nov 2006 2:19 PM - 4 messages
Hi All, I'm trying to find the way to scan via RPC my network (about 1k of MS machines) and determine how many are physical and how many virtual (vmware). Any suggestion ? Thanks & Regards. ...
Score RC2 Link Download Error
ockypooie - 5 Nov 2006 12:12 AM - 3 messages
To whom it may concern, The Following error occurs for all three of the RC2 download links on Connect. jwbaldock Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application ...
Next »