|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Disable Client for Microsoft Networks
Richard -
20 Oct 2006 10:04 AM - 4 messages
I am writing a VBScript that disables or/and uninstalls Client for Microsoft Networks. It seems that Netsh.exe cannot do the job. Does anyone have any idea? Regards, Richard ...
searching users through the whole domain
nobbyvo -
20 Oct 2006 3:55 AM - 2 messages
Hi, I´m searching for a possibility to print out all users of a domain. Our Domain has a structure with several containers. Each container has 2 subontainers (computers and usr). All our users are in the subcontainers usr. ...
Find OS Version
Lion -
19 Oct 2006 8:49 PM - 6 messages
This is the script that I run when at user login, Set WshShell = WScript.CreateObject("WScript.Shell") If weekday(date,vbTuesday)=1 Then WshShell.Run "notepad.exe" End if How can I make it check the OS first then run like ...
Adding users from other domain to global group
Yorick -
19 Oct 2006 8:01 AM - 3 messages
I am trying to create a script which is able to add users from another domain (and other forest) via a domain trust to a global group on my own domain. I have created the following piece of script for testing, but it does not work: ...
Error in running a .bat file from service
84.jain -
19 Oct 2006 6:37 AM - 2 messages
Hello All, I have a problem! I have created a service appplication and also a .bat file to disable few services that are not used by me. The service application works fine and also .bat file works perfectly if i double click on that. ...
ANN: NetServerEnum.dll 1.0
Bill Stewart -
18 Oct 2006 10:36 PM - 2 messages
NetServerEnum.dll Home page: [link] NetServerEnum.dll is an ActiveX automation object (aka COM component) that implements the NetServerEnum Win32 API. It requires Windows NT 4.0 or later, and the source code is provided. ...
runas command - saved credentials - how does one "save" the credentials?
Bruce Sanderson -
18 Oct 2006 7:37 PM - 2 messages
The help for the runas command (runas /?) describes the /savecred option as "to use credentials previously saved by the user.". Well, perhaps my ignorance is showing, but: 1. how does one "save" credentials for use by this option? 2. does credentials mean exactly domain name, username and password? ...
JScript and GetStringValue
stu -
18 Oct 2006 4:13 PM - 2 messages
Can some please explain why I cant read the registry setting using this code. The variable value returns undefined. The vb version of the code works. var HKLM = 0x80000002; var Path = "SOFTWARE\\Microsoft\\MSSQLServer\\Setup"; var Name = "SQLPath"; var Value; ...
how to output a file and send as email
How -
18 Oct 2006 3:56 PM - 5 messages
Hello, I have a vb script that send out email with attached a file as below. So right now i would like to output the file in the mail content rather then attached a file. Any precious advice? Set objEmail = CreateObject("CDO.Message") ...
Logon script not working when applied in AD
Jason -
18 Oct 2006 2:21 PM - 3 messages
Hi, I have a logonscript that works fine when applied to a user in AD. However if i use a GPO and link the same script to the users OU it fails. The script is supposed to copy some files to the users homefolder. The copying works ...
Local Time
Carlos Felipe França da Fonseca -
17 Oct 2006 8:38 PM - 5 messages
In Script Center website, I've got the following script to get the local time: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_LocalTime") For Each objItem in colItems ...
Add Global Group To Local Administrators Group via Script
anthonyfellows -
17 Oct 2006 5:51 PM - 2 messages
I'm using this batch file to add a global group to the local
administrators group. net localgroup Administrators "DOMAIN\GROUP" /ADD I have over 200 pc's to add one group to ... Is there a way to do all
of them at once? I need for each pc to write success/failure to an
output txt file that is in a central location for tracking purposes. I
can't push them out via GPO because I don't have domain admin rights.
Anyone know of a good trackable way to do this? ...
eventlog / TargetInstance.Message
Geoff -
17 Oct 2006 5:19 PM - 2 messages
Hello all, I'm monitoring a eventlog for a certain event, which is working great, my question is how to get the message data returned by "TargetInstance.Message" to be all on one line ? TIA Geoff ...
HELP: AD OU Security
Z_Crawford -
17 Oct 2006 5:09 PM - 2 messages
Cool site, but I wanted to know how I can extract from an OU who is on the advanced security permissions list on an OUs properties (go to an OU, right click onto Properties>Security tab> Advanced button). I basically wanted to ...
Whos is using printer driver.
Jrex7 -
17 Oct 2006 4:54 PM - 2 messages
I am trying to delete a specific printer driver from a lot of servers. I have come up with at script to do this. However some servers come back saying that the driver is being used. Is there a tool or a script I can run on servers ...
Change details of all domain members
wf -
17 Oct 2006 4:02 PM - 6 messages
Hi, Our company's just undergone a rebranding, so now, where for example our Active Directory displayName is Surname, Forename (Old Company Name) it now needs to be Surname, Forename (New Company Name). Looking through all the User attributes, there's a number of places where ...
Account expiration list
simisa -
17 Oct 2006 9:36 AM - 4 messages
Hallo all ! I need a script for w2003 r2 domain This script must create a text file or excel with: Account | expiration date (date when the system ask to change the password) Is it possible ? Thank you and sorry for my english! ...
Bug?: Ctrl-C causes PowerShell to Exit
JimF -
16 Oct 2006 6:46 PM - 6 messages
I am not sure if there is a more appropriate group or place to post potential bugs, so I will drop this off here. I have found a consistent way of getting PowerShell to exit abnormally (at least on my Windows 2003 R2 computer). ...
addprinter
Steve -
16 Oct 2006 5:58 PM - 4 messages
cannot add printer. the below does add the port 192.168.2.20 and when doing th adddriver i get a result = 0 so i assumed it adds printer. however the printer never shows up in the printer list. why? thanks ...
IPAddress, getting specific
Zamdrist -
16 Oct 2006 4:14 PM - 3 messages
I can retrieve an IP Address no problem with this code. The only issue is on our network we have a variety of desktops & laptops. Some of the laptops may have more than one adapter however, wireless and what not. ...
XCALCS.VBS and archive bit
edavid3001 -
16 Oct 2006 2:04 PM - 3 messages
Is there a way to have XCALCS run without modifying the archive bit? I want to make some global changes on a server, but I am finding each time I do this that every file gets backed up each day. ...
|
|||||||||||||||||||||||