WTF *Nix

Just another *nix Blog

Archive for the ‘Windows OS’ Category

Boot Winxp Uber Fast

Nov-10-2009 By WTF *Nix
Boot Winxp Fast
Follow the following steps
1. Open notepad.exe, type “del c:\windows\prefetch\ntosboot-*.* /q” (without the quotes) & save as “ntosboot.bat” in c:\
2. From the Start menu, select “Run…” & type “gpedit.msc”.
3. Double click “Windows Settings” under “Computer Configuration” and double click again on “Shutdown” in the right window.
4. In the new window, click “add”, “Browse”, locate your “ntosboot.bat” file & click “Open”.
5. Click “OK”, “Apply” & “OK” once again to exit.
6. From the Start menu, select “Run…” & type “devmgmt.msc”.
7. Double click on “IDE ATA/ATAPI controllers”
8. Right click on “Primary IDE Channel” and select “Properties”.
9. Select the “Advanced Settings” tab then on the device or 1 that doesn’t have ‘device type’ greyed out select ‘none’ instead of ‘autodetect’ & click “OK”.
10. Right click on “Secondary IDE channel”, select “Properties” and repeat step 9.
11. Reboot your computer.m

Follow the following steps on learning how to speedup Windoz XP:

1. Open notepad.exe, type “del c:\windows\prefetch\ntosboot-*.* /q” (without the quotes) & save as “ntosboot.bat” in c:\

2. From the Start menu, select “Run…” & type “gpedit.msc”.

3. Double click “Windows Settings” under “Computer Configuration” and double click again on “Shutdown” in the right window.

4. In the new window, click “add”, “Browse”, locate your “ntosboot.bat” file & click “Open”.

5. Click “OK”, “Apply” & “OK” once again to exit.

6. From the Start menu, select “Run…” & type “devmgmt.msc”.

7. Double click on “IDE ATA/ATAPI controllers”

8. Right click on “Primary IDE Channel” and select “Properties”.

9. Select the “Advanced Settings” tab then on the device or 1 that doesn’t have ‘device type’ greyed out select ‘none’ instead of ‘autodetect’ & click “OK”.

10. Right click on “Secondary IDE channel”, select “Properties” and repeat step 9.

11. Reboot your computer.

Share and Enjoy:
  • Google Bookmarks
  • MySpace
  • Facebook
  • StumbleUpon
  • Print
  • email
  • Digg

Windows Shares :: Maxtor Network Drives

Apr-23-2009 By WTF *Nix

Doing what I do on a daily basis, and having so many freaking issues between network shares, well I had this issue today with my Maxtor telling me, “Warning: Error creating share!”, well that’s a first! Out of 3.5 years non-stop these (7 Maxtors) things have been online and never been down, as the fact they are backed up with a nice UPS to keep them alive…

well you know scouring around, ssh to the damn thing, and figuring out what to do, I seen the problem under the logs on it, and bam, time to refresh the .bin file (Which is the shareware crap) Long story short, just update your firmware no matter if you have a current version or not, it’ll fix this issue, seems out of 3.5 years of hard work, they do give out at some point. =)

Share and Enjoy:
  • Google Bookmarks
  • MySpace
  • Facebook
  • StumbleUpon
  • Print
  • email
  • Digg

Samba and IPTables Firewall Script

Apr-22-2009 By WTF *Nix

Figured to share the following IPTables bash script with everyone that requires information on how to allow access through your IPTables to your local network with Samba:

#!/bin/bash

SAMBA_SERVER=”192.168.0.1 ”
NETWORK=”192.168.0.0/24″
BROADCAST=”192.168.255.255″

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A INPUT -p udp -s $NETWORK -d $SAMBA_SERVER -m multiport –dports 137,138 -j ACCEPT
iptables -A INPUT -p tcp -s $NETWORK -d $SAMBA_SERVER -m multiport –dports 139,445 -j ACCEPT
iptables -A INPUT -p udp -s $NETWORK -d $BROADCAST –dport 137 -j ACCEPT
iptables -A INPUT -p udp -d $SAMBA_SERVER -m multiport –dports 137,138 -j DROP
iptables -A INPUT -p tcp -d $SAMBA_SERVER -m multiport –dports 139,445 -j DROP
iptables -A OUTPUT -s $SAMBA_SERVER -d $NETWORK -m state –state ESTABLISHED,RELATED -j ACCEPT

Share and Enjoy:
  • Google Bookmarks
  • MySpace
  • Facebook
  • StumbleUpon
  • Print
  • email
  • Digg

WTF PowerShell

Apr-13-2009 By WTF *Nix

WTF I have seen it all now! Now better known as Winnix OS. Oh and talk about sickness, this here is nothing but a blue screen of death waiting to happen.

WTF let’s get it done and Powershell it! Then remember to keep in mind, the REAL shell environment is UNIX and sure as fuck isn’t no damn M$ Windowz

Side Note:

Wish Steve over at Microsoft would learn how to fucking listen to others and value the input from the end-user, if they are sick of fucking people cracking their software, perhaps they should lower their fucking prices once and forall where it’s affordable to even a beginning freelancer. Anyhow that’s why my best search engine right now is ThePirateBay.org =)

Share and Enjoy:
  • Google Bookmarks
  • MySpace
  • Facebook
  • StumbleUpon
  • Print
  • email
  • Digg