Command for auto reboot – Windows 7
I am trying to set up an auto-reboot script to reboot my Windows 7 workstations. I have the following command set up as a batch file and set up to run using task scheduler: shutdown.exe /r If I have an open document with changes that have not been saved, the command I have used will [...]
Answer Question
| April 19, 2013 1:39 PM
Reboot, Windows 7, Windows 7 Administration, Windows 7 reboot, Windows scripting
I am trying to set up an auto-reboot script to reboot my Windows 7 workstations. I have the following command set up as a batch file and set up to run using task scheduler: shutdown.exe /r If I have an open document with changes that have not been saved, the command I have used will [...]
Generating Windows events from the event log
Can I generate windows events that appear in the event log from scripts or batch files. For example from an Windows XP system call scripts that ping remote servers and on failure generate a event.
Answer Question
| May 2, 2011 5:35 PM
Batch files, Event logs, Remote servers, Scripts, Windows Batch Files, Windows scripting, Windows XP
Can I generate windows events that appear in the event log from scripts or batch files. For example from an Windows XP system call scripts that ping remote servers and on failure generate a event.
Script for notification of new files in network folder(s)
Hi, Does anyone know of a script to notify specific individuals on a network that a network folder has received a new file? The notification can be via email (exchange) or text to phone. Thanks
Answer Question
| January 25, 2011 5:56 PM
Exchange, Scripting, Windows scripting, Windows Server 2003
Hi, Does anyone know of a script to notify specific individuals on a network that a network folder has received a new file? The notification can be via email (exchange) or text to phone. Thanks
Email via Windows service recovery tab
on duty admin. How can we create a script to send an email that can be invoked from the services recovery tab?
Answer Question
| October 25, 2010 2:36 PM
Windows, Windows scripting, Windows Services
on duty admin. How can we create a script to send an email that can be invoked from the services recovery tab?
Windows script for users, files, access dates, and sizes (MB)
I am looking for a Windows script that lists users, files, last access dates and sizes (MB). I would like to be able to import the data into Excel for processing. What script will perform this function?
Answer Question
| May 4, 2010 7:13 PM
Scripting, Windows scripting
I am looking for a Windows script that lists users, files, last access dates and sizes (MB). I would like to be able to import the data into Excel for processing. What script will perform this function?
Creating folders using scripts?
I’m wondering if you have a script that creates a folder, which prompts the user to enter a name for that folder, and then automatically creates sub-folders with predetermined names.
Answer Question
| April 8, 2010 3:13 PM
folder options, Scripting, Windows scripting
I’m wondering if you have a script that creates a folder, which prompts the user to enter a name for that folder, and then automatically creates sub-folders with predetermined names.
logman -cnf option is not working for me
On Windows XP or Server 2003, I run the following command: logman create counter MyFirstPerfLog -o “c:myScriptsWindowsPerformanceMyFirstPerfLog.blg ” -v mmddhhmm -rf 24:00:00 -cnf -cf “c:myScriptsWindowsPerformancecounters.txt” The counter is created without any problem. But when I look at the properties of this counter, even though the option, “start a new log file”, under “when a log [...]
Answer Question
| December 11, 2009 9:25 PM
Windows scripting, Windows Server 2003, Windows Server Script Error, Windows XP
On Windows XP or Server 2003, I run the following command: logman create counter MyFirstPerfLog -o “c:myScriptsWindowsPerformanceMyFirstPerfLog.blg ” -v mmddhhmm -rf 24:00:00 -cnf -cf “c:myScriptsWindowsPerformancecounters.txt” The counter is created without any problem. But when I look at the properties of this counter, even though the option, “start a new log file”, under “when a log [...]
Windows Server 2003 Date Accessed information on files
I am trying to [strong]move[/strong] files based on the last accessed time of the file being 2 days, using Robocopy. I am using the /MOVE switch that deletes the file after it is copied. The script works but not on nearly as many files as I expected it to. In trying to figure out the problem, I [...]
Answer Question
| August 30, 2012 9:11 PM
Robocopy, Windows scripting, Windows Server 2003
I am trying to [strong]move[/strong] files based on the last accessed time of the file being 2 days, using Robocopy. I am using the /MOVE switch that deletes the file after it is copied. The script works but not on nearly as many files as I expected it to. In trying to figure out the problem, I [...]
Windows server 2008 moving child dir to parent dir script
Does anyone have a script i can use to move all the files from my child directories to the parent directory
Answer Question
| October 21, 2009 5:59 PM
Parent Directory, Windows scripting, Windows Server 2008
Does anyone have a script i can use to move all the files from my child directories to the parent directory
Search for Computer models in my Active Directory
Would Like to know how I can do a search in my Active Dirctory for computer models. Or a Script that can do the search on my Active Directory. Thank
Answer Question
| September 11, 2009 3:12 PM
Active Directory, Windows scripting
Would Like to know how I can do a search in my Active Dirctory for computer models. Or a Script that can do the search on my Active Directory. Thank
Writing a Script for Website
I am looking to see if it is possible to write a script for a computer that would automatically sign you onto a website and click a button and then enter a predetermined number into a box and then submit. I would need this done every time a certain section of a website changes. I [...]
Answer Question
| January 23, 2009 10:44 PM
Scripting, Web, Web development, Windows scripting
I am looking to see if it is possible to write a script for a computer that would automatically sign you onto a website and click a button and then enter a predetermined number into a box and then submit. I would need this done every time a certain section of a website changes. I [...]
VBScript
How can I use VBScript to copy the contents of a folder (including subfolders), but I only want it to copy new files/folders or ones that have been modified since the last copy.
Answer Question
| November 10, 2008 3:52 AM
VBScript, Windows scripting
How can I use VBScript to copy the contents of a folder (including subfolders), but I only want it to copy new files/folders or ones that have been modified since the last copy.
Issue SQL Query with Localized String through PowerShell
Hello, I am attempting to execute a an SQL query through PowerShell against an MS Access database. My query works 99% of the time, but occasionally a localized string will cause an error beacuse it contains a single quote (‘) somewhere within the localized string. You can look at the following example to get a [...]
Answer Question
| November 5, 2008 11:51 AM
Database programming, Localized String, Microsoft Access, PowerShell, Scripting, SQL, SQL Query, Windows PowerShell, Windows scripting
Hello, I am attempting to execute a an SQL query through PowerShell against an MS Access database. My query works 99% of the time, but occasionally a localized string will cause an error beacuse it contains a single quote (‘) somewhere within the localized string. You can look at the following example to get a [...]
How to reboot a remote server using VB?
how to reboot a remote server using vb
Answer Question
| October 30, 2008 11:40 AM
Scripting, VBScript, Windows Management Instrumentation, Windows scripting, WMI
how to reboot a remote server using vb
In Windows Script Host, is it possible to pass a value from the remote script back to the controller script?
I have a question regarding Windows Script Host remote script process. I am trying to execute a script on a remote computer and return the results of that script to the controller script. For example, if I execute the script below on a remote computer, I would like to return the value of curDomainUser to [...]
Answer Question
| September 17, 2008 7:46 PM
Controller script, Remote script, Windows Script Host, Windows scripting
I have a question regarding Windows Script Host remote script process. I am trying to execute a script on a remote computer and return the results of that script to the controller script. For example, if I execute the script below on a remote computer, I would like to return the value of curDomainUser to [...]
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
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
Membership in Local Admin group
Before removing users’ local admin right in their pc, I want to list all members for each client PC with W2k3 domain. Is there a script / tools in carrying out the inventory? Thanks
Answer Question
| April 5, 2009 1:49 AM
Access Rights, Local Administrators Group, Security management, User Permissions, Windows scripting, Windows Security
Before removing users’ local admin right in their pc, I want to list all members for each client PC with W2k3 domain. Is there a script / tools in carrying out the inventory? Thanks
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
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 [...]
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
How to create a login script which will create users personal folder automatically in server.
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
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??





