Skip to main content

Posts

Showing posts from April, 2013

Low disk space on C: on windows 2008 x64 server

If you face a condition where in the C:\ on server 2008 x64 (in my case SCOM 2007 R2 CU5 RMS server) becomes full and you have no more space and don't know what to delete : This is what i deleted and think didn't affect my sever. Clean up Winsxs a little bit: C:\Windows\winsxs http://blogs.technet.com/b/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx Deleted the files under C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp  (5GB)  -- the file modified dates were 3 years ago. So i took a chance Move the archive Security Logs to other location : C:\Windows\System32\winevt\Logs (5GB) You can run Disk Cleanup utility (however you need to Install Desktop Experience feature on the server as Disk cleanup is not part of Windows 2008 and need to be added as a feature) Uninstalled programs from the server that no longer were needed. (e.g management pack Installers , some software which i no lo

Exporting Group Membership from AD

Sometimes you may find yourself in a situation where you have to export the members of a security group from AD. In such a situation we can use following commands : (On a server were AD tools - remote Administration tools are installed) dsquery group -name “Group Name” | dsget group -members > users.csv However this will give results with the respective LDAP paths e.g CN=Server01,OU=V,OU=Servers,OU=Computers,OU=Loc,DC=domain,DC=com You might have only wanted to get the name not the netire path. Just open the csv file you exported and  (Press Ctrl + H )  i.e Find and  Replace these 1 by 1 Use Replace All option , the image is shown here: OU=* CN= , Additionally you may also use the following command: net group “Group Name” /domain > users.csv Again you have to do some formatting of the results. Hope this helps.

XenApp 6.5 Apply Full Load Evaluator for Server Maintenance

In XenApp 6.5 in case you want to drain the sessions so that eventually you could reboot the server for maintenance. there is an option in the XenApp console , where in you can do the following: This is same as the (drain mode) of Microsoft RDS 2008 R2. However i have had mixed results with this and sometimes when i prohibit logons it changes it back to Allow logons . Also this disables the functionality of RDP as well. I have found using load Evaluator is a better and good option to accomplish maintenance mode for Citrix Xenapp Servers. In XenApp 6.5 we cant assign load Evaluators to Servers directly , so have to use Worker Groups. Firstly I created a Load Evaluator (named it Full Load) and used Scheduling Rule. This Load evaluator if applied to a Worker Group , will apply Full Load (10000) to all servers in the Worker Groups. I then Created a Worker Group and Named It -- Full Load Worker Group I used Farm Server as Select Source instead of Active Directo