Scripting Questions


how can i edit names.nsf with C#
I am looking to edit the Sametime server that is located in the names.nsf file programmatically with C#. I’m not sure how to go about this. Does anyone have any information about this? thanks!

Answer Question   |  August 21, 2008  3:58 PM
C#, Lotus Sametime, Names.nsf, NSF, Scripting
asked by:
5 pts.

Built in users
I need to write a script to find if there are any built in users or local accounts on a Windows XP machine. Is there any information in the registry regarding local or built in user accounts? Thanks, Jyothsna

Answer Question   |  August 5, 2008  8:19 AM
Registry, Registry Script, Scripting, User accounts, VBScript, Windows scripting
asked by:
30 pts.

SQL Query
I created a SQL query to restore several databases from a remote location to a test environment. I would like to add a check in the script so that it will not run if connected to certain servers so production databases are not accidentally overwritten

Answer Question   |  July 10, 2008  6:34 PM
Database backup and recovery, Scripting, SQL Query
asked by:
5 pts.

VBS Script to identify Local Admins only on SERVERS
I’m an auditor, and I like to know things like: are there local IDs on servers? Are those local IDs also in the administrator group? Not only that, I need to hand this script out to various admins, so I can’t specify one domain name in the script. So, first I need to get the [...]

Answer Question   |  June 27, 2008  12:36 AM
Scripting, Security, VBScript, Windows scripting
asked by:
75 pts.

Migrate Power users to user
How can I Migrate all user accounts in Power users Group to the Restricted Users Group. This must be via VbScript or DOS Bath. Thanks.

Answer Question   |  November 25, 2008  4:12 AM
Active Directory, DOS Batch, Migrations and upgrades, Scripting, VBScript
asked by:
10 pts.

Creating logon scripts for specified users
I am running windows 2003 server. My company is in the process of becoming PCI compliant, I am look to tighten up security as far as accessing programs internet and so on I was told the best place to start would be to creat a post logon script that is ran when all users login, [...]

Answer Question   |  June 25, 2008  8:00 PM
Login scripts, Logon, Scripting, Windows Server 2003
asked by:
5 pts.

Is Powershell alone enough for managing Active Directory?
I am a Senior Active Directory/ Messaging engineer working for IBM. In the past I never had to learn scripting, but with Exchange 2007 and new Windows 2008, it is becoming necessary for people like me to learn the scripting language. My question is, do I have to learn both Poweshell and VB script to [...]

Answer Question   |  June 23, 2008  7:25 PM
Active Directory, Exchange 2007, PowerShell, Scripting, Scripting languages, VB, Windows Server 2008
asked by:
0 pts.

Using DTS objects for scripts to alter SQL Server password
Is it possible to use DTS objects to create scripts to alter the SQL Server password I assigned when I installed the server?

Answer Question   |  June 9, 2008  3:22 PM
DTS, Scripting, Scripts, SQL Server
2,585 pts.

folder creation in login script
How to create a login script which will create users personal folder automatically in server.

Answer Question   |  March 19, 2012  9:15 AM
Login scripts, Scripting, Windows scripting
asked by:
5 pts.

OWA permission attribute in AD
I need to set up a massive enabling OWA permission in vbs or anyother lang. What is the attribute to set in the active directory to enabling OWA access??? Do you have any script as example??

Answer Question   |  May 21, 2008  6:15 AM
Active Directory, Outlook, Outlook Web Access, OWA, Scripting, VBScript, Windows scripting
asked by:
5 pts.

Script to delete old log files on Win server 2003
Hi all, looking for a script or batch file that I can call from schedule tasks that will delete some older symantec log files that keep filling up my c: drive. Any suggestion or pointers would be appreciated. thanks in advance paul

Answer Question   |  April 20, 2011  2:31 PM
Batch files, Scripting, Windows scripting, Windows Server 2003
asked by:
130 pts.

what is refactoring
Our company has a project defined as “AppWorx Upgrade and Script Re-factoring”. what is refactoring of a script?

Answer Question   |  May 5, 2008  5:14 PM
Development, Refactoring, Scripting
asked by:
10 pts.

How can I create a registry script file that I can distribute through Group Policy?
How can I create a registry script file that I can distribute through Group Policy? I want this registry key to be added using GP. I want the script to: reg add HKCUSoftwareMicrosoftOffice11.0WordOptions /v NoReReg /t REG_DWORD /d 1 If I saved this as a reg document and try to run it, I get Can [...]

Answer Question   |  May 8, 2008  4:38 PM
Group Policy, Registry, Scripting, Windows Registry, Windows scripting
asked by:
110 pts.

Need vbscript that can pop up alert when services go down on a remote computer
Hi, I have tried many scripts at my local machine. It gave pop up when service for one particular application went down. But the same thing is not happening for the remote computer. Please look at the script below: strComputer = “.” Set objFirewall = CreateObject(“HNetCfg.FwMgr”) Set objPolicy = objFirewall.LocalPolicy.CurrentProfile objPolicy.FirewallEnabled = FALSE Set objAdminSettings [...]

Answer Question   |  April 22, 2008  12:24 PM
Scripting, VBScript, Windows scripting
asked by:
30 pts.

Automate telnet session
I am having access to POP SMTP and IMAP server. I need to give some set of commands every hour starting telnet session. Please let me know is there any way out to group all the commands in a script and run only that script which will perform all the desired result. I am using [...]

Answer Question   |  April 16, 2008  2:49 AM
Scripting, Telnet, Windows scripting
asked by:
15 pts.

How can I collect database/server information across multiple MSSQL versions.
I would like to collect database info(backups, databases, logins, etc) as well as server information ( MSSQL version, patch level, etc). I would like to use one server to collect information from all of my servers. I have MSSQL 7, 2000, & 2005 on Windows servers 2000 & 2003. I am also new to MSSQL [...]

Answer Question   |  April 8, 2008  6:09 PM
Database, Scripting, SQL Server, Stored Procedures
asked by:
20 pts.

Logon script to modifiy computer description to reflect username
Hi, as the title suggests we’re looking for a way to track whose logged onto what machine, and a simple script solution would be ideal, basically something to modify the computer description field to reflect the username or fullname of the logged on user. Thanks

Answer Question   |  October 12, 2011  4:56 AM
Login scripts, Scripting, User profiles, Windows XP
asked by:
15 pts.

How to monitor a file in windows for changes and run a program when it changes
I have a single text file that contains a 5 digit number of the last barcode scanned when a user enters a facility. How in Windows do I make a batch file that watches for the file to change then execute command? for example, the file is c:templastbarcode.txt

Answer Question   |  March 14, 2008  5:55 AM
Batch files, Scripting, Windows
asked by:
5 pts.

HOW TO INCLUDE LOG IN INFORMATION IN AN SQL SCRIPT
Please I have an SQL update statement which I want to put in an SQL script which users can run to update an oracle9i database running on a windows 2003 server.The statement is as follows: update jobs set JOBSTATE = 3 where APPID = 5 ; COMMIT; Exit I do not want users to be [...]

Answer Question   |  January 23, 2008  12:06 PM
Database, Oracle, Oracle 9i, Scripting, SQL, Windows Server 2003
asked by:
5 pts.

Looking for a script to enable XP ftp site.Thanks!
I am looking for a windows script/vbscript that can enable the FTP site inside XPserver2003vista,from installing IIS to enable annonymous user.

Answer Question   |  January 1, 2008  7:35 PM
Automation, FTP, Scripting, VBScript, Vista, Windows XP
asked by:
5 pts.