Group:  English: Windows Server ยป microsoft.public.windows.server.scripting

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Threads Replies Last Post
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  
Removing Unknown Account from share and NTFS permission
Hi, I just migrated a file server from a domain to a new domain (using ADMT) and remove the old domain. So, I'm getting in all my shares "Unknown Account", so I need a way to remove that permission and add permission for "Domain Admins". Best regards, Yogerson Falcon...
1 02.07.2007 19:24:03
Modify DNS Record
Anyone knows a script to modify a DNS record ? (Windows 2000 DNS) I have a alias (A) pointing to a DNS record (NS). I want to change my alias (A) to point to another DNS record (NS). ...
1 02.07.2007 12:20:06
Desktop Icon Change
Does anyone have a script that will change the desktop icons for a 3rd party program on a large domain? ie inhouse program needs foxpro icon changed on 170 users currently we have to manually change on users desktop - painful. Help appreciated or pointed in right direction thanks in advance Elt...
1 02.07.2007 06:56:06
Using VbScript For Add-On Log On Script
I have created a login script to add to the existing login script our system admin created at work, I have put a .bat file in my startup folder, and used the bat file to delete all existing network drives, next the .bat file runs "wscript rename.vbs". This file simply recreates the network drives I use and renames them to a user friendly name. Currently some of my network drive names ...
7 01.07.2007 00:39:33
Urgent help required
I have this script here that calls up message windows select case msgbox("{conditions of use text goes here}", _ vbquestion or vbyesno) case vbyes msgbox "having agreed, you may use this computer" case vbno msgbox "having NOT agreed, you should immediately log out" end select and running it from your batch logon script with: cscript //nolog...
1 30.06.2007 08:15:51
Logged On User on Computer Assistance
I would like to retrieve the UserID/Username of the user logged on either on a network or the local PC. Then I would like to change the case of the Username to lower case. I would then like to identify who the user is in my script and based on who it is take the appropriate action....
2 29.06.2007 18:26:26
Article: Eight Reasons Windows Administrators Should Learn JScript Instead of VBScript
Hi all, I've published an article titled _Eight Reasons Windows Administrators Should Learn JScript Instead of VBScript_ on O'Reilly's windowsdevcenter.com site. I'd love to hear any feedback. http://www.windowsdevcenter.com/pub/a/windows/2007/06/19/eight-reasons-windows-administrators-should-learn-jscript-instead-of-vbscript.ht Thanks! -- Bill Stewart...
24 29.06.2007 17:23:50
install patch remotely via script
Hi, we use WSUS policy for servers to download patches automatically. Then interactively it is possible to install updates and reboot. Is it possible to write a script that will force installation of the already downloaded patches? Regards, Dan ...
1 29.06.2007 10:10:58
Adding DNS Entries with Excell or text page
I have 100's of entries for routers both internal and External How can I create these dns enties on my 2003 PDC DNS. (this one just under the root domain @ mydomain.com) A1 B1 routername 192.168.1.1 (this one just under a sub root domain @ dsl.mydomain.com) A1 B1 routername 208.111.111.252...
1 28.06.2007 21:06:34
Read a file name as an argument when running script.
Hello, I have a VBscript that processes data in a file given in a certain format. Till now I've been hardwiring the file name at the top of the script BUT... How can I change the script so that it expect a filename as an argument when its initiated eg cscript Script.vbs filename.txt And to display a simple message on the command prompt if its run without the file argument. showing the Usag...
2 28.06.2007 19:31:19
SETUP2.EXE Return Codes
I'm scripting the setup of the Windows 2003 R2 components using the command line options of SETUP2.EXE and I'm seeing return codes of 0, 1 and 2. Assuming 0 is "sucess", 1 seems to enable the R2 features (maybe indicating "success but reboot needed") and 2 is some sort of failure code - R2 features are not enabled. Anyone know what these return codes mean? Are there any more I've not ye...
1 28.06.2007 17:28:02
namespace missing hidden files!
I'm using VFP9 and trying to get a list of files / folders of a given directory. The sample code below works great but is missing hidden files and filders such as 'Local Settings'. Can you help? CLEAR lcDir = [C:\Documents and Settings\Administrator\] loShell = CreateObject("Shell.Application") loFolder = loShell.Namespace( lcDir ) For Each lcFileName in loFolder.Items *-----...
1 28.06.2007 02:06:49
Script question for disabling services
I want to use the script below with WMI to change the startup type of some services across our domain on multiple computers. How can I specify to read the computer name from a text file? '############################# 'Function ChangeServiceStartOption 'Variables 'ComputerName 'ServiceName - Service Display Name 'StartOption - "Automatic","Manual","Disabled" 'Returns '0 if service's...
2 27.06.2007 23:50:31
Disable OWA for AD user
Hi, Can someone please tell me which AD user attribute can I use for disabling OWA? Googling whole day couldn't find anything related. Thanks in advance. Tom...
2 27.06.2007 20:35:19
Logoff Script
I'm trying to write a script that will check and see if a particular program is running on a computer (in my case VMware Workstation) whenever someone tries to logoff and prevent the logoff from happening if found. In the past people have logged off computers while VMware was running and usually these virtual machines would be running QE tests at the time so it would always be a real pain w...
2 27.06.2007 20:29:25
I need a hand
Ok I am not a great scripter and hardly use..lets get that out in the open. I currently have a logon script that I use to push out group membership drive mappings and printers. I just created a install package for SAP that I would like to deploy, problem is its an EXE. MSI i would just use GP. First off, Can I from a VBS call a exe to install? If so, give me a hand with the scripting.. h...
3 27.06.2007 15:16:08
Email Notification Script
Folks: I am looking for a script that would ALARM (make a distinct audio noise like the ringing of a telephone) either when new emails arrive from a certain source or maybe when new emails are found in a specific filtered folder. As a backup, it would be good if the script can also send out popup screens in addition to the audio. I am using Microsoft Outlook Express as my email platform....
14 27.06.2007 13:26:22
Start VM in a given date
Is it possible to specify a date that will be used to trigger the start of a virtual machine with the use of VBScript?...
1 27.06.2007 05:40:00
Multiple computers
Hello, Trying to figure out a way to run the script below for group of computers, could someone give a hand? Script adds a local user to the machine I specify, I need to to be able to do it in bulk. Thanks! Script: strComputer = "machin1" Set colAccounts = GetObject("WinNT://" & strComputer & "") Set objUser = colAccounts.Create("user", "user1") objUser.SetPassword "mypassword" objU...
6 27.06.2007 00:35:12
Setting the MaxReceiveSize and MaxSendSize for the Organization
How to I change the MaxReceiveSize and MaxSendSize for my entire organization? I have been having a lot of trouble trying to look this up....
2 26.06.2007 23:58:24
Set WMI return value to a variable...
The following code gets me the serial # of a PC but instead of just echoing the serial number I'd like to be able to set it to a variable, ie Set PCSerial = objItem.SerialNumber But if I put that line in after the WScript.Echo I get the following error: C:\Temp\PCSerial.vbs(57, 3) Microsoft VBScript runtime error: Object required: '[string: "123FF123"]' How can I capture this info for...
3 26.06.2007 20:54:29
Mass change / move of attributes entries
Hello folks, searched for over 2 hours for a solution for my problem and even tried to create a script on my own (which did not work). Finally I am posting here in hope for help: I need one or two scripts do the following to all _user_ accounts of a specific OU of my AD: * move the attribute entries of "title" to "personalTitle" * move the attribute entires of "description" to "title...
1 26.06.2007 17:14:01
Modify User Account - Smart Card is required
We are about to rollout Certificates. Does anyone have a script or can point me to one that modify's an existing users account "smart card is required for interactive logon" I really don't want to have to modify manually. ...
2 26.06.2007 17:08:31
folder last modified time
Hello all, I'm trying to develop a way to look for redundant user folders (where they store their personal data etc) on our network. Currently i am using the following syntax dir \\server\share /a:d /t:w > \\server\share\output.txt i am using the write attribute, as the /t:a gives me the results the last time our virus scan accessed the folder. Question : is there a bett...
1 26.06.2007 15:51:02
a script to enable remote desktop at registery!!!
Hello ! i'm using the registery to enable remote desktop manually HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server fDenyTSConnections = 0 is there any CMD command to enable it without to open the registery manually ? Thanks ...
2 26.06.2007 15:02:26
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net