Tuesday, June 21, 2011

setup iis 6 unatended -- windows XP

http://support.microsoft.com/kb/309506

sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\setupiis.txt
setupiis.txt::

[Components]
iis_common = ON
iis_www = ON
iis_www_vdir_scripts = ON
iis_inetmgr = ON
fp_extensions = ON
iis_ftp = ON

repair windows files from CD "sfc /scannow" -- windows XP + 7

sfc /scannow 

Thursday, May 19, 2011

repair windows 7 boot

from "http://heiser.net/posts/3256"


  1. Reconfigure your BIOS to boot from the DVD first and then the Win7 drive
  2. Boot the machine from the Win7 DVD
  3. After the language select screen, choose "Repair your computer" from the lower left
  4. The system will not find any installations. This is okay, click the top radio button and hit Next
  5. You'll see a list of "System Recovery Options". Open up the Command Prompt
  6. Try typing the following commands in order: "bootrec /fixmbr", "bootrec /fixboot", "bootrec /rebuildbcd". If these complete successfully, go ahead and skip the next step. However, if any of these steps reports "Element cannot be found" you need to reconfigure the disk configuration.
  7. You're going to use DISKPART to make the Win7 partition active. You can type "HELP" for a list of commands or check out Microsoft's help page. Basically you select the drive first ("LIST DRIVES" and then "SELECT DRIVE [number]") and then the partition ("LIST PARTITION" and then "SELECT PARTITION [number]") where Win7 is installed. Then type "ACTIVE" to make the selected partition active. Once this is finished, repeat the previous step.
  8. With the bootloader now created, we need to let Win7 configure it. Restart and boot from the DVD again, and choose the same repair option as before. Now you should see your Win7 installation listed. Allow the installer to repair the system. You may have to repeat this step once or twice, but eventually the bootloader will be fixed and your machine will work again!

Monday, May 16, 2011

Uninstall Office 2003,2007,2010 suites if I cannot uninstall it from Control Panel

http://support.microsoft.com/kb/290301/en-us

and remove rgstrtn.lck :
http://support.microsoft.com/kb/927153

Monday, March 7, 2011

auditing for file access

auditing:
Administrative Tool-Local Security Settings-Local Policies-Audit Policy-Audit object access
rightclick file-Properties-Security-Advance-Auditing: Failed on "Delete"

this particular setting works for recording overridden and failure to delete the file.

Saturday, February 5, 2011

streamyx dialer

'only for bridge mode
'HOW TO CLOSE : ctrl + alt + del > process > wcscript
'Script to auto connect/disconnect until you get the ip within a range that specified by you.

TempFileName="c:\ips.txt" 'Any temporary location
IPInString = "218.208" 'String to search for
IPNumber = "218." 'Beginning of IP to search for.
ConnectionName = "StreamyX" 'the name of your StreamyX connection
UserName = "STREAMYX ID@streamyx" 'replace with your NETWORK ID
Password = "mypassword" 'replace with your NETWORK PASSWORD

'---------------------------------------------------------------------
sFlag = 0
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Set oFileSystem = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " /Disconnect"
Do While sFlag <> 1
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " " & UserName & " " & Password,2,true
oShell.Run "%comspec% /c ipconfig.exe > " & TempFileName,2,true 'line 10
Set oFile = oFileSystem.OpenTextFile(TempFileName, ForReading)
'Search for IPs and check if in right domain
Do While oFile.AtEndOfStream <> True
sIPAddress = oFile.ReadLine 'Read line of temporary file
If Instr(sIPAddress,IPInString) <>0 then 'Find line start with IP Address
ColonPos = Instr(21,sIPAddress,":") 'Find position of colon
sIPAddress = Mid(sIPAddress,ColonPos+2) 'Extract IP portion
If Trim(Left(sIPAddress,Len(IPNumber))) = IPNumber then 'Check of right IP
sFlag = 1 'Found good IP so set flag
exit do
End If
End If
Loop 'Look for next IP
If sFlag = 0 then
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " /Disconnect"
oShell.Run "ping.exe -n 3 127.0.0.1", 0, True
End If
Loop
If sFlag = 1 then 'Found good IP so process route table
oFile.Close
set oFile=nothing

'Delete temporary file.
oFileSystem.DeleteFile TempFileName,true

'Cleanup
set oTXTFile=nothing
set oFileSystem=nothing
set oShell = nothing

end if

Thursday, February 3, 2011

misc tools

backup & undelete
backup windows driver: drivermax.exe
no need installation: file_recovery.exe
Paragon Backup and Recovery Free
Rescue Kit 10 Free Edition
Macrium Reflect Free Edition
Drive Image XML

PartImage Is Not Ghost
Clonezilla
Easeus Todo Backup

http://www.file-recovery.net/
http://www.recovermyfiles.com/
partition-savepart

Multimedia
IrfanView - free image viewer, batch converter
Audacity - sound editor at sourceforge.net
Hanbrake - various video format free converter at handbrake.fr
phtofiltre.free.fr -  filter, cut, automate
sourceforge.net/projects/imageenlarger/  enlarge img & keep smoothness
www.shapecollage.com    join little photo to make one large

record screen play
www.repairvideo.com   fix undraggable video
Digital Video Repair : incomplete download fix

Crack
wifi-beini
ARPoison
ARPToxin

Torrent
deluge
thunder

Misc
IM: meebo.com
remote control: Teamviewer, RealVnc, Sharedview
unlocker
processMonitor
InSSIDer - wifi monitoring
find active-ipscan
Advanced Port Scanner
windirstat
filedatech
antivirus: Avira, Avast