Sep 24

This method is very handy if you have apps that just won’t die, and you want to shutdown.
You can goto: Start->Run and type this in, or you can save one of the lines as a batch file. (In notepad save it as “shutdown.bat” (Without the quotes)).
WARNING: This will shutdown your computer and will kill all the processes, unlike the normal way, where it waits for programs like MS Word (Where it asks you to save), this will just continue to shutdown.

Shutdown:
shutdown -s -t 5 -f

Restart:
shutdown -r -t 1 -f

Explanation:
-r/-s Is Restart/Shutdown

-t is Time (In seconds)

-f (Forces the shutdown)

Worth Noting: If you just want to kill an app, you might want to try pskill Put it in C:\Windows
And then type pskill taskname in Start->Run. Eg. If Firefox is frozen: pskill firefox.exe

Tagged with:
Aug 14

We have a previous discussion of scheduled tasks here. A command prompt screen will “flash” when svhost executes the task and its a pain if you are working directly on that machine. Check this script:

Save this code as BatchLauncher.vbs

'--------------------code start<----------------------
sTitle = "Batch launcher"

Set oArgs = WScript.Arguments
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")

If oArgs.Count <> 1 Then
' Will die after 10 seconds if no one is pressing the OK button
oShell.Popup "Error: You need to supply a file path " _
& "as input parameter!", 10, sTitle, vbCritical + vbSystemModal

Wscript.Quit 1
End If

sFilePath = oArgs(0)

If Not oFSO.FileExists(sFilePath) Then
' Will die after 10 seconds if no one is pressing the OK button
oShell.Popup "Error: Batch file not found", _
10, sTitle, vbCritical + vbSystemModal

Wscript.Quit 1
End If

' add quotes around the path in case of spaces
iRC = oShell.Run("""" & sFilePath & """", 0, True)

' Return with the same errorlevel as the batch file had
Wscript.Quit iRC
'--------------------Code end<----------------------

'Note: It is the 0 in this line that hides the batch file execution:
'iRC = oShell.Run("""" & sFilePath & """", 0, True)
'If you want to run it visible, but minimized, change the 0 to 7.

Now update your task like this:


wscript "C:\svnlogs\BatchLauncher.vbs" "C:\svnlogs\start.bat"
Tagged with:
Aug 11

I have my web development team who are tired uploading their changes to our dev server, they are lazy? Well, yes. I have installed an svn server for them to monitor and track their changes. For them, updating, commiting and adding new file is a stress, and so I jumped into something that I think we should have here(spoiler act).

Our dev server is running on a windowsXP machine, truly, its just for testing ;-) , and to start the spoiler, here it is.

I made tow(2) batch files, one being called by the task scheduler(crontab for linux) and the execution of the update.

start.bat
@ECHO OFF
CLS
SET DD=%DATE:~7,2%
SET MM=%DATE:~4,2%
SET YYYY=%DATE:~10,4%
SET HH=%TIME:~0,2%
SET MN=%TIME:~3,2%
SET SS=%TIME:~6,2%
SET SAI="%YYYY%-%MM%-%DD%"
svn.bat > %SAI%.txt

I made this first script to be able to track the las sub version of the project daily.

svn.bat
@ECHO OFF
CD\
CD C:\WEBROOT\myProject
svn up

It’s easier to create this script in linux shell, but for those who are developing in windows platform, here’s your startpoint. :)

Add start.bat in your system’s taskscheduler. Execute it every 1minute or whatever delay you want. To check if your task is running, type:
$> schtasks /query
in commandline, you will see something like:
C:\Documents and Settings\Jay-ar>schtasks /query

TaskName                             Next Run Time            Status
==================================== ======================== ===============
start                                09:17:00, 8/11/2009
Tagged with:
Aug 08

I just had a conversation with an old friend, we’ve been called yahoo god back then, 1999-2002. Greetings to all booters, developers, spammers and victims of that war. :)

[22:58] sai_sao: its been a while
[22:58] sai_sao: hows the yahoo booter's god doing all this time? :D
[23:27] mab69us: thanks i am good
[23:27] sai_sao: busy with new stuff? not yahoo related stuff? :D
[23:29] sai_sao: I think its been 9 years or more, we are probably all professinal now
[23:29] sai_sao: I really miss those early days :) )
[23:29] mab69us: yeaa i work for adobe
[23:29] sai_sao: cool
[23:30] mab69us: not as fun as booters war
[23:30] mab69us: wher
[23:31] sai_sao: from vb to .Net, i migrated working with opensource stuffs
[23:34] mab69us: yea you makin money off it you know yahoe was like 70000 lines of coed now the bullshit i deal with is like 70 zillion lines lol
[23:34] sai_sao: LOL
[23:35] sai_sao: I didn't have the chance of getting yahoe source before, I just focused on creating PM bombers and account lockers
[23:36] sai_sao: well, those stupidity back then pushed me to work harder and to find the right path
[23:36] sai_sao: (where to enjoy and earn at the same time)
[23:36] sai_sao: :D
[23:37] sai_sao: remember trey carver? i_silent_i
[23:37] sai_sao: i think he jumped into music
[23:38] sai_sao: :) )
[23:38] mab69us: lol me but i kinda hate to code yea i do tracks also
[23:38] sai_sao: you realeased rap album in california right?
[23:40] mab69us: how would you know that
[23:40] mab69us: you a stalker
[23:40] sai_sao: I just remember it
[23:40] sai_sao: 3-4 years ago
[23:41] sai_sao: LOL its 2009!
[23:41] sai_sao: I started boot codes generation at yahoo 3.0
[23:42] sai_sao: I made some contribution to booter's war but those were minors
[23:42] mab69us: i dont even know what it is up to now
[23:42] mab69us: prolly like 12
[23:43] sai_sao: me too, I am currently working on a web development company
[23:43] sai_sao: haven't heard news from yahoo booters since 2003
[23:43] mab69us: yea that was my fault sorry
[23:45] mab69us: well then, see you around, regards to your team

Tagged with:
Apr 02

Info How to bypass WPA (Windows Activation) on Windows XP
How to bypass WPA (Windows Activation) on Windows XP
Tested on Windows XP Professional SP2 and Windows Server 2003 R2.

First, click “Run…” on your start menu, type “regedit” and press enter.
The Registry Editor opens up, and you are presented with a long list of keys on the left.
Browse through the list to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents.
(If you can’t find this key, you’re screwed!)
On the right, you should see a stringz value named OOBETimer.
This is the activation stuff. If you change it, Windows will change it back within a few seconds.
Whatever its value is, change it to FF D5 71 D6 8B 6A 8D 6F D5 33 93 FD.
(At first I thought this was different for each machine/serial number, but it’s always the same if windows is activated…LOL)
After you’ve changed it, right-click WPAEvents and choose “Permissions…”
A little window opens up with a list of user names. Click SYSTEM, and in the list below (“Permissions for SYSTEM”) check every box under “Deny”. Click OK to own windows. You don’t even have to reboot lol.
If you’re too slow windows might change it back, so just hit F5 to refresh and make sure it got saved.
If not, just try again. Microsoft owns for making it so easy to hack their software.
So, just keep on enjoying an activated version of windows. swapnil_009 over and out!

The problem most of you are probably having is when you get to the “Permissions” section, so i expand on this tricky area.
Under “Permissions…” for WPAEvents, Go into the Advanced settings.

UNCHECK “Inhereit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here”

When prompted what course of action to take from here, click “COPY”

From there, Highlight the SYSTEM line, and click edit.

Deny all options, apply, and run a free copy of windows.

Tagged with:
Mar 04

There is a certain virus that prevents XP users from viewing the hidden files.

The virus meddles with the ’Show hidden files and folders’ option in the Folder Options and the option keeps bouncing back to ‘Do not show hidden files and folders’, despite repeated trials.

Here is how you can set this problem right:

Navigate to the windows registry:
Go to Start menu
Click Run
Type regedit in the text box and then click Enter.

When the Registry Editor opens, perform the following steps:

Go to the following registry key:

Go to HKEY_LOCAL_MACHINE and then open Software.Under this navigate to:

Microsoft -> Windows -> Current Version -> Explorer Then go to Advanced -> Folder -> Hidden -> SHOWALL

Delete the value CheckedValue.

(Its type should be REG_SZ and data should be 2 or 0.)

Create a new DWORD value called CheckedValue (same as above, except that the type is REG_DWORD).

Modify the value data to 1 (0×00000001).This should enable you to select the ‘Show hidden files and folders’ option without much problem.Do drop in comments if there are further queries and we shall try to find answers.

Tagged with:
preload preload preload
Bless CV