Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score Can't log AD user in
Yobbo - 24 Feb 2007 4:50 PM - 3 messages
Hi All Any ideas on this one: 1) Dell laptop XP Pro SP2 has been added to the domain OK via the My Computer/Computer Name/Change tab.  If I go back and look the domain has been accepted correctly. ...
Score scripting outlook Signature
vannyx - 24 Feb 2007 6:54 AM - 2 messages
I have never scripted in my life but i need to start because of my job. I am now the network administrator and one of my first tasks is to copy a template for all users to use for the company email signature.  The file was easy to create and i created the file but now the hard part is i can either manually install it in each users machine.\\ to each users machine and place it their and with about 80 users that will take a while.  Not to mention if i loose track it could be a problem.  I know the path i want the file to be in, i need to create a script that will run once per user per machine and i have no idea the variables to us or how to use them. can you guys point me in the right direction. ...
Score Problem: USB drive letter auto assignment on insert
Steven - 23 Feb 2007 11:26 PM - 10 messages
Does anyone know of a way to assign a specific drive letter automatically to multiple USB drives at the time it is attached? I have a situation where two USB drives are swapped in sequence (for daily backups) and I need them to be assigned the same drive letter each time. ...
Score Run VBS on another computer, not simple call
trading_jacks - 23 Feb 2007 3:15 PM - 4 messages
I know how to call another vbscript from one that is running, but I need to start a vbscript on a seperate computer to run *on that* computer, not the one doing the calling. Does anyone know how to accomplish this? ...
Score Creating VBS to remove "._*" files from shares using recursion
Nathaniel - 23 Feb 2007 1:58 PM - 3 messages
Hi, I'm looking to setup a VBS that runs at midnight to remove all files starting with "._" I would put this VBscript in the schedule tasks and run as local administrator. The items in question are how in brackets: ...
Score Windows Server Legal Notice Login Script
Mr Matthew Setters - 23 Feb 2007 9:02 AM - 6 messages
Is there any way i can implement a login script that shows a legal notice with yes and no buttons during login and not after full login so that if they disagree to the terms it stops logging in and returns to the logon ...
Score Disabling Password never expires option
Johny - 22 Feb 2007 3:35 PM - 2 messages
I would like to change "Password Never Expires" option, so users have to change their password according our GP. I have a list of file (txt file) with the user's logon IDs and Names. And I would like to run a script that will read the list from the text file and ...
Score Daylight savings time update script not working properly
Oran Turner - 21 Feb 2007 9:46 PM - 4 messages
I followed "Method 1: Change the time zone settings on multiple networked computers", in [link], but my Windows 2000 systems will only reflect the changes once the time zone is manually changed to a different time zone, then changed back to the original time zone.  The ...
Score Run a VBscript as a Service
tcrowley1999 - 21 Feb 2007 4:42 PM - 4 messages
Hi all, Apologies if I'm posting this in the wrong forum. I have a VBscript that monitors a folder for new files And if it detects new files it will move them to another folder. My question is Can I convert the VBscript to a .exe so as it can run as a service. ...
Score Not so Newbie
Willem - 21 Feb 2007 2:10 PM - 4 messages
I have programmed in Visual Basic for Applications, VBScript and a little bit of JavaScript but have never done server scripts before. I am looking for a script to install applications to different computers on a network from my computer or a server on the same network. But please guys, like I say I have ...
Score hta not functioning
Jrex7 - 20 Feb 2007 8:12 PM - 4 messages
I am trying to create an HTA from the examples given in the HTA for begginers article one. The problem I need help with is this. I have a script that runs fine when I run it as a script.vbs by itself. when I take the script text and ...
Score Last Logon Time stamp
Simon G - 20 Feb 2007 3:39 PM - 4 messages
Hello, We've recently gone to native mode in AD. I've been playing with the last logon time stamp script i've found on technet. All works fine, but i want to import the results into my SQL server in "date" format. To do this i need to ...
Score copy file using VBS login script
kharnal - 19 Feb 2007 8:10 PM - 3 messages
Using VBS, how would I copy a file from a network drive to a folder on the user machine? I tried this, but I get a "permission denied" error. Set fso=CreateObject("Scripting.FileSystemObject") fso.CopyFile "c:\test.txt", "c:\new",TRUE ...
Score Execute a BAT File in a remote machine
Juanjillo - 19 Feb 2007 5:50 PM - 5 messages
Hi, I have a bat file in server2. I´m on server1 and i want to execute remotly this bat file pp.bat I execute a vbs file with this code: strComputer = "pc_name" Set objWMIService = GetObject ("winmgmts:\\" & strComputer & ...
Score How to disable The Plug-and-play for new USB storage devises ?
ranglz - 19 Feb 2007 4:35 PM - 3 messages
I manage to disable old USB storage devices and new devices. When there is a new storage devices connected the PnP open the options That enables the operation to browse the HD to locate the drivers. Is there any option to disable all these dialogs? ...
Score string to date format
Jrex7 - 19 Feb 2007 3:33 PM - 3 messages
I have a script that reads a value from the registry. The value returned is a date time string like this one: 20070218222658. How can I format that string to show mm/dd/yyyy; hh:mm (I don't care about the seconds) ...
Score Run a script using System or another account
grzegorz.gazda - 19 Feb 2007 11:07 AM - 4 messages
I have a logon script which is located on the server. This script creates shortcuts in start menu, but in All Users->Start Menu. User which is logging on to the system doesn't have enough rights to save ...
Next »