Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting

HTVi
TV Discussion Newsgroups

Threads Replies Last Post
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  
Installed Software Inventory
I can use successfully a script for enumerate the installed software in a Windows XP based computer, but if I try to use the same script in a Windows 2003 Server, the script does not work. In the XP Computer, the WMI Class Win32_Product exists, but do not exist in Windows Server 2003 How can I enumerate the installed software on a Windows Server Thanks for all your support -- Ale...
5 7/3/2007 3:06:03 PM
Mailbox access permission report
Hi there, is there a script we can run that will tell us what users have access to other owners mailboxes? I.E. A senior partner may have given access to his PA for his mailbox but moved on etc. We have quite a large number of users and its not practical to go through everyone's individually Thanks in advance Elton ...
2 7/3/2007 4:20:42 AM
YES NO Logon Script
Hi There, I am looking to find a way to make a login script that displays a message box just before explorer.exe is loaded that shows a yes and no button for example, *Disclaimer* Blah, Blah blah Do you agree Yes No bad example but its to get end users to agree to terms and conditions if they press no then the system logs off without loading explorer.exe so maybe a scr...
13 7/2/2007 11:51:08 PM
Login Script group membership
I am trying to write a logon script to map network drives according to group membership. The script sees the global mappings, but doesn't continue to map the shares afterward according to that I have defined. Also, would this be better off as a vbs script rather than a batch file? Here's the script. Thanks in advance: Echo ***Global drive mappings*** ifmember "groupname" net us...
7 7/2/2007 11:35:52 PM
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 7/2/2007 7:24:03 PM
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 7/2/2007 12:20:06 PM
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 7/2/2007 6:56:06 AM
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 7/1/2007 12:39:33 AM
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 6/30/2007 8:15:51 AM
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 6/29/2007 6:26:26 PM
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 6/29/2007 5:23:50 PM
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 6/29/2007 10:10:58 AM
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 6/28/2007 9:06:34 PM
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 6/28/2007 7:31:19 PM
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 6/28/2007 5:28:02 PM
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 6/28/2007 2:06:49 AM
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 6/27/2007 11:50:31 PM
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 6/27/2007 8:35:19 PM
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 6/27/2007 8:29:25 PM
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 6/27/2007 3:16:08 PM
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 6/27/2007 1:26:22 PM
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 6/27/2007 5:40:00 AM
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 6/27/2007 12:35:12 AM
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 6/26/2007 11:58:24 PM
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 6/26/2007 8:54:29 PM
17 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen