PXE boot">
Most new Servers or Workstations aren't equipped with a floppy drive anymore, but from time to time I need to boot from a floppy drive. And I don't want to burn a CD each time I need to boot from ...Read More
DLL and OCX Files dynamically">
If you need to register .dll and .ocx files in a directory (and below), this little batch file should help you:
[cc lang="bash" tab_size="2" lines="40"]
@echo off
::you need to start this .cmd file with a
::parameter, to prevent an unintended start.
if %1$ == ...Read More
This is a bink.nu ripoff! Like most people, I use notepad when I need to put together a script. I never actually looked at the help file for notepad (well, why would you?!?) until I hit the F1 key by ...Read More
NTFS Additional Data Streams (ADS)">
The Windows NTFS allows to save additional data streams (ADS) since Windows NT 3.51. You can hide additional files "behind" a file,.
Without additional tools you cannot see them, not even the file size changes if you add additional streams to ...Read More
VBS Script)">
Perhaps you want to send a generated E-Mail from a script and you need to convert the current user information into his E-Mail address stored in the AD. This is quite a simple job with a .VBS script:
Set objNetwork = ...Read More
When I tried to reboot a server (txt-bar mode), I get the error message: "Loader Error3, Windows 2000 could not start".
From the MS KB article 277222:
--------------------------------------
The SYSTEM hive is limited to approximately 10.3 megabytes (MB) in size in Windows 2000 ...Read More
Damn, this view sucks!
After a IE update (or whatever) your Explorer Folder Pane is gone. To solve this problem, you need to edit the Registry:
HKEY_CLASSES_ROOTCLSID {EFA24E64-B078-11d0-89E4-00C04FC9E26E}InProcServer32
The Default value for this key points to the file which builds the Explorer Band. ...Read More
RDP Remotely">
www.thelazyadmin.com has a nice article about enable RDP from remote.
You can find the article here.
Here is the nice Batch file:
----start enablerdp.cmd----
reg add "\%1hklmsystemcurrentControlSetControlTerminal Server" /v "fAllowTSConnections" /t REG_DWORD /d 0x1 /f
reg add "\%1hklmsystemcurrentControlSetControlTerminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0x0 ...Read More
A quick and dirty Windows password recovery:
Boot the Backtrack CD.
Change dir to your Windows mount point:
# cd /mnt/hda2/WINDOWS/system32/config
Copy the SAM and the system Registry hive to the temp dir:
# cp SAM /tmp
# cp system /tmp
Prepare our wordlist:
# cd /pentest/password/dictionaries/
# gunzip ...Read More
XP Network Bridge feature and Wireless NIC’s">
Well I tried to set up my Intel BG2200 Wireless NIC as a Network Bridge member (to use it with coLinux virtual NIC, TAP Adapter). Well as soon my Network Bridge was created, my Wireless NIC stopped to work. I ...Read More
VBS Script to install Printers">
Perhaps you know the problem, you need to install new Printers for all your Users. But this can be really a pain, so here is a little .VBS script. This Script look in a text file containing the UNC path ...Read More
If you own a Laptop and you use Virtual PC/VMware you perhaps already now, sometimes its annoying that you don't have a REAL NIC you can you use.. But there is a option in Windows XP (I think in Windows ...Read More