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  
Gather AD Policies Remotely
Does anyone know how to use or have a script that you can remotely query a PC somewhere on the network and retrieve the group policies that the specific PC has applied? Same thing for a user logged onto a certain PC?? Thanks! Kim...
2 5/30/2007 8:56:01 PM
generic failure 0x80041001
I get this error when trying to run a vb script to install a printer anyone knows?...
3 5/30/2007 4:10:38 PM
Monitoring a folder for new files
Hell All, Is it possible to create a vbs script that can happily sit in the background and periodically check a folder for new files. If there is a new file it then dispalys a simple prompt with the file name that you can click ok to. Doesn't need to do anything else....
3 5/30/2007 3:57:20 PM
Utility to directly write NTFS masks etc
What I want to do is apply a bunch of permissions to files (millions of files) and whilst most of the files will have permissions such as 'read only' some may be more exotic Therefore, I want to apply mask type and flags for a username directly to a file using their numberical values. I've googled a bit but can't see an app that does this... seems an obvious thing to do? fo...
3 5/30/2007 3:32:29 PM
Controlling Print Jobs through GPO / Active Directory / Server
Hi All Is there anyway to control printing through GPO / Active Directory / Server? One of the main stumbling blocks in schools is the amount of pages wasted or bottlenecked by over enthusiastic pupils (and teachers!). Rgds ...
3 5/30/2007 1:45:02 PM
Error Message when running script
I am trying to run the following script to force a password change at next logon. I am running this on a Domain Member workstation while logged on as a Domain Admin: Set objUser = GetObject _ ("LDAP://CN=myerken,OU=management,DC=Fabrikam,DC=com") objUser.Put "pwdLastSet", 0 objUser.SetInfo The only line I changed is to account for my user and OU hierarchy: ("LDAP://CN=use...
6 5/30/2007 12:18:03 AM
how to remote login
how to use rdp to connect to remote computer in vbs script. as of now the setup is like that STEP 1 :: from my computer run "mstsc" to other computer STEP 2 :: The remote computer, throws a security notice, i click "OK" to get thru STEP 3 :: I type the UID and PWD and click connect i am logged into the server. now i want to do this in a vbs...
5 5/29/2007 11:02:46 PM
netsh checking flat file for valid IP
I am wondering if this is possible to do via a logon script. 1.) Check a flat/excel file for the current computer name 2.) Verify that the IP in the flat file matches the IP assigned to the current computer 3.) If it does not, then set it to the IP associated to the current computer, listed in the flat file 4.) If the IP has been changed by the script, log the event to a text file/databas...
2 5/29/2007 10:58:21 PM
Copy folder by date
i need to copy a folder from one remote share to another based on the folder creation date being today. the process is to copy last nights backup folder to the other share. i am very close but just cant get it. i may need a WMI script based on what i have read....
2 5/27/2007 5:07:35 AM
Getting started with scripting
I need to take the plunge. I have been wanting to take the plunge, but have been unable to. I have some scripting (BASH mostly and a little VB), but not much. With the new Powershell out, what are some recommended paths for getting started with scripting? I have a nice domain to work with and should have plenty of stuff to use for scripting. I wanted to get some suggestions here on whe...
2 5/27/2007 2:31:09 AM
Script to auto-convert mp4 files
Hi everyone Im currently setting up a mp4 streamsever and need a script to auto-hint the mp4 files that i send to the server. The program for hinting the files is called mp4creator. I currently have a script that hints the file, it looks like this: Set objShell = CreateObject("WScript.Shell") objShell.Run "%COMSPEC% /k mp4creator -hint=1 test.3gp",,True objShell.Run "%COMSPEC% /k m...
1 5/25/2007 11:05:00 AM
HP iLO rollout scripting
I'm reading various documentations on scripting but I'm having trouble on where to start with applying concepts. I have 40 servers that I have to implement/enable HP's Integrated Lights-out (I & II) on. With the exception of scripting IP addresses, which I will do manually, what steps will I have to go through to begin scripting the roll out? If you can help me with anything more than...
1 5/24/2007 4:39:00 PM
Network drive mapping
I need a script that I can use for mapping network drives at the group policy level (via) group object>user configuration>windows settings>logon I'm a Desktop Tech, turned Sysadmin, so bare with me.... Thanks,...
3 5/24/2007 3:38:15 PM
2000 to 2003 Migration - User accounts in both domains.
Scenario: 1. DomainA: Contains all user, computer, server (except as noted in Domain B) accounts. 2. DomainB: Containers Exchange servers & voicemail (Cicso Unity) servers. Each user that has email (most of them) also has a disabled account in this domain. Same username in both domains. 3. A & B are trusted. 4. Each user's DomainA account is given Read, Full, Associated External Ac...
1 5/23/2007 9:17:07 PM
Connect to Printers in a Specific Location error
I am trying to use the script found at http://www.microsoft.com/technet/scriptcenter/csc/scripts/print/printer/cscpr012.mspx The script does remove all previously installed printers but then errors out: Windows Script Host Script: printlocation.vbs Line: 65 Char: 1 Error: The printer driver is unknown Code: 80070705 Source: Null I am rather new to scripting, especially vbs. Than...
2 5/23/2007 7:28:00 PM
Antivirus Check in Login Script
I got this link from MCPMag.com http://mcpmag.com/columns/article.asp?EditorialsID=1768#post For all of my remote users I'd like validate that some form of Antivirus is installed and uptodate before they are validated to login. Would using a PowerShell Script be the best way to do this or is there a better way using AD? With a PowerShell Script would it be able to return these types...
2 5/23/2007 5:48:02 PM
Retrieve user attributes by SamAccountName
Can anyone tell me how I can access user attributes (FullName, CN, Mail, Manager, Domain Controler, etc) by querying SamAccountName rather than CN? I.E. Instead of doing: 'Set objuser = GetObject("LDAP://cn=Dan Zschomler,ou=Users,ou=Durham,ou=sites,dc=americasdc=Local") Is there a way to do: 'Set objuser = GetObject("LDAP://SamAccountName=dzschomler,ou=Users,ou=Durham,ou=sites,dc=am...
3 5/23/2007 4:10:40 PM
Counting Files
Hello Groupies, i would like to find files an delete them, if they exists. the syntax for the files is FILE*.txt. if i try to use the if exists syntax i get the error message, that the file does not exists. i think its because of the * maybee i can solve the problem, when i count all files FILE*.txt and if its more then 0, i delete FILE*.txt Can someone tell me how i can count the ...
11 5/23/2007 9:39:49 AM
Trouble with login script
I am having trouble figuring this out, could someone help me. I wouldn't doubt that I way out in left field. Any help would be appreciated, Dave \\SERVER\Clients\Setup\setup.exe /s SERVER Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName Set objUser = GetObject("LDAP://" & strUser strUserName = objUser.samAccountName strOUPath = objUser.Parent ar...
6 5/22/2007 3:27:01 PM
List - computer created date in AD
Hi , I am new to scripting. How to List of computer with created date for only windows 2000 and 2003 servers. I created script but not working. Please do the needful. Thanks and Regards, Ranjan ------------ Const ADS_SCOPE_SUBTREE = 2 dtmCreationDate = "20001230000000.0Z" Set objConnection = CreateObject("ADODB.Connection") Set objCommand = CreateObject("ADODB....
3 5/21/2007 12:19:01 PM
Complex Group Query - Please help
Hello all, i really hope soemoen can help, I've got quite a complex need for a script, i'll do my best to explain it in simple terms. I need a script that can do the following. 1. Display a prompt for a user ID to be entered 2. Find all the groups that user is a member of 3. Query each group against a comparison table (SQL table, text file, excel spreadsheet - which ever is easiest ...
9 5/19/2007 3:43:25 AM
Obtain list of DC's in current domain (local)
I want to run a script against just the DC's in the local domain or the current machine if none detected. My vbscript (wrapped inside an HTA) currently runs against "localhost" or "." and I have to run it from each machine manually; it only gathers information (does not change anything). I want to be able to run it from one of the DC's (as a domain admin), have the first part of the scri...
2 5/19/2007 3:00:56 AM
Logon Script Samples
I have found myself responsible for administering a small lab network with a server running Windows 2000 server. Does anyone know of any good online logon script samples for doing things like automatically mapping network drives, etc? It is pretty much a stock machine without any scripting tools (e.g. kix32 (?)) added. Any ideas will be greatly appreciated! Thanks in advance! Don ...
5 5/19/2007 12:47:19 AM
A script to force a USB device to a drive letter
Is there a script for forcing a removable storage device like a USB drive to always be a particular drive letter when a user plugs it into a Server? I find that in Windows 2003 standard R2 if I plug in one of 5 usb drives I have then at some point the server will assign the drive with a different drive letter! Which isn't so good for designing backup scripts! I've looked at 'diskpar...
2 5/19/2007 12:30:46 AM
Create shortcut for a drive letter (c:) with batch file
Is there a way to create a shortcut of a drive letter (c:) with batch file? I tried with this "http://www.ss64.com/nt/shortcut.html" but nothing happend! ...
4 5/18/2007 3:22:46 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