|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
Logging in
Looking for help. -
13 Aug 2005 4:45 PM - 3 messages
I am trying to find a script to give a log in prompt, and then once that script runs trying to have it map a few network drives. This is for a class that I am taking in college and everything I seem to ...
Copy file script
Ben -
13 Aug 2005 4:29 PM - 2 messages
Is there a way to copy only the most recently modified or created file(s) to anther directory. I have a directory with backup files in it and I want to copy the mose recently created or modified backup file to another directory ...
Simple AD shell script - discover usernames
Martin Jones -
13 Aug 2005 9:58 AM - 10 messages
Hi, I'm trying to create a script that takes a txt list of users full names, and does a dsquery to find their username. Txt file layout : smith, john jones, taffy ....etc Script: REM Pass Users Full Name to this batch (format: surname, firstname) ...
Global question
Vitali V -
12 Aug 2005 10:38 PM - 4 messages
Just in case for logon scipt, what language the best to use, I mean: batch VBS Perl Which one is more powerful? For example for basic things: map network drive connect printer may be update some files on a workstations ...
Is users logged in to domain and what machine?
Scott_FH -
12 Aug 2005 7:50 PM - 3 messages
I have a 2 part question that I am having no luck with. 1. I am trying to figure out some way to find out if a users is currently logged in to the domain 2. and if they are what is the workstation(s) (or ip) they are logged in to. ...
VB problem rebooting w2k3 servers.
Tom E @ NG -
12 Aug 2005 7:42 PM - 3 messages
I put together a VB script that remotely reboots a list of servers. This script has been working well for all versions of windows nt through 2000. However, windows 2003 servers seem to ignore the reboot request. Is there ...
reinstalling vbscript 5.6
matthijs -
12 Aug 2005 7:22 PM - 6 messages
Hello All, I accadenttly installed the wrong version of vbscript. (Microsoft Windows Script 5.6 (Windows 9x, Me, NT4) [link]) Now when i try to install the other version (for winXP and 2000), the ...
Server reboot?
Andrew Madsen -
12 Aug 2005 4:23 PM - 2 messages
I have asked this in the VBScripting group but thought I would post here as well: I want to power down a group of servers and reboot a different group and I was wondering if there was a script for it? ...
evaluate OU from login script
AdminKen -
12 Aug 2005 3:23 PM - 5 messages
Is there a way to evaluate the OU of a user/computer in a log in script (.bat or .vbs)? I would like to create a common login script for all my users instead of having a different script for every OU but I would need the ...
Writing Binary value to Registry in VBA
NickH -
12 Aug 2005 2:19 PM - 1 message
Hi, I want to create a new binary value in the Registry under HKCU\Software\Microsoft\Office\11.0\Outlook\Categories. In essence, I want to take a subset of the Outlook Categories from MasterList and write a similar value named WorkList. ...
Cannot retrieve Win32_SecurityDescriptor
Scott Holman -
12 Aug 2005 1:57 PM - 1 message
In the script below the call Services.Get("Win32_SecurityDescriptor") fails with error: 'Not Found' Code: 80041002 Source:SWbemServicesEx on my Server 2003 standard edition with sp1. The same script functions correctly on my XP pro machine. The MSDN documentation for this WMI class indicates that it ...
How to distribute hotfix using script?
Tariq Ziad -
12 Aug 2005 11:37 AM - 1 message
Dear all, I have posted a question regading distirbuting a hotfix in the Windows Update discussion newsgroup. Mr. Torgeir Bakken advised me to do that using a startup script. The hotfix that I am planning to distribute is the one explaned through ...
Disabling network Card
NH Prasad -
12 Aug 2005 9:04 AM - 1 message
I want to disable network card on remote machines which are in same windows domain. Is there any script available please..Thanks ...
Error code 0x80041003
Toan Do -
12 Aug 2005 9:03 AM - 4 messages
Hi all, When logging as local administrator, I can add some instances in my MOF file to WMI repository successfully. But when loging as an domain account (that belongs to local administrators group), I cannot. In %windir%\system32\wbemlogs\wbemess.log, I see "Error Code 0x80041003". ...
Populate email attribute in AD
Ringo -
12 Aug 2005 1:44 AM - 6 messages
I would like to have a script that I can use to populate email field found on the General tab if AD user account properties. There are about 500 users in an OU whose email field needs to be populated. The email should be in a ...
Script to determine OS version domain wide
Chris -
11 Aug 2005 8:41 PM - 5 messages
I'm looking for a script to report back on the OS version for all workstations on a single domain. Ultimately, I'm trying to determine which XP workstations have not been patched to SP 1. Thanks! Chris ...
Script that can message re-format and send <PLEASE HELP>
Aidan C. -
11 Aug 2005 8:09 PM - 1 message
Hi, We have a perl script running on Sendmail unix server. The script essentially poles messages stored in the outbound queue for certain text contained in the subject. If the text is found then the script will proceed ...
run a script that cant be closed
Fabrussio -
11 Aug 2005 7:41 PM - 3 messages
Is it possible to run a .bat script (from the machines local c:\ drive) that users can not close? Or is hidden? I use the 'start /min' command but students tend to close the window? thanks ...
Is it possible ping a server and notify users by email....
Mugen -
11 Aug 2005 6:58 PM - 4 messages
Hi, We are running Windows 2003 AD w/Single domain here. One of our member server is Windows 2000. I was wondering is it possible to create a script schedule job (AT) to ping a remote and notify users by email if the remote ...
robocopy
Roundy -
11 Aug 2005 4:51 PM - 1 message
Is it possible to script the use of robocopy, I would like to create a batch file or something of the like for creating new job folders so I can copy the folder and all of the permissions as well. Basically I would have a blank ...
Send Alerts to Pager
Erasmo -
11 Aug 2005 4:28 PM - 1 message
I'm trying to figure out how to create a vbscript to send a alphanumeric message to a pager. Does anyone know how? ...
GetProcessAffinityMask and SetProcessAffinityMask in scripts?
Sridev Raghavan -
11 Aug 2005 3:55 PM - 1 message
Hi, Has anyone used GetProcessAffinityMask or SetProcessAffinityMask in a script? [link] Is it possible to import functions from Kernel32.dll (winbase.h) in a VB ...
SubInACL Script
Mike -
11 Aug 2005 4:26 AM - 3 messages
I have a group of folders that I would like to run the subinacl command on. I think I need a script that read the folder name, passes this to the command then repeats for the next name. Heres the set up: ...
Shutdown Script
Woon Ping -
11 Aug 2005 3:15 AM - 11 messages
I use the script that provided by microsoft technet by I receive an error when I try to run. The script that I use is as follow, and it give me this error message. May I know why. Thank You ...
SQLplus script problem under Windows shell
working2hard -
11 Aug 2005 2:42 AM - 1 message
Hi there, Has anyone experience problem running a sqlplus batch script under
win2003 dos shell. I can schedule a script to with ask scheduler to run
within 30mins after I logoff from Windows. It would run fine in the
background as a system process. However, the job would fail when I
schedule it for midnight or 5 hours later. I get an error ora-12560 TNS
protocol adapter error. I tried setting the oracle environment (like
oracle_home) in the script and Windows registry, but get the same
results. I also checked the sqlnet.ora parameter and set the
sqlnet.authentication_service to none. ...
ID a Unix server via a script?
MFelkins -
10 Aug 2005 7:19 PM - 1 message
Hi, I am frequently given lists of servers to run one of my handy dandy scripts against. Thanks to all of you, I can do a lot of things with scripts that other can not. One thing I can not do, so far, is identify any of the servers as ...
How to get driver version
Johnny -
10 Aug 2005 5:16 PM - 2 messages
Using the PnP driver script, [link] I tried to amend it so that only the network drivers shows. How is this done? Where can I find information on the syntax on the for loop? I am ...
Install MSI remotely - problem
MMMMM -
10 Aug 2005 3:36 PM - 7 messages
I have an MSI install file that I want to install on a remote machine. I have full admin rights on the remote machine. If I place the MSI in a shared drive (everyone has read access to this shared drive), isn't there a way with VBScript that I can just execute ...
Script user account, copy profile, add to domain
Emma -
10 Aug 2005 3:29 PM - 1 message
I do not know if this is the right forum to post this. If it is not, please advise. I have a default user profile currently setup on some XP and 2000 workstations. I am looking for a way to do the following: ...
Scheduled Shutdown Win2k3
Mike -
10 Aug 2005 11:05 AM - 3 messages
I'm trying to schedule a shutdown of a Windows Server 2003 Standard (SP1, console logged in and locked). I can't seem to get it to work? Using task scheduler gives the "0x4f7" as the result code when running: ...
script to change IE Proxy
William Hymen -
10 Aug 2005 3:15 AM - 1 message
I'm looking for a scripted soulution to change the company proxy and exclusion list: Connections -> LAN settings -> Proxy Server [advanced] [exceptions]; And another script to "uncheck" all that and enable "Automatically detect settings" Thanks to much in advance. ...
How to get user name using the computer by computer name?
James Pang -
10 Aug 2005 12:22 AM - 4 messages
...
ping subnet
charles@home -
9 Aug 2005 11:54 PM - 6 messages
Hello everyone, this is my first post. I am new to the programming world of vbscript. I am try to ping more than one IP at a time, currently I can ping a group of ips using a loop but this is slow. How can I create multiple ping ...
Perform find and replace in a word document with scripting
Mehul Pandya -
9 Aug 2005 8:35 PM - 1 message
I am using visual basic to do scripting and have a need to open a word document, find certain word and then replace it. Can anyone help here please? Thanks and Have a great day! ...
HTA & PERL
barkeg -
9 Aug 2005 6:02 PM - 4 messages
Can an HTA app use PERL instead of VBscript? ...
login script in win2k domain
Rob -
9 Aug 2005 5:52 PM - 7 messages
i have a bat file that runs for non admin users that maps printers and drives, it first disconnects all drives and then reconnects. my problem is, its failing to map some drives sometimes. i cant seem to figure out why it would work sometimes and not others. ...
variable help in vbscript
sleepy -
9 Aug 2005 4:15 PM - 2 messages
HI all i'm trying to read a text file then display the results in a msgbox but i'm havein trouble useing a variable what i'm doing is reading a txt file then i need a variable to put the text into a msg box here is example of ...
Extracting Numerical Values from a Text File
d_mc_alister -
9 Aug 2005 3:54 PM - 3 messages
Hi There At work we download text files with financial Account information in them. Althought the format of the files are constant and the provider of the files have provided a guideline of how to read the files, it is ...
WMI filter for IPAddress
future_retro -
9 Aug 2005 2:32 PM - 4 messages
Hi all, I can't query the win32_networkadapterconfiguration setting as the IPAddress is an Array. As far as I'm aware I can only use WQL queries and not full scripts to filter. Could someone confirm this for me, ...
Logon script
Bert -
9 Aug 2005 1:58 PM - 2 messages
Hi all, I am creating a logon script in vbs. I want it to delete the hostfile, and then copy one from a share like the NETLOGON. Anyone who can give me an idea how I should do this? Thx ...
GetDCSiteName
MartinDBaker -
9 Aug 2005 9:44 AM - 1 message
-That's great! Works fine. Many thanks!!-
--
MartinDBaker
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
how could I get all the computer name in a group which are running?
James Pang -
9 Aug 2005 3:33 AM - 2 messages
how could I check if "i" is on ? Set objGroup = GetObject("LDAP://cn=GroupName,ou=Groups,dc=domain,dc?com") mem = objGroup.member For i = LBound(mem) to UBound(mem) Wscript.echo mem(i) Next ...
Stopping Processes - Permission Errors
Martypi -
8 Aug 2005 3:48 PM - 2 messages
I need to stop a set of processes periodically. The snippet of code that I'm using to try and kill the processes is: Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & cComputer & "\root\cimv2") ...
Script not work with server 2003
Mohamed Abd El-Raheem -
8 Aug 2005 3:32 PM - 3 messages
Why the following script not working with Windows server 2003 although it run with Windows 2000. When I run the script I get the error code"80041010". The Script is for enumerating Installed software. The script as follows: Set objFSO = CreateObject("Scripting.FileSystemObject") ...
login script after setting up vpn connection
kris houben -
8 Aug 2005 12:38 PM - 1 message
Hello, we have setup vpn access towards our 2003 server i want to run a login script after users make a connection to the 2003 server over vpn from their home computers. this script should map the p: drive to their personal folder (which is under ...
vbscript to change IE Proxy
William Hymen -
8 Aug 2005 12:16 PM - 5 messages
I am looking for a hard coded vbscript to plug in the company proxy and exclusion list: Connections -> LAN settings -> Proxy Server [advanced] [exceptions]; And another script to "uncheck" all that and enable "Automatically detect settings" We are having problems supporting home ...
Adding disclaimers to email via script
JenC -
8 Aug 2005 10:43 AM - 1 message
Hi, I need to add a disclaimer to email via script to outgoing email on an Exchange 2003 server. Would anyone know of any links or information on the best way to do this? Any help/advice would be much appreciated. ...
CSV/Excel Sync
Y m P -
8 Aug 2005 7:12 AM - 1 message
I want to Synsh two CSV/excel file such as the common objects/rows should go to third file and uncommon objects/rows should got to 4th file through vb scripting Could any one provide the script or the source website ...
ODBC DSN
Bob Trapp -
7 Aug 2005 8:40 PM - 2 messages
I know that ODBC is out of date, but I need to create an ODBC source with scripting. I use VBScript to create enter all the register values. This only works if someone has previously set up an ODBS data source name on the ...
Close Established Connections From Command Line
לורן שייפר -
7 Aug 2005 6:13 AM - 1 message
Hi Everybody ! Win2003. Does anybody know of a utility (Microsoft or 3rd party) or some script (vbs\wsh etc) that will allow an admin to close ESTABLISHED connections FROM THE COMMAND LINE ? Netstat output example: Proto Local Address Foreign Address State ...
|
|||||||||||||||||||||||