Content Type
Profiles
Forums
Events
Posts posted by Diabolical82
-
-
Finally got it working!
Here's what i did.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Backup, Security)}!\\" & _
strComputer & "\root\cimv2")
'
'Set variables
'
dateNow = Now
strCurrentDate = Year(dateNow) & "-" & Right(100 + Month(dateNow), 2) _
& "-" & Right(100 + Day(dateNow), 2)
strCurrentTime = Right(100 + Hour(dateNow), 2) & "." _
& Right(100 + Minute(dateNow), 2) & "." & Right(100 + Second(dateNow), 2)
'
'Start Backup/Clear of event log
'
Set colLogFiles = objWMIService.ExecQuery _
("Select * from Win32_NTEventLogFile where LogFileName='Security'")
For Each objLogfile in colLogFiles
errBackupLog = objLogFile.BackupEventLog("C:\Logs\"& strCurrentDate & "_" & strCurrentTime & _
"_Security.evt")
If errBackupLog <> 0 Then
Wscript.Echo "The Security event log could not be backed up."
Else
objLogFile.ClearEventLog()
End If
Next0 -
instresting! but i'm not familar with vbscript... so all i have to do is copy and paste this codes onto notepad and save it as .bat or different format?
EDIT: nevermind got it working with .vbs extention, and i have some questions: I only want security log, not system log and also what kind of program do i need to read .evt extention?
Thanks!
0 -
I'm trying to create automatic batch that dump Security Audit from Events Log weekly to keep it from getting too full. But for some reason Windows XP will not allow me save file in Date format such as this Sec-Audit-8/12/06.txt because of forward slash character "/"
And here's part of script i've been working on...
dumpevt /logfile=sec /outfile=C:\Logs\Sec-Audit-%DATE%.txt /all /clear
any suggestion?
Thanks
EDIT: I've done some search on google and came up with this....
@echo off
rem created unique log filename, e.g. Wed0804
FOR /F "tokens=1-4 delims=/" %%i in ('date/t') do set filedate=%%i%%j%%k
Set LOG=C:\Logs\Sec-Audit-%filedate%.txt
dumpevt /logfile=sec /outfile="%LOG%" /all /clear
EXITit worked and saved as Sec-Audit 02022006 .txt but i want this format as in "Sec-Audit-020106-2:00pm.txt"
Thanks Again
0 -
according to Huffyuv Codec's readme.txt
To install Huffyuv, right click on huffyuv.inf and select "Install."
but, how do I install this silently without having to right click on it?
Thanks
0 -
What happen to patch I386 option?
0 -
only kernel 2.6 support sata, be sure u opt'ed for 2.6 while booting from cd. but I cant gurantee it'll work.
0 -
actually I replace existing system.in_ , just type "makecab system.ini" in dos command window then it'll create system.in_ within same directory.
0 -
I found my own solution, edit system.ini then makecab it into system.in_ then toss it back in I386 folder ;-)
0 -
Is there's a way to edit system.ini unattend?
0 -
@ war59312
I've been using this switch CTZAPXX.exe /q /o /r and it always worked for me, my speaker setup is 2.1. I never own 5.1 speaker or such, and there's no way of telling from here :-( sorry
@ RyanVM
yep EAX worked.
0 -
same here, that's what i end up with http://www.symantec.com/techsupp/enterpris..._9.0/files.html
0 -
Bump... anyone?
0 -
I tried to change my pagefile size to 1024mb but for some reason my computer being so stubborn and revert back to 1535mb... i even disabled my page file then set it to 1024... finally it worked! but until the next reboot it change back to old 1535... any idea why this is happening?
0 -
I can't seem to remember which registry entry for MFT size... Can anyone help me refresh my memory?
Thx,
0 -
I never had problem, but how do I know if I'm running 48-bit?
0 -
maybe you could try email the author? dunno what kind of installer he used, I've never seen this type of installer before.
0 -
-
what's cleanup.cmd is good for? or you can add couple of line in aim.reg to create another instance of runonceex to delete itself on next reboot
0 -
I'm back with result... however I'm disappointed, because two value will not change is "Name Cache" and "Directory Cache" it'll revert back to default value. and benchmark are also an disappointment.
From what I see is decrease in Average and Burst transfer rate, and increase in Seek time and CPU Usages.
Before:
Avg. 97.5
Burst. 132.6
Seek. 14.8ms
Util. 8%
After:
Avg. 95.9
Burst. 127.3
Seek. 15.2ms
Util. 11%
By the way I use HD Tach for benchmark.
0 -
err... ok, but I failed to see logic, well I'm still skeptical. Maybe I could give it a try and bench my drive before and after.
0 -
humm just include the reg file inside the archives and here's mine
;The comment below contains SFX script commands
Path=AIM
SavePath
Setup=REGEDIT /S AIM.reg
Silent=1
Shortcut=P, "AIM.exe", "AIM", "AOL Instant Messenger Chat Client", "AIM"0 -
it's for win 95/98 only according to AnalogX offical site. I'm curious do you use it on winxp or win 9x ?
0 -
If I add those lines and save it as prefs.js and have winrar extract it to default profile folder. Do you think if it'll work or not?
prefs.js
pref("profile.confirm_automigration",true);
pref("profile.migration_behavior",1);
pref("profile.migration_directory", "");
pref("network.cookie.prefsMigrated", true);
pref("profile.allow_automigration", true);0 -
I'm searching for a line that tell firefox to bypass import settings/bookmarks, so far no luck... what about you zoobooboozoo?
0
MSFN's Official Free Software List
in Software Hangout
Posted · Edited by Diabolical82
I prefered to use this FreeOTFE (Free On The Fly Encryption) over TrueCrypt. Very small footprint and doesnt use up much of ram and capable with SecureTrayUtil A handy utility that sits in the tasktray, allowing hotkey shredding files, file hashes to be generated, and complementing several OTFE (On-The-Fly Encryption) systems by providing rapid access to their most used day-to-day functions, making them considerably easier to use. Also incorporates self-destruct facilities for sensitive material, triggerable by hotkey, easily-built serial connector or secure Internet connection.
Another Suggestion for Web Authoring - NVU