Home All Groups Group Topic Archive Search About



Scripting for Windows Server

microsoft.public.windows.server.scripting
Score copy from file paste to an existing xls..
PK - 13 Oct 2007 11:14 PM - 1 message
Dear all I need to copy data from a text file and then insert it in to an already existing .xls document. Ive got this code, but it creates a new xls file instead of adding to an existing xls file. ...
Score copying files multiple folders to single folder
Vemula - 13 Oct 2007 12:08 PM - 2 messages
Hi can some one help me. I am copying the files whouse location is given ina text file ie. coomputerlist.txt to a folder d:\archive.I am reading the contents of the file from where i will pick the source location of the file.all the files ...
Score School Student Account Management
wdsnews - 12 Oct 2007 11:23 PM - 1 message
I'm looking for help to get started on server scripts to create users and their work folders.  We have all of our student data in an Access database so I'm able to create queries and export data in whatever formats I may ...
Score Guestbook for website
RonC - 12 Oct 2007 8:37 PM - 1 message
I was told that MS has a guestbook for web sites that works without cgi/perl and is not built using FrontPage.  Anyone aware of what is being mentioned?  If so, where might I find it?  If not, are there any suggests as the server ...
Score Monad Script Help!
shawnLane01 - 12 Oct 2007 7:55 PM - 2 messages
Need a Monad script to move files from a drive to a target drive, if they are X days old [LastModified attribute]. ...
Score SMART monitoring script--works on XPsp2 but fails on Server 2003, and 64-bit versions
Bill Sanderson - 12 Oct 2007 1:23 AM - 1 message
I've a script from a newsgroup post which works fine on XP, but fails with an error about indexing into an array on 2003 and some other versions of Windows.  The failure is in line 31, and references characters 70 on two ...
Score Home page script help!!!
John - 11 Oct 2007 6:00 PM - 1 message
Hi all, Thanks for all the help I have received here.  We set the group policy to set home page as our intraweb and users can not change their home pages. Now, when the laptop users are not at our network, ...
Score run a batch file on multiple servers
Walid - 11 Oct 2007 5:41 PM - 3 messages
Hello: I have a batch file that will install MS patches on over 50 servers.  The location of the batch file is on a network share.  Is there anyway to run this batch file on all of these 50 servers without having to logon to each ...
Score How to find all user and export to Excel
Luis Gabriel Mieles - 11 Oct 2007 4:36 PM - 2 messages
Hi all. I would like to find all user with employeeid from Active Directory User and Computer. Thanks in advance. Luis Gabriel Mieles. ...
Score generic Domain(AD) connection
mayoza - 11 Oct 2007 9:07 AM - 3 messages
The following script returns the policy in the AD. Can you help me with one thing, I dont want to supply the parameters like dc="?", I want the script to run under the AD that the user is currently logon to. ...
Score Map drives based on IP of computers
Bryan - 10 Oct 2007 5:35 PM - 3 messages
I am currently using this script to map network drives based on group membership. [link] I now need to modify it so it is also based on the location of the computer. ...
Score monitor process on remote host
wojtek - 10 Oct 2007 3:11 PM - 1 message
Hi, I would like to know if process is running on remote machine. How could i do it? i wrote: strComputer = "192.168.8.122" procName = "ReqMgr.exe" SQLquery = "Select * from Win32_Process Where Name = '" & procName & "'" Set objWMIService = GetObject("winmgmts:" _ ...
Score Location of script
ADNovice - 10 Oct 2007 2:22 PM - 3 messages
I want to try out some scripting for maintaining our network AD.  Can I do it from my local machine or from which server? ...
Score %random%
bvb47 via WinServerKB.com - 10 Oct 2007 12:30 PM - 5 messages
Hello!, I'm trying to obtain a random number in batch file. if I type in command prompt work ok, but if I put this instruction in batch file, don't work! anybody know why? thanks! ...
Score Information sobre No. Serial of Desktop Monitor
Jesus Nava - 10 Oct 2007 12:22 PM - 1 message
i need to get the serial number of Desktop Monitor ...
Score Xcalcs.vbs and inheritance
verukins - 10 Oct 2007 11:38 AM - 6 messages
This isnt quite scripting, but scripting people will get what i mean.. I am using the good old "for /f" along with xcacls.vbs to set home drive and profile permisisons, but have always used it setting all the way down the tree (ie /s /t) .... as you can imagine this takes a very ...
Score robocopy
Lothar Belle - 10 Oct 2007 11:10 AM - 1 message
Hi, we use robocopy to Synchronise a Tree on a windows 2003 Server with a volume on Netware 6.5 on some files robocopy logs the following message:   Older .... ERROR 267 (0x0000010B) Copying File    .....   Directory invalid ...
Score SID to Users
Simon G - 10 Oct 2007 11:05 AM - 1 message
Hello, I'm trying to use this script to resolve user ID's from Sid's strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objAccount = objWMIService.Get _     ("Win32_SID.SID='S-1-5-18...........") ...
Score CSVDE Multiple group export..
PK - 10 Oct 2007 10:11 AM - 14 messages
Dear all I got the below to work ok, ( I can also export the entire OU) csvde -f C:\Get-Group\GroupMembers.csv -r "memberOf=cn=H050,ou=mygp,dc=mydom,dc=co,dc=uk" -l "sAMAccountName,givenName,physicalDeliveryOfficeName,memberOf" ...
Score Create user, asign home folder (with rights) and add to groups
banan2 - 10 Oct 2007 7:33 AM - 5 messages
Hey. Can I get a helping hand with creating a script that will create a user in AD, asign a home folder the user (\\server\user shared\%username%), and add the user to a few groups? ...
Score Output PC Name, Serial #, IP, and , OS to CSV
Hickory - 9 Oct 2007 4:44 PM - 5 messages
Hi, I am trying to make my script do what the subject says: Output PC Name, Serial #, IP, and , OS  to CSV using vbs. The script pings a range of ip addresses and then spits back the SN and OS ...
Score Replace Users Printers via Script
Beanz - 9 Oct 2007 4:00 PM - 3 messages
I am looking for guidance with the following: 150+ users connected to various printers via one Windows Server 2003 print server.  The current print server is on its last legs so we have moved the printers on to a new server and now need to connect the ...
Score Need script for move files
Anime-Arg.Bs.As. - 9 Oct 2007 2:12 PM - 1 message
Hi im need script for move files IIS server logs that other ubication folder example: folder original: c:\iis\logs  destination: d:\iis\logs, But that does not replace the contents of each folder. Tanks, Eduard. ...
Score Help! Can't add! :P
Corey Forman - 9 Oct 2007 11:29 AM - 1 message
I'm trying to set a variable to a call of ticket_ID from table tickets of the most recent ID. Basically I want to call the most recent number in the column ticket_ID and add 1000 to it to make a 4 digit #. What I've got is this: ...
Score Setting Power Management Options remotely
Hemant - 9 Oct 2007 9:07 AM - 1 message
Dear All,     I want a VB Script which will read Host Names from a Text/Excel file and set the “Turn off monitor” setting in ‘Power Option’ to 3 Minutes. Can this be done using VB Script?? ...
Score How to configure NTFS permissions on a shared folder
HRS - 8 Oct 2007 10:31 PM - 2 messages
Hello everyone, I am hoping someone can help us add a feature to a VBscript we are currently using. We have a VBscript that checks for new Terminal Services profiles and if any new ones are found it copies a folder called MPS from C:\ to ...
Score Need help with delete old files script
Dave Allen - 8 Oct 2007 5:56 PM - 3 messages
I need a script that will delete files and folders older then 30 days. I found this script and it works except it does not scan sub-folders [link] ...
Score Copy event log to access
nick - 8 Oct 2007 12:41 PM - 1 message
Hello, I have 1 DC  & ADC i need copy both the server event logs in Acces database. I copied this script from the Microsoft web site([link]) ...
Score Windows password hashes
mayoza - 8 Oct 2007 8:04 AM - 1 message
Hi, I know that you can use applications such as passwd dump to exract password hashes, how can you do this using VB script? or in which windows object are password hashes stored? ...
Score List members of Global group in NT domain.
Afsal - 7 Oct 2007 7:38 AM - 6 messages
Hai Friends,          My Boss wants list of members in 4 global groups in NT domain, in following format, 1. Full Name 2. NT logon Name 3. The group the user is member of (out of the 4 groups) ...
Next »