Tuesday, May 18, 2010

Configuring networking from the ESX service console command line

This VMware KB article provides steps to configure networking for an ESX host when you only have access to the service console.

Monday, May 17, 2010

How to modify the ESX Login Message

Logon directly to ESX Host and edit the motd file


1.Enter in the prompt nano /etc/motd
2.Create a message or some welcome banner
3.Press Ctrl o
4.Press Enter
5.Press Ctlr x

Dell Console Redirection fails with Login Failed - Error "Channel in use"

First of all simply clear the cache on your browser. In most cases this should resolve the issue.But if this fails then perform the following steps:


  1. Close all your IE sessions (In some case you might need to reboot your machine if the session veiw is locked by anther sessions).
  2. Go to c:\WINDOWS\Downloaded Program Files
  3. Right click on 'session viewer' and click remove
  4. Right click on 'rac5vm control' and click remove
  5. Finally, Clear out your browsing cache again.
This should resolve your "channed in use" error with Dell Console Redirection issue.

How to run Remote Desktop Console using CLi

You can use mstsc to create connections to terminal servers or other remote computers.
For example, to connect to the console session of a server, type:

mstsc /v:servername /console

For addition help, run mstsc /? on cli, whic will provide you all the addtional switches and syntax:

/v:ServerName[:Port] - Specifies the remote computer to which you want to connect and optionally, the port number to which you want to connect.

/console - Connects to the console session of the specified Windows Serve.

/f - Starts Remote Desktop connection in full-screen mode.

/w: - Specifies the width of the Remote Desktop window.

/h: - Specifies the height of the Remote Desktop window.

/public - Runs Remote Desktop in public mode.

How to create an "Offer Remote Assistance" shortcut

Being part of IT infrastructure team, occasionally I need to provide support to end users when the desktop support guys are not available. This is when I found the remote assistance feature very handy, providing support to end users without moving from your workstation.

I found the quickest and the easiest way to launch the “Offer Remote Assistance" is to create a shortcut on your desktop:

To do this, simply create a shortcut that points to following url:

%windir%\explorer.exe "hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Unsolicited/Unsolicitedrcui.htm"

Wednesday, May 12, 2010

How to Configure ssh for root user in VMWare ESX

Logon directly to ESX Host and edit the configuration file for ssh

  1. Enter in the prompt nano /etc/ssh/sshd_config
  2. Find the line PermitRootLogin and change the value of PermitRootLogin no to yes
  3. Press Ctrl o
  4. Press Enter
  5. Press Ctlr x
Finally, you need to restart the ssh service by entering the following command:
  1. service sshd restart
  2. Press Enter
Once you completed the above steps, simple use putty to test that changes you made is working fine by allowing you to logon via service console with the root privileges.

     
 

Tuesday, May 11, 2010

Permissions to Manage Mailbox Servers

So here is the command that you use to add mailbox permissions:


Add-MailboxPermission -Identity "Some User" -User fawad -Accessright Fullaccess -InheritanceType all

Here are some more parameters for -Accessright, which is actually the most important part of the command that can be used to control the permission:

FullAccess
DeleteItem
ReadPermission
ChangePermission
ChangeOwner
ExternalAccount
SendAs

MS Reference article: Answer Available Here


 

Thursday, May 6, 2010

How to Unblock Attachments in Microsoft Outlook

In order to unblock attachments in MS outlook, you need to follow few simple registry modification. But it is recommended to backup your registry before you start editing it.


Go command prompt (cmd) then regedit (press enter) and then go to:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security

1. Backup your registry by right clicking and select Export.

2. Add a new String Value called: Level1Remove

Once you added the string value then you need to edit it and save the value data to the extension you wish to allow but makesure you add a semi colon delimiter after each extensions.

For Example: .mdb or .mdb;.exe;.scr;.bat and so on

3. Finally, you need to restart outlook without rebooting you pc.

Please refer to MS KB for further details