Specifically its the first part...If I drop out the & " and TargetInstance.PartComponent = 'CIM_DataFile.extension = ""xdb""'") the query works great and it e-mails me with the file name. When I try to filter it down to only e-mail and delete the folders when a file with an xdb extension it says...
It dont wanna work :(
The idea
Upon a new xdb file being created in the c:\program files\Symantec Antivirus folder I want it to delete all folders in the c:\program file\symantec antivirus\I2_LDVP.VDB folder
strComputer = "virus server"
Dim objWMIService, strComputer, colMonitiredEvents...
Only thing Ive noticed is if its an NT box to make sure WMI is installed...if its a 2000...I think its already installed...usually a reboot fixes it..what error erre ya gettin
hmmmmmmmmmmmmmmmmmmmmmmm
Running it from PerlIDE caused the memory hogging...when I ran it from command prompt I got an 'Access is denied' error even though Im a domain admin. I looked in the system32 directory and its kernel32.dll. Now to figure out where Im getting that error froim
So I got the Dave Roth book on Win32 Scripting for System admins (Im very new to perland scripting in general) and the script Ive written down suddenly take up all of the VM. Im using PerlIDE and I believe it happens when it makes the Apilink('kernal.32.dll'
if(Apilink('kernal32.dll', 'DWORD...
Exactly what I can use..so..users leave for the day...I copy all of the stuff over to said directory and in the logon scrtip insert
set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal"...
Im in an NT 4.0 domain with 2000 and xp workstations. As of now there are two servers with the users home directories and I am trying to move all of the home directories onto one server as well as change everyone's 'My Documents' folder to aim at said home directory. Some are set up and some are...
I get a syntax error in this FROM line
Database called inventory.mdb and im trying to open the General table for updating
Set Domain = GetObject("WinNT://mydomain")
Domain.Filter = Array("computer")
Const adOpenStatic = 3
Const adLockOptimistic = 3
Set objConnection =...
We currently have an NT domain. Out of 20 servers or so we have 6 left that are NT. Unforunatly our domain controller needs to be replaced. Being that I cant seem to set up a 2003 box to take over domain controller for the PDC I figured Id try a side by side migration. Set up an AD domain and...
Whats the best way to upgrade an NT 4 domain to 2003 when the DC cant handle 2003? Is the best thing to create a 4.0 server that will, promote it to PDC then upgrade? Single NT domain 200 users and machines
update
I got everything installed but it seems that any request that I send it sends to the same page. Ill look up on how to send equests for whatever link I need to...this stuff aint easy.
Well son of a....
Well..so far I went on and checked out some of the stuff on there..and it was giving an https protocol not supported...well...I went on and slapped in the most recnet vers of Activestate perl and it gives me that I need openssl installed. blahhh...now I cant find how to install...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.