Reset Remote Sessions – RDP

Errr I hate when I or someone else left thier remote RDP sessions open and then we run out of sessions. Then you see something like this! Grrrrr…

image

To get around this issue I usualy login to server using console mode:

mstsc /v:150.179.241.90 /f –console

But trust me sometimes this even doesn’t work! why don’t know…

There are some other ways to get around this. Best way to handle this is using your command prompt.

QWinsta

QWinsta is little different and better. It has more features and options. It comes with all flavors of Windows. 

C:\>qwinsta /server:150.179.241.90

SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
ica-tcp#961           yves                          10   Active  wdica
ica-tcp#962           marc                          1    Active   wdica
ica-tcp#984           rden                          5     Active  wdica

 

RWinsta

RWinsta has same parameters and does same thing as log off command. It simply means Reset WINdows STAtion.

C:\>RWinsta /Server:150.179.241.90 1

Or you could use logoff

Logoff

Logoff command kicks off (logging off) the specified remote session.

C:\>logoff /server:150.179.241.90 1 /v

ZitizonX

OK What’s Next…

5 years ago I was wanting to become a Network & Security Engineer so badly. I sacrificed so many things to come this far. Specially my precious youth where I could just enjoy so many other things other than writing a program or configuring a router. But everything I planned 5 years ago were archived successfully.

I got a degree from a good university, have industry experience for more than 2 and half years, I have industry certifications like CCNA, MCSA, CCNA Sec and studying for CCNP and CCSP, also eventually step in to CISSP and looks great huh! What a great technology career.

Now I don’t want any of that. Why??? See, the reason behind I needed to become this person called a professional, because I could live the life that I wanted, I get the attention from the people I loved and I don’t have to struggle so much in my life.

Now what I want is my own company. It could be in IT, could be in Clothing, or could be just another Import/Export company. That’s all in my mind right now. So now I am struggling for the 1st time in my life. I know my IT skills and experience going to help me whatever I do in the future, but all the hard work I have done would it be wasted?

I am in position to start my own business. Yes I am in a great position to start my own thing. Do I have the contacts I needed, yes I do have great contacts. Do I have enough money to get things started, yes I do have money to invest and also I have good investors. Do I have enough experience , probably not, but nothing is perfect in this world.

So if I want to become a company owner should I have to give up my career and step in to whole new world. People say different things, as I always do, should I experience this by myself. Should I still keep reading my articles and studying my CCNP stuff?

Confused for the 1st time in my life!

Change the default startup directory for Command Prompt

  • Click Start, Run and type Regedit.exe
  • Navigate to the following branch:

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor

  • In the right-pane, double-click Autorun and set the startup folder path as its data, preceded by “CD  C:\Program Files\Nmap> “. If Autorun value is missing, you need to create one, of type REG_EXPAND_SZ or REG_SZ in the above location.

Windows 7 – Beta is Outtttttttttttttttttt

Amazing! Yes that’s the word. Yesterday I download the New Windows 7 beta and I got a chance to install at work in one of my VMware box. Believe me or not fresh copy of Windows 7 installed in just 12 min.

Other than me saying how cool and how fast it is, explore it by your self. Listen I didn’t get too much time to really play around with all other components of the OS. But definitely they have improved a lot of performance issues which they had with Vista. And I have to say the boot time is extremely faster than Vista.

The VM I allocated for this is just 512 MB RAM and it works fine and fast. But MS recommended at least 1 GB of RAM for Windows 7.

windows 07

There are plenty of new features added to Windows 7. Please read,

http://en.wikipedia.org/wiki/Windows_7

http://windows7news.com/

http://www.winsupersite.com/faq/windows_7.asp

But the visual effect is very similar to Vista, I don’t personally see much difference between them.

Major Changes are…….

Kernel. Windows 7 carries a new Kernel (Faster Kernel), it is quite likely that the OS will include parallel processing capabilities, which will be implemented as .NET Framework 4.0 APIs.

Virtualization. “With Windows Server 2008 now shipping with hypervisor-based virtualization capabilities, it’s obvious that this technology will be making its way to the Windows client as well. Will it happen in time for Windows 7? Yes, it probably will. But Windows 7 will natively support the VHD virtual hard drive format utilized by Virtual PC and Hyper-V regardless.” Look I haven’t tested any virtualization mechanism in 07.

Sensors. Windows 7 will include context-aware application support via a new "sensors" facility. One example: A location sensor can tell "where" your PC is and compatible applications can act accordingly. Applications can use sensor information to offer customized and enhanced services, according to Microsoft’s documentation. Because of the privacy implications of sensors, this feature is opt-in and highly configurable

Windows 07 will be shipped in 2010. So there will be features getting added till then bug fixing!

YaY I am MCP (70 – 291)

I have completed the MCSE module 70 – 291 yesterday, Implementing, Managing, and Maintaining a Windows Server 2003 Network Infrastructure.

Questions were heavily focused on DNS management, ISA server, GPO, DHCP server management, WSUS. Some of the questions were really silly, I personally don’t think some of those questions are practically challenging in the industry.

Alright one down, 6 more to go to be MCSE! But now I am MCP

Nmap Official Book is Out

Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning (Paperback)

by Gordon Fyodor Lyon (Author)

The book that we all being waiting for. It seems like it has included all the techniques in port scanning and enumeration. You can buy this in Amazon;

Return to product information

http://www.amazon.com/gp/offer-listing/0979958717/ref=dp_olp_new?ie=UTF8&condition=new

Windows Domain Name Service Basics

Windows DNS

 

What is a Zone and what is a Domain

 

Forward and Reverse Lookup Zones

 

Resource Record Types

 

Host(A) Record

Host records, or A records, simply map a hostname to an IP address. You generally
create host records for each machine in your network.
A sample A record looks like this in a zone file:

colossus A 192.168.0.10

Canonical Name (CNAME) Records

 

Mail Exchange (MX) Records

 

Nameserver (NS) Records

 

Start of Authority (SOA) Records

 

Pointer (PTR) Records

 

Service (SRV) Records

 

Primary and Secondary Name Servers

VMWare, VirtualBox, Windows Hyper-V, Qemu

VMWare

image

VirtualBox

image

Windows Hyper-V

image

Qemu

image

How to get Local and Global Group Memberships in Command Line

I have been looking around a way to get all the Local and Global Group Memberships in command line for the past few days. Initially this issue was raised by one of my colleagues at work and he asked me whether I know how to get all the groups that a user in Active Directory is member of.


net users rdenawaka /domain

 

How to add your Outlook 2003 personal contact details to address book.

 

Step 1

Go to Tools > Email Accounts

Under Directories select Add A New Directory Or Address Book and click Next.

Select Additional Address Books and click Next

Select Personal Address Books and click Next

Click Ok.

 

 

Step 2

Go to your Contacts in outlook. (Short cut Ctrl + 3)

Right click on Contacts and select Properties.

Go to the 3rd tab which is “Outlook Address Book

Select Show This Folder as an Email Address Book

 

 

Go to your global address list (Short cut Ctrl + Shift + B)

You should be able to see the newly created address book in there.