windows

windows os tutorials, hacks, tips & tricks

you can run this using the run command, or access it via windows explorer address bar or create a shortcut. any way you do it will bring up a massive list tasks for windows 7. it was originally developed by the windows developers to show search results, so whenever you search for something in the control panel, this page is searched.

here it is -

shell:::{ED7BA470-8E54-465E-825C-99712043E01C}

in the linux world, we can always grep a command. today i needed to be able to do the same thing in dos.

help find

Searches for a text string in a file or files.

FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]

/V Displays all lines NOT containing the specified string.
/C Displays only the count of lines containing the string.
/N Displays line numbers with the displayed lines.
/I Ignores the case of characters when searching for the string.
/OFF[LINE] Do not skip files with offline attribute set.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.

If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.

 

so, for example, if you wanted to find just the system model of a pc using systeminfo, you would type to following:

systeminfo | find /i "system model"

&

it can also be used with netstat

netstat -ano | find /i "80"

1: open cmd “run as administrator”
2: then type the following: netsh advfirewall firewall add rule name=realid dir=out protocol=tcp remoteport=1119 action=block

 

disable firewall rule (on real id)
netsh advfirewall firewall set rule realid new enable=no

 

enable firewall rule (off real id)
netsh advfirewall firewall set rule realid new enable=yes

 

activate the firewall rule only in the character selection screen!

 

windows host file location:

C:WINDOWSsystem32driversetc

 

microsoft had the brilliant idea of sharing the system root folder by default. here is how to remove that:

start -> accessories -> admin tools -> computer management. once in computer management, expand the share folders tree and in the right window, right-click the share you want to disable and click remove.

    

if the above doesnt work, you can use regedit and do the following (if the key isnt there, you need to create it):

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEMCurrentControlSetServicesLanManServerParameters
Name: AutoShareWks
Data Type: REG_DWORD
Value: 0

    

another option you can do is this (you can replace the c$ with the share you want to remove):

open the command prompt and type: net share c$ /delete

here is a list of some really handy windows keyboard shortcuts.

minimize all win + d
run win + r
task manager ctrl + shift + esc
lock keyboard win + l
system properties win + pause/break
explorer win + e
find win + f

1) click start / run
2) type regedit and press enter.
3) open the HKEY_CLASSES_ROOT folder
4) open the CLSID folder
5) open the {645FF040-5081-101B-9F08-00AA002F954E} folder
6) open the ShellFolder folder
7) change the Attributes data value from 40 01 00 20 to 50 01 00 20. once completed change the CallForAttributes dword value to 0x00000000 you must change both of these values to get the rename to appear.

add a range of ports to the windows firewall (change the words start and end to your corresponding ports)

open up the command line and enter the following:

for /L %i in (start,1,end) do netsh firewall add portopening TCP %i "Port-range %i"

for example: (using wow’s port range as an example)

for /L %i in (6881,1,6999) do netsh firewall add portopening TCP %i "Port-range %i"

so i managed to re-install my new copy of windows. it went rather smoothly and the drivers i slipstreamed in all worked fine. i did get a bad_pool_caller blue screen of death a couple times, but that was due to bad drivers, i updated the drivers and everything has been running smooth.

the only complain i have is boot up and shutdown. it hangs on a black screen for 10+ sec and then continues. other than that its all great.

i may go through the whole process again to further tweak the system. for now i am partially happy with my windows install. even though it is still windows….

i went through customizing windows media center 2005 again. i trimmed out all of the unnecessary programs, languages, help files, services, themes, etc. i also slipstreamed the drivers for my dell xps m140 into the iso and also added an additional folder, named additionalprograms, containing the following programs -

avg free 8.5
ccleaner 2.18.878
imgburn 2.4.4
filezilla 3.2.3.1
firefox 3.0.9
foxit pdf reader 3.0
gimp 2.6.6
spybot search & destroy 1.6.2
vlc

i am currently burning the iso to dvd, when it is done i will reboot and attempt to install my new copy of windows.

the real bummer is i have to re-install world of warcraft which will take awhile. i did remember to backup all the patches for the game and burn those onto dvd as well. this way updating will be a breeze.