|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Stopping USB hard drives
JW -
14 May 2005 2:04 PM - 3 messages
Is there a way to script stopping a USB hard drive so that it can safely be removed? We do backups to USB drives and rotate drives every night. I would rather the office staff not have to go through logging in to the server to "Stop" ...
unlock an account in Active Directory
mac taylor -
13 May 2005 10:26 PM - 3 messages
I have an account (cm_acct) I am trying to unlock through the script below, but i get an error in my LDAP string syntax (Error 0x80005000). The ou and domain are listed within string. Any assistance is appreciated. ...
IIS Settings - Perl CGI Newbie
Jody -
13 May 2005 8:51 PM - 1 message
I have installed Active Perl 5.8.6 Build 811 and followed the IIS setup instructions located at [link] My question is I have manu website s using host headers. How do I run ...
Window 2000 Print Queue Property
Michelle Yu -
13 May 2005 8:51 PM - 4 messages
Hi, Does anyone have a vb script to get a list of all the Window 2000 print queue properties? Thanks, ...
proxy server
peter -
13 May 2005 8:22 PM - 9 messages
Hi Every time i put my laptop on at work, it defaults to the proxy server. AD network. When i get home and access my wireless lan i have to disable the proxy. Is there a script to disable it? ...
WMI WQL operator precendence
Marco Shaw -
13 May 2005 7:02 PM - 1 message
Basic question... Is the operator precedence documented for WMI WQL or should one assume it is the same as VBScript, for example? I want to do something like: TimeWritten >= Y and TimeWritten < X and (EventSource = A or EventSource = ...
GPO not working?
Mervin Williams -
13 May 2005 6:04 PM - 2 messages
I created a GPO to deploy WinXP SP2 as per the instructions in the Microsoft Technet article "Using Group Policy to Deploy Windows XP Service Pack 2 (SP2)" ([link]). ...
WMI Query for Computer OU
DavidTN -
13 May 2005 4:58 PM - 3 messages
I have a user GPO that I need to apply only when the user logs into a computer in a certain OU. Is there a way to query WMI (any XP available namespace) for the computer's DN? I know how to do this based on the naming ...
Scripts for Auditing Security Groups in Windows 2003 AD
Karthik -
13 May 2005 2:33 PM - 2 messages
Hi, Can somebody provide me with a script which could do the following - 1.Read user accounts from a flat file/ excel and compare the same with security groups namely Administrators,Domain Admins. 2. List out the descripencies if any in a separate column, stating ...
System uptime
Nano -
13 May 2005 1:00 PM - 6 messages
Dear Friends! I looking for an script that shows me the the system uptime in other computers in my network. I Would like give a txt file with the server name and other with the user and password for the connection ...
Resolve Username to Computer Name
Help Desk Analyst -
13 May 2005 12:30 PM - 8 messages
I need a windows script not freeware tool that will allow me to enter a username and it brings back their computer name. I need the computer they logged into last, Windows XP SP1, and they are domain accounts. ...
Re: error running WSHRemote
Torkjel -
13 May 2005 9:42 AM - 1 message
You may also need to add wscript.exe to your windows firewall program exception list (on your remote machine) for all IPs that need to run scripts on your remote machine. On Mon, 7 Mar 2005 18:11:15 -0800, "Michael Harris \(MVP\)" <mikhar at ...
Remote Scripting Problem
Danny Tiongco -
13 May 2005 9:21 AM - 2 messages
Greetings, I am experimenting on using Remote Scripting to help me in doing some task on remote computers. I made the necessary changes on the registry and placed my account on the local domain administrator of the target machine. When i tried executing the code I got from the script center, I initially ...
Network scanning for local administrator
Local Administrator -
13 May 2005 9:08 AM - 2 messages
Need a script to runs the network to check the administrators ...
Export computers from AD
spitzer -
13 May 2005 6:46 AM - 3 messages
Hi! I need to export computers from AD. I want to export security groups and fill them with computers. So how do I do that. Read every security group and check all computers? ...
Email Notification Script
Simon -
13 May 2005 3:18 AM - 1 message
Hi, I need to be notified when I recieve an email and send a simple email in response. I'm not too familiar with Exchange Server (2003) but I understand I can use an event script and presumably register that with the server. Any ...
Resolve Username to Computer Name
Help Desk Analyst -
12 May 2005 8:02 PM - 6 messages
I need a windows script not freeware tool that will allow me to enter a username and it brings back their computer name. ...
Delete printers for a given server
MichaelHensley -
12 May 2005 7:58 PM - 5 messages
(I'm new to Windows scripting.) I'm moving several printers from a Windows 2000 server (let's call it "oldserver") to a Windows 2003 server ("newserver"). My users are not up to the arduous task of deleting the old printer and adding the new one, so I'm ...
Security patch install script
Orn -
12 May 2005 5:16 PM - 3 messages
I am able to run this script on some Windows 2000 Advanced Servers without issue, but on some I get this error Object doesn't support this property or method: 'Exec' Any help would be appreciated. Here is the script: ...
dsclient.msi doesn't run automatically
wes -
12 May 2005 4:43 PM - 1 message
I'm trying to put a win98 pc on a win 2003 server. I downloaded
dsclient.msi, but it doesn't run automatically on the pc. Any thoughts. Wes
--
wes
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
Scripting Save Path and File Name for Office Documents
Dave -
12 May 2005 2:46 PM - 1 message
Looking for some information on how to script, sample code, etc for the following needs. 1. Save location based on document name 2. Specify the save file name Any help is appreciated ...
Move files based on created date
Move files based on created date -
12 May 2005 2:41 PM - 2 messages
I need to move files older than two months of the current date into an archive folder. Is there a wa to make ascript do this? ...
Delete user accounts NT4 WinNT provider from input file
Macca -
12 May 2005 1:34 PM - 2 messages
Hi I have seen the below posting which touches on what i need to do but i just need some guidance on how to change the script that is refrenced on the rmueller site to delete user accounts from a text file in an NT4 ...
need way to remove the Cancel button on a DCPromote
Mark-Allen Perry -
12 May 2005 1:18 PM - 1 message
To all, I have scripted the entire DC promotion process from beginning to end with one small issue. When DCPROMOTE.EXE is executed, a small form is created with the moving bumps going down a wire, etc. On this form is a "Cancel" ...
PING SELECTED IP's and report via SMTP.
d03 -
12 May 2005 1:11 PM - 3 messages
I am new to the game of VBScripting, and am actually planning on taking some courses on it at Learning Tree. What I am looking to accomplish with a Script is, to have it PING select IP addresses, and then fire off an Email displaying the result (such as PASS & ...
o/s changes
Juan -
12 May 2005 12:31 PM - 2 messages
i have scripts for windows 2000 pc's and I have scripts for windows xp pc's and windows 98 and so on That runs in the morning when people switch on there pc's I have now made 1 vbs script and taken al the scripts and put them into the ...
Delet NT4 and AD user accounts from text file
numbatfouram -
12 May 2005 12:30 PM - 3 messages
Hi I have a list of about 75 user accounts that i need to delete from an NT4 domain, there will also be the same for my new 2003 AD domain as well. What i need to do is i guess use ReaLine or something to read every line of the ...
Word Automation
chinlj4 -
12 May 2005 8:20 AM - 2 messages
Hi all, Is there a way to open a Word document in read-only mode through vbscript? I have a working vbscript to automatically print Word documents into .ps file followed by converting it to a .pdf file using ghostscript running in ...
Scheduled Tasks result code meanings
ag@work.org -
11 May 2005 8:17 PM - 4 messages
Could someone please point me to a location where I can learn more about result codes from scheduled tasks. For example: Last Result 0x4 - I have tried Google and the MS KB but didn't find the answer. Thank you ...
Help with VBSript
GIXER -
11 May 2005 6:26 PM - 7 messages
Hi, need help to make a script that do this: read an AD user's attribute and based on that attribute update other attibutes that are stored in a excel spreadsheet... Thanks Miguel Portugal ...
assign startup script
Ofer B. -
11 May 2005 3:14 PM - 2 messages
Hello How can I assign startup script not with the GPO editor, but with command line? I need to assign startup script as part of my program installation. Thanks ...
Use WMI to modify Server Bindings
Joe Zammit -
11 May 2005 11:26 AM - 1 message
Hi All Can anyone tell me how to modify the server bindings on an IIS6.0 Website using WMI. I can do this when creating the site using the CreateNewSite function, but I cannot find a way of setting them for an existing site. I ...
Security Issue
Danny Tiongco -
11 May 2005 5:18 AM - 3 messages
I wrote a script that copies a file from a domain shared folder and placed it in the "Computer Logon" script section of AD. It seems that I am having problems with accessing the shared folder since the script is running on the ...
How to logon to computers?
James Pang -
11 May 2005 12:13 AM - 4 messages
If I am a normal user logon to another computer use a admin user name and password? what if the user is domain admin? what if the user is a remonte local admin? ...
Firefox Launch on Windows Login
intranetman -
10 May 2005 11:59 PM - 2 messages
In active directory I've setup a login script for all user's. Bascially,
it locks all "options" that I don't want users changing on login and
then launches Firefox. The only problem is that Firefox will launch
immeditately after the user enters their credentials and you have to
exit out of Firefox for the desktop and other applications to be
displayed. I was just wondering if there was a wait function like in
KDE so that all other apps would launch, the desktop would be
displayed, and then Firefox would launch. Here is the code to launch
firefox: ...
How to get all the computer names by ips?
James Pang -
10 May 2005 11:51 PM - 2 messages
by script? ...
a memo column not updating
Don Wilwol -
10 May 2005 8:17 PM - 1 message
I wrote a small change management program using ASP, vbscript and an access database. Everything works great with one exception. When the description field grows just so big, i can't update it anymore. This happens around 1500+/- characters. I have the column in the table set on the "memo" setting ...
Enumerating computer list from certain OU's in AD
masao112 -
10 May 2005 7:51 PM - 1 message
I would like to filter my computer list to 2 or more OU's rather than the entire domain. Here's my code so far: <head> <body> <table width="100%" bordercolor="blue" cellspacing="0"> ...
Printer Starup Script successfull for Win2k, but not for XP
Springside -
10 May 2005 6:08 PM - 6 messages
Hello, I am currently running a printer startup script via a batch file off of a Win2k server for Win2k clients, however when I attempt to run the startup script for WinXP clients I am unsuccessfull. The batch I use is below: ...
Writing to Event Log (multiple lines in the description)
Marco Shaw -
10 May 2005 4:10 PM - 4 messages
I want to write events to the Event Log for testing purposes. I've played with utilities like logevent.exe and eventcreate.exe, but these don't seem to be able to produce messages that span more than one line. ...
user defined variables
arell12 -
10 May 2005 3:15 PM - 8 messages
I have a very basic script that will show me when a user last changed their password. I need some help modifying it so it will ask me the user and OU. Here is the existing script set objUser = ...
Using WMI to set share permission?
Goshi Key -
10 May 2005 2:28 PM - 3 messages
Creating a share on a Windows server with WMI is a pretty simple process, but modifying the share level permissions has me looking for help. Anybody know of a simple way to do this? I'd like to avoid using another tool (i.e.; ...
Making computeraccount a member of a group
MichaelL -
10 May 2005 2:01 PM - 1 message
Hi NG, How can I make a computeraccount a member of a specific group? Regards Michael Lechner ...
attribute for disabled account
drpepper -
10 May 2005 1:16 PM - 2 messages
can someone tell me what is attributes for disabled account ? i want to export those account for iinventory. here is my syntex using ldifde ldifde -f C:\export.ldf -s ad1-cc -d "dc=ad,dc=pbclient,dc=com" -p subtree ...
Removing applications using script
Harrison Midkiff -
10 May 2005 12:08 PM - 3 messages
Hello: I am new to scripting. I need to remove previous version of Adobe Acrobat Reader in my organization. I found the below script on the Microsoft scripting center for removing an application. Here I am trying to "Adobe ...
Adding Printer Standard TCP/IP Port with Batch file or script
canoneo -
10 May 2005 11:34 AM - 1 message
How can i add Printer Standard TCP/IP Port automatically with no user interaction r with batch file or script.. anyone can help me? Thynk you Reynaldo ...
Adding Printer Standard TCP/IP Port with Batch file or script
Reynaldo -
10 May 2005 11:34 AM - 2 messages
How can i add Printer Standard TCP/IP Port automatically with no user interaction r with batch file or script.. anyone can help me? Thynk you Reynaldo ...
How to add Printer Standard TCP/IP Port with batch or script
Printer TCP/IP Port auto installation -
10 May 2005 11:30 AM - 1 message
I would like to add Printer Standard TCP/IP port in Windows XP, anyone can help me? ...
find files last accessed on a certain date
ste o'c -
10 May 2005 10:10 AM - 2 messages
hi guys can anyone point me towards the script for this is there something in the windows 2000 resource kit that could do this either tx again stephen ...
Moving of Computeraccounts
MichaelL -
10 May 2005 8:40 AM - 3 messages
Hi NG, I would like to move a computer account from the generell "Computer" into, for example, OU=Berlin and there in Clients. I known how to move the account into the OU but not who to move it deeper. ...
Command prompt session history
MarcusB -
10 May 2005 7:51 AM - 2 messages
I would like to have possibility that command history will remain (will be saved) to the next session. The same like people heve in Linux. How to do that. Is there any extra software or.... Marcus ...
How Using the "Select Users, Computer, and Groups" CommonDialog Bo
pushkin -
9 May 2005 3:59 PM - 5 messages
Hello I'm working on a HTA to add Users to the Active Directory. To do this, I thought to use a Common Dialog like CreateObject("UserAccounts.CommonDialog") but I want the "Select Users, Computers, an Groups" Dialog. Does anybody know how to use this Dialog in Windows Script? It seems to be a ...
Adding Exchange server to outlook
Toffy -
9 May 2005 11:19 AM - 2 messages
Can anybody think of a way that i can write a vbs file to add a given server into outlook under services. Or even better. a file that checks that its the correct server and if not changes it. Ive been scratching my head but i havnt a clue where to start. ...
Home Directory
Juan -
9 May 2005 10:26 AM - 2 messages
Good day i would like a script that can help me with home directory's i would like a script a that will recognize the domain user that log in and link his desktop "my documents" folder to either z:\username or ...
Notify users to change their password before it get expired
Bashar Badr -
9 May 2005 9:26 AM - 8 messages
Hi, is there a script to check the password age for the user and send pop-up message to him before his passwordget expired. for example: i want a pop-up message to come to any user before 2 days from ...
Virtual Server and C#
P.o.l -
8 May 2005 6:43 PM - 3 messages
Hi all, I must write an application for Virtual Server, and I thought to write it in C #, but I see examples of code in Visual Basic only. Example, I can write same thing using c # ?? Set objVS = CreateObject("VirtualServer.Application") ...
|
|||||||||||||||||||||||