<?xml version="1.0"?><rss
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 version="2.0"
 >

<channel>
   <title>CommsCentral</title>
   <link>http://commscentral.net</link>
   <description>Technology, The Outdoors and Adventures Through a Technocrats Eyes</description>

<item>
         <guid>http://commscentral.net/tech/?post=33</guid>
         <title>Advanced setting preference pane add-in for OS X</title>
         <pubDate>Thu, 17 Dec 2009 21:48:09 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=33</link>
         <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
So a few weeks back I found a really useful application for mac OS X that allows setting of some advanced settings in OS X.&lt;br /&gt;
Now I can already hear the hardcore command line guys, saying, but you can do this at a command line level. yes I know! However this makes it easy, knows what the default was (incase you want to go back) but also tells you what advanced settings there are!&lt;br /&gt;
&lt;br /&gt;
The program is called Secrets and its a preferences plugin. The site is &lt;a target=&quot;_blank&quot; href=&quot; http://secrets.blacktree.com/ &quot;&gt; http://secrets.blacktree.com/ &lt;/a&gt; and they also have a really handly list of all the secrets, plus the command line commands to set them! Which is almost as handy as the program!&lt;br /&gt;
&lt;br /&gt;
I've certainly found it useful for a few bits and pieces!&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
Caveman...</description>
      </item><item>
         <guid>http://commscentral.net/tech/?post=32</guid>
         <title>Changing ESX virtual centre server when original virtual host no longer available</title>
         <pubDate>Tue, 14 Jul 2009 16:53:04 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=32</link>
         <description>Just a quick post today but I wanted to share something useful I discovered.&lt;br /&gt;
&lt;br /&gt;
I've got a vmware esx server that is setup and is managed using virtual centre. Due to hardware limitations we have virtual centre running inside a vmware on the esx server.&lt;br /&gt;
&lt;br /&gt;
I know this isn't best practice, however it is a supported configuration by vmware. &lt;br /&gt;
Recently we had a power outage that rebooted the server and the vm running virtual centre wasn't setup to start automatically so the virtual centre server didn't come back up.&lt;br /&gt;
This virtual centre server also handles the licensing for the esx host. Due to there being no licensing server available, after the 14 day grace period, esx wouldn't allow any new vm's to be started as it didn't have a license.&lt;br /&gt;
This presented me with a problem, I needed to start up the virtual centre server to fix the licensing issue, however esx didn't have any licenses to start the vm up........ URHHHHHHHHHHHHH!!!!!!!!!!!&lt;br /&gt;
&lt;br /&gt;
I figured the only solution would be to bring up another server with virtual centre installed and point the esx server at that so it would have a license and then allow me to boot up the vm before repointing the esx host back to its vm virtual centre. &lt;br /&gt;
&lt;br /&gt;
However there is a problem a I quickly discovered, ESX won't let you remove a virtual centre from managing it, unless it can contact that virtual centre server to say &amp;quot;goodbye&amp;quot;. &lt;br /&gt;
You can add the ESX host into the other virtual centre however it quickly disconnects and you can't manage it at all. &lt;br /&gt;
&lt;br /&gt;
After a bit of head scratching I found a solution. &lt;br /&gt;
1. ssh to your esx host.&lt;br /&gt;
&lt;br /&gt;
2. Edit your license.cfg file in &lt;b&gt;/etc/vmware/license.cfg&lt;/b&gt; (&lt;b&gt;vi /etc/vmware/license.cfg&lt;/b&gt; as root will do it)&lt;br /&gt;
&lt;br /&gt;
3. Here we have 2 possible solutions. 1, empty the file or 2, modify the line that reads like SERVER=27000@192.168.1.10 to something else.&lt;br /&gt;
I've found that solution 2 doesn't seem to work, I found solution 1 worked for me, but from the vmware docs option 2 should work.&lt;br /&gt;
&lt;br /&gt;
4. Then run &lt;b&gt;/sbin/service mgmt-vmware restart&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Your ESX host will now reboot and if you went option 1 at step three you will be able to add the ESX host back into another virtual centre server. &lt;br /&gt;
&lt;br /&gt;
Problem solved!...</description>
      </item><item>
         <guid>http://commscentral.net/tech/?post=31</guid>
         <title>Redirecting Documents and Settings and Local Settings on a Citrix / terminal server environment </title>
         <pubDate>Mon, 02 Mar 2009 22:53:30 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=31</link>
         <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
As most of my readers probably have gathered I work in IT for a company who supports environments for small to medium business. &lt;br /&gt;
Recently I've been working in a team to build a citrix server farm for around 300 users. &lt;br /&gt;
&lt;br /&gt;
In this project we had a particular application that does a local install into Local Settings in the users profile and these local settings needed to be saved and roamed from one server to another.&lt;br /&gt;
We were using windows roaming profiles due to their ease of support and deployment into an exiting environment. How this posed a specific problem, by default windows roaming profiles doesn't roam local settings or any of the folders contained within it.&lt;br /&gt;
&lt;br /&gt;
I discovered two possible solutions to this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution 1:&lt;/b&gt;&lt;br /&gt;
Was to redirect the whole Documents and Settings folder to another location such as on a file server or a mapped network drive (if UNC paths weren't supported).&lt;br /&gt;
This can be done with the following registry key: &lt;b&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory&lt;/b&gt;&lt;br /&gt;
The default value of this key is %SYSTEMDRIVE%\Documents and Settings however this can be change to anything. Like D:\Documents and Settings or changed to a network UNC path such as \\mainFileServer\tsprofiles which is what I would have done for our citrix farm.&lt;br /&gt;
&lt;br /&gt;
This will cause windows to use that path for its documents and settings folder. This would also remove the need to setup windows roaming profiles for the terminal server farm, as each server would have its documents and settings pointed to the same file server share.&lt;br /&gt;
It should also be noted that using this doesn't increase logon times, infact it will reduce them as it prevents the users profile from having to be downloaded from the profile server and cached locally on the terminal server itself until logoff, at which point it gets packed up and set back to the profile server.&lt;br /&gt;
However any file that is saved to the users profile will take longer, as instead of writing to a local disk, we'd be writing to a network share and we'd have all the network overhead to deal with.&lt;br /&gt;
It would also result in a lot of open files on the profile server, for example if word, and outlook where open, you'd have any outlook pst files open and words normal.dot amount other files. It becomes apparent that this number could quickly rack up.&lt;br /&gt;
&lt;br /&gt;
So why is this a worry?  When I file is opened via a remote share, this whole file has be able to be loaded into something called kernel memory by the kernel so the data can be fed off to the network stack. On a 32bit system the maximum amount of kernel memory possible is 2GB (yes I know 32bit OS's support 4GB of memory, however that's not native support and splits user land and kernel land apart, but this is outside the scope of this article).&lt;br /&gt;
If you happen to run out of kernel memory you will start getting unable to open file errors when trying to open a file over a network share or on the system itself, if the situation becomes bad enough you will find that core services like group policy processing won't be able to run and the server will lock up and have to be rebooted or have the open files closed (if that's possible).&lt;br /&gt;
 &lt;br /&gt;
If the 2GB max is not enough kernel memory the only option will be to go for a 64bit operating system. Current Microsoft 64bit operating systems can support up to 8 terabytes kernel memory, although in theory 64bit can address up to 16 exabytes. &lt;br /&gt;
See &lt;a target=&quot;_blank&quot; href=&quot;http://support.microsoft.com/kb/294418 &quot;&gt;http://support.microsoft.com/kb/294418 &lt;/a&gt; and the table under the heading System PTEs for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution 2:&lt;/b&gt;&lt;br /&gt;
Solution 2 certainly wins under the simple heading! &lt;br /&gt;
Clearing the value of the key &lt;b&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ExcludeProfileDirs&lt;/b&gt; causes windows roaming profiles to copy the local settings folder and the folders under them, just like any other folder in the users profile!&lt;br /&gt;
The default value of this key is: Local Settings; Temporary Internet Files;History;Temp&lt;br /&gt;
&lt;br /&gt;
In my case I just cleared this whole key, as I wanted all the settings to copy over, however some folders could still be left in here.&lt;br /&gt;
I also believe it would be possible to use this key to exclude certain folders inside the profile itself from being roamed and saved back to the profile server. Which would be handy if you were dealing with an application that had a really large and unneeded amount of data in a folder, which didn't need to be saved.&lt;br /&gt;
&lt;br /&gt;
This solution has a disadvantage in the fact that if the local settings folder is large it will increase logon and logoff times just because of the amount of data that has to be downloaded and upload. However in my case the profile server didn't have the resources to support all the open files from solution 1, so this was the only decent option left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have included a paste and a link to an group policy template I made that will clear this key for any user who has the policy applied and make local settings roam at the end of this post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have fun! &lt;br /&gt;
&lt;br /&gt;
Caveman&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------START RoamingLocalSettings.ADM-------------&lt;br /&gt;
CLASS USER&lt;br /&gt;
&lt;br /&gt;
CATEGORY !!RoamingProfiles&lt;br /&gt;
POLICY &amp;quot;Enable local settings in roaming profiles&amp;quot;&lt;br /&gt;
KEYNAME &amp;quot;Software\Microsoft\Windows NT\CurrentVersion\Winlogon&amp;quot;&lt;br /&gt;
VALUENAME ExcludeProfileDirs&lt;br /&gt;
VALUEON &amp;quot;&amp;quot;&lt;br /&gt;
VALUEOFF &amp;quot;Local Settings;Temporary Internet Files;History;Temp&amp;quot;&lt;br /&gt;
END POLICY&lt;br /&gt;
&lt;br /&gt;
END CATEGORY  &lt;br /&gt;
&lt;br /&gt;
[strings]&lt;br /&gt;
RoamingProfiles=&amp;quot;Enable local settings in roaming profiles&amp;quot;&lt;br /&gt;
---------END RoamingLocalSettings.ADM-------------&lt;br /&gt;
&lt;br /&gt;
Download ADM file &lt;a target=&quot;_blank&quot; href=&quot; http://commscentral.net/uploadedsitefiles/RoamingLocalSettings.adm &quot;&gt;HERE&lt;/a&gt;&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://commscentral.net/tech/?post=30</guid>
         <title>Microsoft RDP (remote desktop protocol) client options and tricks</title>
         <pubDate>Sun, 01 Feb 2009 21:12:29 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=30</link>
         <description>Today's topic is RDP, microsoft's remote desktop protocol. &lt;br /&gt;
Any windows server guy will know well about RDP and will probably use it on a day to day bases to access servers.&lt;br /&gt;
&lt;br /&gt;
RDP is a good implementation of a remote desktop program unlike VNC which is very laggy and slow. RDP still works well even on slow links, this is mainly made possible by actions being run in a virtual display space which are then sent back to the remote host, this gives rdp the feel that it quicker. It also doesn't bother tracking the mouse of the remote host and just inputs the mouse location and clicks to the best of my understanding.&lt;br /&gt;
But enough on how it works, that's for another topic. Today's topic is about the cool options the RDP client has.&lt;br /&gt;
&lt;br /&gt;
Please note: This is written for RDP 6.0 and above. Version 6 comes with vista and can be downloaded for server 2003 and xp. Service pack 3 for XP also comes with the new verison.&lt;br /&gt;
Some of the below commands are supported with the older 5.x series &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Clipboard copy&lt;/b&gt;, I work with dual monitors and work and I find that I regularly want to be able to copy a piece of text from my desktop machine to another machine via RDP. &lt;br /&gt;
To enable clipboard start the RDP client, go to options and then select the Local Resources tab.&lt;br /&gt;
Down the bottom you'll see group called Local Devices and Resources, on the left of this group there is a clipboard option. &lt;br /&gt;
NOTE: supported in version 6.x only&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Drive mapping&lt;/b&gt;. This is one I've found a lot of people may not know! Its possible to share a drive on your machine into a remote machine over an RDP connection. This is very very useful on corporate networks where you need to get a file to a server and the only opened port is the RDP port (3389).&lt;br /&gt;
To enable drive mapping go to options, then Local Resources then down the bottom click the more button, then tick drives or select all of them. Also note that RDP 6.x will detect drives you connect later to your machine and dynamically map then into the system your remoted onto, which ROCKS!&lt;br /&gt;
Also note in version 5.x of the RDP client the drives checkbox can be found just under Local Resources.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For slow links&lt;/b&gt;. For those forced to have to use RDP over a slow line (such a 10KB/s link) there are a few options that can be enabled to really make an improvement. Infact I've found RDP at 10KB/s to be more than usable!&lt;br /&gt;
The first option to enable is 256bit colours by going to options, then display and setting colours.&lt;br /&gt;
The next options you can enable to speed up performance are found under the experience tab in options.&lt;br /&gt;
Unticking all the options except for Bitmap caching (which you should leave enabled) will give you the least bandwidth usage possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Console&lt;/b&gt;. If you RDP to a single user licensed such as an XP or Vista desktop by default you will get what is called the console connection. When you connect to console via RDP you won't be able to access that same machine via is hardware display and keyboard. For example if I RDP to my XP desk machine from another machine, I won't be able to also use that same machine from my desk. &lt;br /&gt;
This also applies to windows servers, however by default windows 2003 server allows two NON console RDP connections. &lt;br /&gt;
Another cool feature of RDP console connections is if someone else is logged onto the console port it will prompt you if you want to force log them off (assuming you have rights to), where as on one of the other server 2003 rdp connections you will be told that the server is full. &lt;br /&gt;
This is very handy if your accessing the server/machine in an emergency and its ok to kick anyone else using the console off without using tsadmin to log their sessions off. &lt;br /&gt;
To start console mode in RDP, to go start run and type: mstsc /console &lt;br /&gt;
The /console flag forces RDP to load up in console mode. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RDP ports and connecting to RDP servers on different ports&lt;/b&gt;&lt;br /&gt;
The default RDP client port is TCP port 3389 and no other ports should be required.&lt;br /&gt;
The RDP server can be changed from port 3389 to another port, setting up the server is outside the scope of this article, however connecting to a different port isn't.&lt;br /&gt;
If you had a RDP server running on port 443 then in the RDP client you'd type the following: serverYouWantToConnecTo:PORT&lt;br /&gt;
So to connect to a server running on port 443 at the IP address 10.1.2.3 you'd put the following in: 10.1.2.3:443 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Modifying your default RDP settings&lt;/b&gt;&lt;br /&gt;
The default RDP settings for the version 7 of the RDP client are obtained from the Default.rdp file. This is a hidden file which is located in your my documents folder.&lt;br /&gt;
Opening this file in notepad will allow you custom change your default RDP settings, some of which you can't change via the GUI (at least to my knowledge).&lt;br /&gt;
Microsoft have a list of these options and what they do at &lt;a target=&quot;_blank&quot; href=&quot;http://support.microsoft.com/kb/885187&quot;&gt;http://support.microsoft.com/kb/885187&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I found recently a useful little trick to force your RDP settings not to change.&lt;br /&gt;
I logon to a terminal server to get onto the network of one of the networks I admin and from that TS box I remote to other servers, on the TS box I don't want my secondary RDP sessions (from the ts box to another server) to go full screen as then it becomes a real pain to switch between stuff I have open on the TS box and the RDP session.&lt;br /&gt;
I modified the desktopwidth and desktopheight values in the Default.rdp, however I don't want these values to be able to change and I discovered if I ever did logon full screen to a server it would reset back to full screen as the default.&lt;br /&gt;
I got around this by simple marking the Default.rdp file as read only in windows permissions.&lt;br /&gt;
A easy little trick that makes my life so much simpler day to day! &lt;br /&gt;
&lt;br /&gt;
Thats all the regular RDP options I use, I'd love to hear your feedback if there are some others which you find super useful!&lt;br /&gt;
&lt;br /&gt;
Caveman &lt;br /&gt;
&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://commscentral.net/tech/?post=29</guid>
         <title>Logon to dual gtalk accounts</title>
         <pubDate>Tue, 30 Dec 2008 11:31:07 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=29</link>
         <description>Today I found a very neat little trick today with the google gtalk client which allows you to logon to multiple gtalk accounts at the same time. &lt;br /&gt;
&lt;br /&gt;
If you start the gtalk.exe with the /nomutex flag it will allow you to load multiple different instances of the program. Hence your able to logon to two (or more) gtalk accounts from the single machine while only having the one client installed once!!&lt;br /&gt;
&lt;br /&gt;
In my case I just updated my start menu icon target to &amp;quot;C:\Program Files\Google\Google Talk\googletalk.exe&amp;quot; /startmenu /nomutex &lt;br /&gt;
&lt;br /&gt;
Hats off to Google! Good work boys, smart design!&lt;br /&gt;
&lt;br /&gt;
Caveman&lt;br /&gt;
...</description>
      </item><item>
         <guid>http://commscentral.net/tech/?post=28</guid>
         <title>Converting a SOE install into a VMware image</title>
         <pubDate>Wed, 24 Dec 2008 14:45:30 +1000</pubDate>
         <link>http://commscentral.net/tech/?post=28</link>
         <description>Like most companies we have a bunch of SOE (standard operating environment) that run on our various machines.&lt;br /&gt;
&lt;br /&gt;
We currently seem to be having a lack of physical hardware onhand as test machines.&lt;br /&gt;
I figured the second best would be to create an ESX server machine and then just load a whole heap of SOE images into that and use those as our test hardware.&lt;br /&gt;
I know the hardware layer drives will be different, however its good for just being able to run through testing of applications and testing software deployments which is my part of the world.&lt;br /&gt;
&lt;br /&gt;
Only one question remains, how do you get these SOEs into ESX?&lt;br /&gt;
Just installing via the ISO into vmware fails, as the SOE doesn't have the driver files for vmware ESX.&lt;br /&gt;
The best option is to use the free &lt;a target=&quot;_blank&quot; href=&quot; http://www.vmware.com/download/converter/ &quot;&gt;vmware converter&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The vmware converter will convert various version of vmware images into different types but more importantly it will convert physical hardware into vmdk's (vmware disk files) that can be loaded into esx.&lt;br /&gt;
&lt;br /&gt;
To convert our SOE into ESX I did the following.&lt;br /&gt;
1. Image a laptop with the SOE (was one test machine we DID have!)&lt;br /&gt;
2. Install vmware converter&lt;br /&gt;
3. Select vmware converter to convert the local machine directly into my ESX server.&lt;br /&gt;
&lt;br /&gt;
During doing this I discovered something about vmware converter which is really cool!&lt;br /&gt;
&lt;br /&gt;
You can select a remote machine!! This means I can install vmware converter onto a server or desktop and then use that to convert laptops etc that I connect up to the network into vmdk's without having to install vmware converter on each one!&lt;br /&gt;
&lt;br /&gt;
It should be noted that this obviously requires full admin access to the machine that your converting and full access to the ESX server to import the images.&lt;br /&gt;
&lt;br /&gt;
I'm not sure when this remote feature was added to vmware converter, but I don't remember it being in previous versions. &lt;br /&gt;
&lt;br /&gt;
Certainly very cool! And now I have all the SOE images on my virtual machine to mess around with.&lt;br /&gt;
&lt;br /&gt;
Caveman&lt;br /&gt;
 ...</description>
      </item></channel>
</rss>
