System “RUN” Shortcuts

Oct 26
2009

Taskmgr = Task Manager.
Firewall.cpl = Open the firewall guide.
Msconfig = System Configuration Utility.
Shutdown = Good Bye System!
Mstsc = Will open the Rdp Screen.
Powercfg.cpl = Power Configuration.
Osk = And the system keyboard will appear.
Logoff = log off existent user.
lusrmgr.msc = Will show us local User & Groups.
Secpol.msc = Here we can find the computer local security configuration.
Eventvwr.msc = Almighty Event Viewer.
Cmd = Good old command prompt.
Dfrg.msc = Remember to run it …
Compmgmt.msc = Here we have the computer management.

System “RUN” Shortcuts

Oct 26
2009

Taskmgr = Task Manager.
Firewall.cpl = Open the firewall guide.
Msconfig = System Configuration Utility.
Shutdown = Good Bye System!
Mstsc = Will open the Rdp Screen.
Powercfg.cpl = Power Configuration.
Osk = And the system keyboard will appear.
Logoff = log off existent user.
lusrmgr.msc = Will show us local User & Groups.
Secpol.msc = Here we can find the computer local security configuration.
Eventvwr.msc = Almighty Event Viewer.
Cmd = Good old command prompt.
Dfrg.msc = Remember to run it …
Compmgmt.msc = Here we have the computer management.

Reg Tweaks for Windows XP

Oct 26
2009

How to Disable Status Messages During Boot, Logon, Logoff and Shutdown …?
Start -> Run -> Regedit ->
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CurrentVersion\Policies\System
After we’re inside we need to create a new DWORD or modify the existing DWORD “DisableStatusMessages”, now set the value to be “1”.
Note!
If we want to restore the process all we need to do is reconfigure the value to be “0”.

How to disable the annoying Error Reporting in case we have problem:
Start -> Run -> Regedit ->
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\PCHealth\ErrorReporting
Now the reg value that we need called “DoReport”, by default this value set on 1(Send Repot) so all we need to do is to change it to “0”.
Note!
If we want to restore the process all we need to do is reconfigure the value to be “0”.

How to disable Media Player Update Massage ….?
Start -> Run -> Regedit ->
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\MediaPlayer\PlayerUpgrade
The important value will be: AskMeAgain
The type of the value is: REG_SZ (String Value) with the option to choose YES or NO.
Note!
We probably need to restart the computer or logoff to “enjoy” the changes.
How to disabled Low Disk Space Message…?

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Now all we need is to locate the DWORD called “NoLowDiskSpaceChecks” and change the default value to be “1”.
Note!
We probably need to restart the computer or logoff to “enjoy” the changes.

How to Disable the Desktop Cleanup Wizard
Start -> Run -> Regedit ->
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz
The value that we looking for is “NoRun” (Default value is 0=Enabled) and change the value to “1”.

How to disabled the Auto-Run of Windows Messenger
Start -> Run -> Regedit ->
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Now we need to remove the value called “MSMSGS” .

How to Change Name and Company Information After we already install our Operating System…?
Start -> Run -> Regedit ->
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows NT\CurrentVersion
We will notice that in the right pane we have value called “RegistardOrganiztion” , now double click this value and under the “Value Data” we can provide the correct name that we want to give during the installation .

How to Owner Information After we already install our Operating System…?
Start -> Run -> Regedit ->
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows NT\CurrentVersion
Chose the value called “RegisteredOwner” and under “valueData” change the new owner.

Enabling the NUM lock key when the windows logon appear
At default this key is disabled when the system go live ,so if you want to use this key before user press the CTRL+ALT+DEL just follow the next easy steps:
Start -> Run -> HKEY_USERS\.Default\Control Panel\Keyboard
Now all we need to do is to change the value for “lnitialKeyboardIndicators from 0 to 2.

Password Reset Disk in windows 7

Oct 26
2009

How to create a Password Reset Disk in windows 7\Vista
Imagine this scenario ….
You created logging password to your account and you simply forget it…what you do!?
Maybe start the system from the command line and change the SAM file..?
Maybe go up with third party recovery solution …?!
No! No! No!
All you have to do is simply use the wonderful tool that Microsoft provides on their system that resolves this scenario in few easy steps.
Few words about this tool:
Originally we have this option already in winXP so we can use this option already then but with huge difference because buck then we must have “Floppy Disk Drive” to create the file and in the “modern Days” you already know that this option is not so actual, so if you already understand in windos7\vista we can use any available media such as USB stick that we have in our packet.
So what we create on the media…?
When we use this option the system creates a small file that will be use in case we have the scenario above and the cool thing about it that no matter how much times we change our password the reset disk still work for us ! .
Note!
Because it’s so easy to use I recommend that you keep the media in safe place to insure no one gain access to your system.
First you need to go to control panel – Start – > Run -> and type “control”
Now after the control panel is up search for “User Accounts”,
On the top left corner you will see the option “Create a Password Rest Disk”, click it
Now the great “wizard” will open so simply follow the next instructions:
Next -> chose one of the available media and click Next -> now insert your current account password and click Next – > now the wizard will start to create your file on the specific media that you gave .
Note!
Always check this action, so go to your media that you specify and search for a file called Userkey.PSW
To verify that the process finish as it suppose to be. -
When and how we use it…?
When the system ask you to insert the password you will see benit it the option to “Reset Password “simply click on it, and Pup-up will tell you that you need removable media so just click the”OK” button and the wizard will come to front :So follow this:
Next -> chose the media – > Type the new password and finish the process.
THE END!

Microsoft Tools

Oct 20
2009

PSTOOLS
Pstools is a utility originally come from winndow NT & Server2000 box tools and include 12 different
Tools inside it that we can use each one of them to accomplish our admin tasks more easily and much faster and that include examples like:
• Run process on remote computers.
• Terminate process on client’s computers.
• Get information on machines.
• Shutdown\restart machines.

To work with those tools we need to use the “Command line” so that’s give us the “administrators” the option to create “.BAT” files that we can use in each time that we need and save us the time to wroth the command all over again .
We can download this kit from the following

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

In this article I will explain what we can do with those tools and how we can use them to control complex environments.
Note!
If we want to work with this tools kit we need to provide the correct credentials (Need to be local administrator on the machine that we work on).
The tools list :
• PsExec – This tool provide us the ability to runs programs in local\remote computers.
We can use this tool with the following “important” switches:
\\computer – Here we can chose the computer that we want to use, in case that we have 100 computers in our organization we can create a list of computers in notepad and give the path to the file and not for a single computer
Example:
Psexec \\Path to notepad file.
In this case the command will work on all the computers that we specify in the notepad.
-U – if we need to provide appropriate credentials on a remote computer we can use “-U” switch for the user name account.
-P – if we need to provide appropriate credentials on a remote computer we can use “-p” switch for user password .
Example :
Psexec \\computer -u David –p qaz123
-C – with this switch we can copy a program to a remote computer and execute the file on the specific machine .
Example :
Psexec \\D001 -c program.exe
Because we copy program from local computer to a remote computer we can use 2 more switches connected to the “C” switch .
-F – copy the file to the remote computer even if the file already exists .
-V – copy the file only if the file we want to use is newer then the same file on the remote computer.
So we can use it as follow :
Psexec \\dev01 –c –f \ -v programe.exe
Note !
If the program that we need to execute a program that already exists in the remote computer we need to specify the program path as follow :
Psexec \\D001 “c:\Program Files\program.exe”
“The program path”
• PsInfo – These tools simply do what he means “help us getting info on client computer”.

The important switches that we need to use :
PsInfo \\dev01 – we going to get system information on the computers list that we specify .

-H – will show us all the hot fixes installed on the computer.

PsInfo \\dev01 -H

-S – here we can get all the applications installed on the remote computer.
PsInfo \\dev01 –S
-D – will show us disks information(Volumetype,Format,Name,Size,Free space)
PsInfo \\dev01 –D

• PsShutdown – with this tool we can simply shutdown local\remote computer with a simple syntax , here is the important switches :

-F – this is nice switch that force the destination computer to close all applications without the options to save them like upends in regular shutdown.

-l – just lock the user computer like we do with “cntrl+D”.

-R – Reboot destination computer.

-A – Disabled the “R” switch (only if we have time until the restart the default is 20 seconds).

-M “Text” – with this switch we create massage to a user when he sees the countdown until the restart.

-D – only suspend the destination computer.

-H – send destination computer to “Hibernate state”.

-K – simply power off destination computer.

-S – the destination computer will shut down without any other progress.
-C – the user that connected to the destination computer will have the ability to cancel the shutdown.

-T – change the shutdown countdown (20 seconds in default).

• PsFile – offer us the options to see all files that open remotely opened on destination computer and also close them

-c – close the opened file (Off course we need to give the file location with “ID”).

-ID – identity of the file that we want the information.

-Path – we can give the path of the files that we want.

• PsKill – This app help us to close local\remote process.

-T – kill the process that we specify.

-Process id or Name – here we need to give the process that we want to kill.

Example:
If we want to close user mspaint:

Pskill \\Dev01 mspaint

• PsList – show all process that the destination computer have.

-Name – give information on a specific process.
-M – Memory details of the process.
-D – show all information as thread .
-T – show process tree.
• PsService – with this tool we can see and manage the servers on the destination computer .

- Start – force specific service to go up.
- Restart – – force specific service to stop and then start.
- Stop – stoop the specific service that we ham for .
- Pause – make the service to pause.
- Cont – this is the opposite from pause option.

Example :
If we want to stop the dns service all we need to do :

PsService \\ Dev01 Stop dns

• PsPasswd – let’s say that we need to change 50 users password, in the regular term we will do it with the users & computers snap-in and it will take us a lot of time, but with this tool we can simply create a .BAT file that do all the work for us.

• -Username – here we put the account that we want to change the pass for.

• -NewPassword – here we put the new account password.

Example :
PsPasswd \\dev01 David 123QWEasd

• PsSuspend –with this tools we can suspend system process that running and consuming resources on the machine .

-process id – we can suspend the process with the ID of the process .

-process name – we can suspend the process with the NAME of the process .

-R – Start the suspend process.

Example :
PsSuspand \\dev01 mspaint

• PsGetsid – here we can get user or a machine SID number.

Examples :

Psgetsid \\ Dev01 (Here we will get the machine SID)

Psgetsid %username% (Here we will get the user SID)

Visit Our Friends!

A few highly recommended friends...

Archives

All entries, chronologically...

Pages List

General info about this blog...