Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score vb script login script
buf - 19 Jan 2007 6:55 PM - 2 messages
I have a vb script  that I want to accomplish this for a particular group of users. eco %date% % time:~0,5% %ComputerName% %Username% >> \\servername\sharename\folder\logon.log basically logging when a user signs on. How do you accomplish this with VB script or WSH? ...
Score Sharing folder with rmtshare.exe
x57 - 19 Jan 2007 12:02 PM - 4 messages
I have made a HTA which creates a user home folder, share the home folder and sets the permissions and add the user to the right group. But i'm failing at the share part. I cannot get it to work. I guess i'm ...
Score how can i map network drivers when windows starting
Burhan ERSOY - 19 Jan 2007 11:50 AM - 8 messages
I have a script that maps network driver for users. I try it and its ok everything. work it my scripts. Scripts is here Option Explicit Dim objNetwork, strRemotePath1, strRemotePath2 Dim strDriveLetter1, strDriveLetter2 strDriveLetter1 = "M:" strDriveLetter2 = "P:" strRemotePath1 = "\\alan\drivers" ...
Score Reset child permissions / inheritance of folder with script
Thomas - 19 Jan 2007 9:41 AM - 7 messages
Hello everyone, is there any possibility to set inheritance settings with a command line tool on windos server 2003? I´d like to set de checkbox "Replace permission entries on all child objects with entires shown here that apply to child objects" on command line! ...
Score Clear Internet History with Logoff script
Johnmac - 19 Jan 2007 5:20 AM - 2 messages
Hi all, Just wondering what is the best way to clear out the history from IE6 when the user goes to log off.  I am using 2003 server and GPO. Can someone direct me or show me how to create a script to do this, if it’s possible of course? ...
Score Dire Need of Help Please
Jason Weathers - 19 Jan 2007 12:26 AM - 5 messages
I need a script that will create an OU called Jlab then in the OU I need users 100-130 200-230 300-330 400-430 500-530 600-630 700-730 I need them to be enabled accounts please I have spen ALL day trying to get this to work I can't get them to ...
Score Product Key for current XP install on remote PC (getting)
Steven - 18 Jan 2007 6:15 PM - 4 messages
I have a PC running XP Pro in a workgroup but no working user accounts (passwords no longer accepted) and I want to re-install it, but the PID sticker has been damaged (unreadable). I know there are tools that can get the PID Key from a running system you ...
Score Windows Service Status
lemery - 18 Jan 2007 3:18 PM - 3 messages
I am new ot Scripting and see alot of scripts to obtian the status a all services on a remote machine.  I am wanting to check the status of only a few services.  Can anyone help? ...
Score Password Script
news.microsoft.com - 17 Jan 2007 11:20 PM - 7 messages
Hey Folks, I am looking to create a script to change the password to a guest account on a weekly basis. I have the following script for the change commands, but I wanted to ask if anyone knew how I can use a Date variable ...
Score Query Disabled computers in AD
hcr - 17 Jan 2007 11:28 AM - 2 messages
Hi all, How to query Active Directory to retrieve all disabled computer accounts? TIA, hcr ...
Score Phone number format change...
kage13 - 16 Jan 2007 4:06 PM - 5 messages
Hello all, This is my first post in the scripting newsgroup, mainly b/c I am being thrust into the role of scriptor with absolutely ZERO scripting knowledge. Anyway, I've been asked to change the format of the phone numbers from ...
Score List User Profile Properties
giannetto75 - 16 Jan 2007 2:16 PM - 2 messages
Hi at all. I'm a new user about scripting.... I need to know the login script name for all my users. Please consider that I'm in an AD named tis.local Serching on scripting site I found the following script but, when I run it, ...
Score PowerShell
Brillig - 16 Jan 2007 1:38 PM - 5 messages
Is there anequivalent of the DOS shell "start /wait", to allow a command, especially a GUI exe, to finish before executing the next line in the PowerShell. ...
Score Search in text files
Bengyke - 16 Jan 2007 9:48 AM - 3 messages
Hi, We have a lot of log files in txt format. How can I write a script that will search in de text file for a certain text ? So if the script found that messag (for example error ..) I can send an email or give a print-out. ...
Score Install application (new to this scripting lark)
georgestark - 16 Jan 2007 9:47 AM - 2 messages
Hi guys and Gals Hope you can help, I'm trying to creata a logon script to install symntec client security i have 2 problems. 1: i have copied and edited script below from MS script centre but it wont ...
Score lastModifiedBy
lrbell - 15 Jan 2007 10:53 PM - 2 messages
Looking for a way via WMI to get the lastModifiedBy.  I have spent a solid 4 hours researching that online, so I have reached my point of diminishing return on time... I can get date etc, but I have a requirement for lastModifiedBy.  I see ...
Score Printer Port Settings
Seth - 15 Jan 2007 4:55 PM - 4 messages
I ran this command. The printer was installed but port settings are not activated. How can i do port settings with a script or command. I need activate LPR setting. cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if /f ...
Score add a local printer
Ciofegates - 15 Jan 2007 1:19 PM - 7 messages
I have written the following minimal script drawn from the long (and not all necessary) script prnmngr.vbs, to add a local printer (on a server, as an administrator user): const kFlagCreateOnly          = 2 ...
Score Write to file multiple times from Powershell
Kjetil Thorstensen - 15 Jan 2007 1:08 PM - 6 messages
Hi. I'm trying to write a script that parses logfiles, both IIS and other apps' logs and extracts certain information from specific lines ... not all. The extraction works fine using $var.substring and family, but I can't find out ...
Score Add a network printer
Seth - 15 Jan 2007 10:08 AM - 2 messages
I have a HP 7310 Network Printer connected to a switch. I have Windows 2003 Active Directory enviroment. I have a laptop user wants to connect to HP 7310 printer (192.20.103.100) How can i add a printer connection to his laptop. ...
Score Migration from vbscript to powershell
IT Staff - 15 Jan 2007 3:30 AM - 8 messages
I used to read / post in windows.server.scripting newsgroups, somehow i see the numbers of posting diminishing. Does it mean vbscripter STARTS migrating to public.windows.powershell newsgroup ? seems that i m one of them :-) But i must admit powershell is really good ... ...
Next »