|
scheduling deletion of specific files from folders
hi , everyone I have a script that deletes specific file extension. I now
wanna run it as a batch file and schedule it. The problem is that at the end
it pops up a message box to report the no files that it deleted. How do I
remove the msgbox from the script so that it runs fine as a scheduled task.
Credit for this script goes to the person who wrote it, not me. I found it
on some webs...
|
4 |
10/28/2008 11:06:47 AM |
|
Group policy Issue
Hello,
Wondering if someone could help me. I am having trouble with some new
workstations I am deploying and using a group policy / login script. The
problem is that I get a error that the print spooler stops and says that
my script is incorrect. I did notice that if I open the command prompt
and type Cscript its then starts working. Could someone tell me why is
this not working by de...
|
4 |
10/24/2008 1:22:00 PM |
|
Help Urgent!!
Hi All,
we have our build which gets copied to our central server
once the build copy is completed i want to schedule a task such that
its copies the build file to my local system
I need to write a script for doing this..
Can you please guide me through this
how do i go about doing this??
Thanks
Ganesh...
|
2 |
10/23/2008 6:59:56 AM |
|
Script Help
Hi everyone,
I have 2 questions I hope that script experts could help me.
1-
I've a huge task to complete.
It's my job to get a list among dozens of servers (2000 and 2003) a list of
the users that logged on those servers (the servers have local and domain
users) and related properties especially:
-User Name
-Description
-Last time that the user logged on that server (this is ver...
|
10 |
10/23/2008 12:01:58 AM |
|
ASP mailing script not sending mail
Hello
I have the following script which notfies the Webmaster when a user logs on.
I have contacted my hosting service which has provided details of SMTP_USER
and SMTP_PASS and the SMTP_PORT details.
The log-on script users a txt file with the following log-on details: user
name: gates; user's password: bill. Using this user name and password I am
suvccessfully redirected to a 'succ...
|
1 |
10/22/2008 10:17:01 AM |
|
Users logon script fails without error
Hi all,
I'm having issues with a simple logon script I am trying to run. The
script simply removes existing network shares and then adds some network
shares. I have put the script at \\domain.com\NETLOGON\LogonScript.vbs
an that is what I put at the users User Properties->Profile->Login
Script input box.
The domain shares however never get added when the user logs in. I can
run \...
|
3 |
10/22/2008 3:28:10 AM |
|
Changing File System Permissions and Ownership in Powershell
I'd like to change NTFS file system permissions using Powershell, both
at the command line and from a Powershell script.
I come from the Unix world, where it's pretty straightforward: To
change ownership, you use the 'chown' command, and to change
permissions, you use either 'chmod' or 'setfacl'.
How would I do the same thing in Powershell? I'd like to be able to
do this locally (on a W...
|
2 |
10/21/2008 5:15:06 PM |
|
error code 3 during upgrade from Windows NT4 to Windows Server 200
Hello,
During the upgrade process form Windows NT 4 to Windows Server 2003, we got
this error code:
10/7/08 12:26:55 AM > START -- Execute "c:\MSCS\cluster\i386\setup.exe
-uninstall -u"
10/7/08 12:26:55 AM > INFO -- has to be finished in max. 1 minute(s)
10/7/08 12:26:55 AM > EXECUTED -- "c:\MSCS\cluster\i386\setup.exe
-uninstall -u" RESULT CODE [3]
10/7/08 12:26:55...
|
1 |
10/20/2008 3:07:03 PM |
|
ERRORLEVEL
Hi everyone
I'm trying to do errorlevel handling but not with expected results:
Code:
Net use \\%%a P@ssw0rd /User:mydomain\admin
IF NOT ERRORLEVEL 0 (
Echo. Connection Failed for to %%a
Echo. Connection Failed for to %%a >>Log.txt
) Else (
Echo. Connected to %%a
Echo. Connected to %%a >>Log.txt
)
The problem is that always "Echo. Connected to %%a" not matt...
|
17 |
10/20/2008 8:05:02 AM |
|
Politics
mender safes squares hhok development vinge hosts unto assumptions...
|
1 |
10/18/2008 10:10:08 AM |
|
Account Expiration Script - Notify Manager
All,
Thanks for any help you can provide. I'm a novice at vbs scripting.
I've taken parts of existing scripts to create an Account Expiration
script. The intent is to find all accounts expiring in 14 days and
send a warning email to the Account's manager. I have all of the data
pieces of the script working and returning the appropriate data, but
I'm struggling with the piece for notifyi...
|
2 |
10/18/2008 1:19:21 AM |
|
tasklist
"Server buffers are full and data cannot be accepted"
this is the message I get when I type in this command at a DOS prompt on
some of my servers. Others it displays the expected results. I suspect a
configuration variable is not set right or high enough. Does anybody have a
clue on how to fix this error.
I typically have Windows 2003 sp1 or 2 loaded and these servers are plenty
busy.
...
|
4 |
10/17/2008 9:39:59 PM |
|
Script based on Connecting Client IP Windows Terminal Server
Hey I got a good scripting question for you gurus out there. We are trying to
write a script that will copy certain files to a user desktop when they log
onto a Windows Terminal server. Sounds easy but does anyone know how you can
check against a clients connecting IP address. We have a multi site practice
and each location has there own perscription printer within there site. If
someone trav...
|
2 |
10/17/2008 9:13:14 PM |
|
Need Help with Scipts
Dear All,
I have been tasked with creating a script that will rename computers on my
network. The script should be able to do the following.
Rename the computer name to the serial number of the computer
Change the computer description to the username of the logged on user.
I ran this script found on the internet for test purposes
***************************************************...
|
3 |
10/17/2008 7:52:08 PM |
|
How to connect to remote server from a machine over the network and query active directory for groups , users, computers which will be given by the user
How to connect to remote server from a machine over the network and
query active directory for groups , users, computers which will be
given by the user...
|
6 |
10/17/2008 4:34:31 PM |
|
easy one - how many instances of a process are running?
I need a script that will tell me how many instances of a process, in
my case excel.exe, are currently running. I need to call the script
from our server monitoring app, so a .bat command file should work
fine. Anyone?...
|
3 |
10/16/2008 5:02:54 PM |
|
Windows 2003 Deployment script in Windows PE 2.0
Hi,
Does anyone here know what kind of scripting technology is available in
Windows PE 2.0? I am trying to write a script which will do a few very
simple things like:
detect the IP address of the host and if it is in a specific subnet map a
network share to a certain IP, if it is not in a specific subnet use a
different IP (local vs WAN).
Just little things like that, does anyone ...
|
1 |
10/15/2008 9:08:50 PM |
|
enumerate all local EFS certificates
Hi all. I need to enumerate all EFS certificate on a machine. Once I
have that info I intend to use it to export the certs so that they can
be copied and applied to another machine. This is part of a PC refresh
process for users getting new machines, but I need to account for
situations where there are more than a single encryption user on the
source machine, as opposed to just logging on and...
|
1 |
10/15/2008 8:24:08 PM |
|
uncheck Allow inheritable check box on all subfolders
i need to uncheck the ";allow inheritable permissions from the parent ....."
checkbox and select copy from all subfolders in a folder. how do I do that
without going through one by one?
...
|
5 |
10/11/2008 10:36:11 PM |
|
Export DHCP reservations to a file every 4 hours
Folks,
I'm new to scripting. I'm trying to write a script that can export
dhcp IP reservations from multiple scopes to a text file every 4
hours. I would appreciate if someone can help me with the logic or the
script (if you have it already).
Thanks in advance.
Cheers!!
Sridhar....
|
3 |
10/11/2008 7:18:16 PM |
|
query logged on users on remote system
Hi All,
I have been working on a script to output the logged on users of a
remote system. This is the base script that I got from Microsoft
Script Center and it works fine:
strComputer = "atl-ws-o1"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root
\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Wi...
|
6 |
10/11/2008 12:45:55 PM |
|
mail portal
hi all, i m sandeep & i want to develop a website with free email service on
that. how to create email id with using scripting only on the server side eg:
"user@mydomain.com". hwta scripting i have to use and which hosting will work
in this "dedicated or shared" ??
...
|
2 |
10/10/2008 11:51:59 PM |
|
How to retrieve swbemobjectset collection from Async call?
So, does anyone know how to get the collection / swbemobjectset from an
asynchronous call to WMI on-completed()...? And, also does anyone know how
to get the collection when its not fully done?
It seems like it should be possible.... but I'm racking my brain trying to
find an answer.
...
|
2 |
10/10/2008 7:14:00 PM |
|
List users in local administrators group on remote machine
Hi,
I am looking to manage all desktops on our network with regard to the local
administrators group. There are several things I am looking to accomplish:
1. list all users (domain and local) in local administrators group on
multiple remote computers
2. remove user from local administrators group on remote computer
3. add domain user account to local administrators group on remote
c...
|
6 |
10/10/2008 7:01:01 PM |
|
Is there a script which will report which OU a server resides in, given an Active Directory 2003 domain?
Gurus,
Is there a script which will report which OU a server resides in, given an
Active Directory 2003 domain?
--
Spin
...
|
10 |
10/8/2008 11:37:00 AM |