|
Mouse equivalent for sendkeys
Is there a sendmouse command like sendkeys?? Im trying to send mouse commands
much like i am able to send keyboard functions and commands. IF this is
possible where can i go read about how to do it or what command can i use to
do this??...
|
2 |
24.04.2007 11:47:26 |
|
WScript error
I am trying to learn to do windows scripting correctly.
Win I run the following code on the xp machine i get this error:
Script: C:\test.js
line: 1
Char: 5
Error: Expected ';'
Code: 800A03EC
Source: Microsoft Jscript Compolation Error
The code is the following:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("mmc.exe")
i have wsh 5.6 installed on this xp mac...
|
2 |
23.04.2007 17:00:02 |
|
Outllok 2003 Signature script
I came across the script below in an issue of TechNet and have been testing
it ever since so that I can actually use it. I'm not very familiar with
scripting, but from playing with the code in this was able to figure out what
is what. I would like to tweak it to do a couple more things but have not had
much luck figuring these options out. If possible I’d like to have the e-mail
addres...
|
2 |
23.04.2007 15:13:26 |
|
Connecting and binding to an AD domain from within a NT4 domain
Hi there,
I try to understand the follwing script:
Set oRoot = GetObject("LDAP://sinai.local/RootDSE")
MsgBox oRoot.Get("defaultNamingContext")
doesn't work when I run it with an NT4 user account, on the command line of a NT4 computer account. The MsgBox display that the domaine is not operational.
"sinai.local" is an AD domain, having a bidirectional approval relation with the curren...
|
2 |
23.04.2007 14:00:54 |
|
how to note down files modify or remove action?
How to note down when ActiveDirectory user Create/Modify/Remove file on
server by WScript
now i use Auditing Policy to do the same thing,but i hope do that by wscript
and write the log to database.
please excuse me i am not good at english,hope can understand what i
meaning.
...
|
6 |
23.04.2007 05:12:01 |
|
How to ping multiple hosts via a script
Hi all.
I have some T1's that go over copper and Microwave.
I have devices that have both a copper span and a microwave span.
Our present tools have no capability for watching our T1's so in order to
try to identify if it is copper spans, or microwave spans, I am looking to
periodically ping my devices over a long period of time(say 6 hours or more)
and have the results sent to a file I c...
|
9 |
23.04.2007 05:01:15 |
|
create AD-PC-Account with given GUID per script
Hello,
is there a way to create computer accounts with given GUID's (by the
Hardware-Dealer) with a script?
--
thx,
Jens
--
...
|
2 |
23.04.2007 01:50:02 |
|
Login script not executing for WinXP SP2 clients!
On Win2003 Srvr assigning a login script via Group Policy that maps a drive
as follows:
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "M:" , "\\srvr1\mt4"
To assign I do the following:
1. Right-click on container and choose "Create and link a GPO here..."
2. Give name "mapdrive" and press OK.
3. Right-click "mapdrive" GPO object and choose Edit.
4. Navig...
|
3 |
22.04.2007 14:02:01 |
|
Login.cmd scritp doesn't run when user logon
There is a login.cmd script supposes to run to create network drives when
user logs on. The network is consist of 25 staff and few remote sites. User
logins in the morning successful without problem but the scripted network
drive doesn't appear in my computer. I believe is login using the cache
credential. Not sure what is happening there. Some people has not problem
and some people...
|
4 |
22.04.2007 06:13:06 |
|
script to copy user profile!!
hello everyone,
i am migrating users from one domain to another and have decided to
manually copy user local profiles to new domain. im using admt to
migrate user accounts only to new domain nothing else..i have created
a script pasted below. when i run this script it makes all relevent
directories but dosn't copy any contents from user's directories.
whats missing help!!
thanks in ad...
|
6 |
22.04.2007 02:41:43 |
|
Copy File to user's profile
I need to copy a config file to each user's Documents and Setting/Local
Settings. This is what I have so far,
Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\Server\Share\LinkConfig\Config.ini" , "C:\Documents and
Settings\%USERNAME%\Application Data\LinkConfig\", OverwriteExisting
My main problem is getting the file to copy ...
|
2 |
21.04.2007 02:12:22 |
|
Win32_PerfRawData_PerfNet_Server.BytesReceivedPersec interpretatio
Hello to all:
I want to get using vbscript the average traffic in bytes per second from a
network card in a windows 2000 server and each time that I read the
BytesReceivedPersec from Win32_PerfRawData_PerfNet_Server class I get a
higher acumulative value. How can I interpret this? I mean, can I substract 2
samples and divide it by the time between the samples and to say that this is
t...
|
1 |
20.04.2007 20:26:02 |
|
Copy file with scheduled tasks
trying to create a scheduled tasks to copy a file from a remote server to a
local server.
I've mapped the drive to the remote server as Y:
Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "Y:\Source\MyFile.txt" , "D:\Destination\",
OverwriteExisting
The file seems to copy, the file sizes match up, but when you try to open
the fi...
|
1 |
20.04.2007 15:38:32 |
|
How to ensure login script runs on client?
Need help understanding what security setting prevents my client login
scripts from running on WinXP SP2 workstations. When I run it manually I get
a security window that warns it cannot determine if it should be run, and
prompts me whether to allow it to run or not.
What setting do I clear to allow my login scripts to run?
TIA
rich...
|
8 |
20.04.2007 13:48:01 |
|
Login Script
Does anyone know of or have a script that i can use to display a login
message after sucessfull login? or example Welcome %DOMAINUSER%i am guessing
it is done in .vbs if so i need to get a rnage of scripts done that can work
on a per user basis for drive mappings and printer mappings etc also to
initiate redirects of history folders and cookies. could someone point me in
the drection as ...
|
5 |
19.04.2007 23:53:33 |
|
Getting started with Windows scripting
Hmm...wasn't sure if I should post this here or not, but figured I
would give it a shot.
I have always wanted to get better with scripting. I understand the
basics and have done some real basic scripts (logon/logoff stuff), but
nothing to where I feel I can say that I can 'script'.
I have never really been in a position to really do something that
required scripting.
With that, what a...
|
3 |
19.04.2007 20:35:24 |
|
find and replace to make new files
I have a project I need some help with.
This has to do with an internal security policy.
I need to take the existing, known working policy, find a the user's e-mail
ID and replace it with a new user's e-mail ID and finally name the file with
that user's Network logon ID.
I would be able to create a datasheet (ie in Excel) with the necessary
information...I just don't know the scripting th...
|
1 |
19.04.2007 18:44:40 |
|
Drop-down list on Active Directory
I used this script to give all users the same postal address.
Option Explicit
Dim adoCommand, adoConnection, strBase, strFilter, strAttributes
Dim strQuery, adoRecordset, strDN, objUser
' Setup ADO objects.
Set adoCommand = CreateObject("ADODB.Command")
Set adoConnection = CreateObject("ADODB.Connection")
adoConnection.Provider = "ADsDSOObject"
adoConnection.Open "Active Direc...
|
2 |
19.04.2007 18:07:57 |
|
exchange 2003 mobile services
Can anyone tell me of a script that will check to see if the Exchange Mobile
services on a user account is enabled/disabled.
thanks...
|
1 |
19.04.2007 14:06:03 |
|
detect a remote machine is reachable or not through vbscript
can anyone tell how can detect a remote machine is reachable or not through
vbscript.
many thanks for any advice.
--
Golden_au...
|
2 |
19.04.2007 13:03:33 |
|
Shutdown a virtual server
Hi,
If I use the vbs script to shutdown a virtual server 2003 (see also
http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true)
the Guest system doesn't shut down, because on the console there is a
messages bos with question:
"Application popup: Windows : If you shut down this remote computer, no one
can use it until someone at the remote location manually restarts...
|
1 |
19.04.2007 11:32:03 |
|
How to check whether the server is up in VBScript
Please do tell me how to check whther the url or the webserver is up and
running using VBScript
Thanks,
Jerry...
|
2 |
19.04.2007 02:13:56 |
|
Determine last login time for a user on a Terminal Services server
I have a Windows 2000 server that I want to determine the last time a
user logged into it. I have found some scripts that query the domain
but this has all users, not just the ones i am looking for.
Any suggestions are greatly appreciated.
CB
...
|
3 |
19.04.2007 02:06:25 |
|
Shutdown script doesn't do anything
I have a Windows 2k3 Active Directory in native mode and Win2k and XP
clients. I have written a vb script that will detect a drive mapping
to U: and if it is there, replace it with a new mapping or add the
drive mapping if one does not exist. I tested the script and it works
if I run it when I'm logged into windows as a user with very little
network access. When I try to run it as a shutdo...
|
5 |
18.04.2007 19:09:51 |
|
restoring sql with VBscrip
I am trying to find a way of restoring an SQL database with a VBScript.
I found everything for backup and no topics, articles or examples for the
restore process.
If some one could help??! Thanx!...
|
5 |
18.04.2007 19:03:42 |