Author Archives: Sean

Remove Windows 10 build-in Apps

Uninstall 3D Builder:

    Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Uninstall Alarms and Clock:

    Get-AppxPackage *windowsalarms* | Remove-AppxPackage

Uninstall Calculator:

    Get-AppxPackage *windowscalculator* | Remove-AppxPackage

Uninstall Calendar and Mail:

    Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

Uninstall Camera:

    Get-AppxPackage *windowscamera* | Remove-AppxPackage

Uninstall Contact Support:

This app can’t be removed.

Uninstall Cortana:

This app can’t be removed.

Uninstall Get Office:

    Get-AppxPackage *officehub* | Remove-AppxPackage

Uninstall Get Skype:

    Get-AppxPackage *skypeapp* | Remove-AppxPackage

Uninstall Get Started:

    Get-AppxPackage *getstarted* | Remove-AppxPackage

Uninstall Groove Music:

    Get-AppxPackage *zunemusic* | Remove-AppxPackage

Uninstall Maps:

    Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Uninstall Microsoft Edge:

This app can’t be removed.

Uninstall Microsoft Solitaire Collection:

    Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Uninstall Money:

    Get-AppxPackage *bingfinance* | Remove-AppxPackage

Uninstall Movies & TV:

    Get-AppxPackage *zunevideo* | Remove-AppxPackage

Uninstall News:

    Get-AppxPackage *bingnews* | Remove-AppxPackage

Uninstall OneNote:

    Get-AppxPackage *onenote* | Remove-AppxPackage

Uninstall People:

    Get-AppxPackage *people* | Remove-AppxPackage

Uninstall Phone Companion:

    Get-AppxPackage *windowsphone* | Remove-AppxPackage

Uninstall Photos:

Get-AppxPackage *photos* | Remove-AppxPackage

Uninstall Store:

    Get-AppxPackage *windowsstore* | Remove-AppxPackage

Uninstall Sports:

    Get-AppxPackage *bingsports* | Remove-AppxPackage

Uninstall Voice Recorder:

    Get-AppxPackage *soundrecorder* | Remove-AppxPackage

Uninstall Weather:

    Get-AppxPackage *bingweather* | Remove-AppxPackage

Uninstall Windows Feedback:

This app can’t be removed.

Uninstall Xbox:

    Get-AppxPackage *xboxapp* | Remove-AppxPackage

Understanding Citrix Performance Issues

Bottleneck: provisioning services. Customers note there is excessive Network I/O and CPU utilization.
Bottleneck: vDisk fragmentation or server virtual instances. Customer notes there is excessive page file utilization and disk I/O.
Bottleneck: delays mounting new vDisks. Check for excessive Network and Disk I/O on delivery controllers.
Bottleneck: delivery controllers. Check for excessive historical CPU utilization.
Bottleneck: slow application enumeration. Check for excessive disk and network I/O on the data collectors.
Bottleneck: slow session creation noted within the director console: Check for historical CPU and Memoyr consumption, consider adding VCPU and memory when/where needed.
Bottleneck: higher than expected user logons. Check for high CPU and/or network utilization (not historical but may trend at random intervals). Add processing or new delivery controller if necessary to handle the expected loads.
Bottleneck: issues with local host cache (LHC). Disk and Page File I/O in excess can cause unanticipated issues with LHC. Alert and adjust when/where needed.
Bottleneck: Processor intensive apps. Check questionable servers for larger disk I/O and page file utilization. Consider adding more VCPU’s and/or memory to offset the demand on disk and page file.
Bottleneck: vDisk and/or Provisioning Services. Check for higher than normal CPU and/or Memory consumption as a deficiency will slow down the loading of vDisks and caching via Provisioning Services (PVS).
Bottleneck: Web interface authentication. Consider adding more memory and looking at network utilization trends. It may be necessary to either add more memory or to add an additional WI to your GSLB URL.
Bottleneck: slow PXE and vDisk. Check for memory and/or network utilization and consider addresssing depending on noted trends.
Bottleneck: target device latency. Check CPU and network I/O for spikes and/or trending issues.

use unix socket instead of tcp connection for memcached to speed up web servers

By default, memcached is listening on port 11211 for all connections. But for a single server, it’s better to config memcached to use unix socket which improve the performance and reduce the legacy.

On freebsd, it’s easy to change from TCP/IP to unix socket. But there are some steps you need to pay more attention.

1. Modify rc.conf to force memcached to use unix socket.

memcached_flags="-m 2048 -s /tmp/memcached.sock"

2. Modify the connection string in your php files.
For TCP connection, use

$_config['memory']['memcache']['server'] = '127.0.0.1';
$_config['memory']['memcache']['port'] = 11211;

If you are using php-memcache, you should change it to

$_config['memory']['memcache']['server'] = 'unix:///tmp/memcached.sock';
$_config['memory']['memcache']['port'] = 0;

If you are using php-memcached, you should change it to

$_config['memory']['memcache']['server'] = '/tmp/memcached.sock';
$_config['memory']['memcache']['port'] = 0;

3. Another thing I found in Freebsd is that if you force memcached to use unix socket, every time you restart the service, memcached will change the socket file permission to 550 which means php can’t connect to the socket file. So you need to grant php user access to that file.

chmod 777 /tmp/memcached.sock

You need to do this each time after you restart memcached.

ESXi: Unable to connect to MKS: The operation is not allowed in the current status.

Unable to shut down, migrate or doing pretty much any operation to a VM with error message including «operation is not allowed in the current state»?

Solution might be enabling ssh on the esxi host, login and try:

Run the esxtop utility using this command:esxtop
Press c to switch to the CPU resource utilization screen.
Press Shift+v to limit the view to virtual machines. This may make it easier to find the Leader World ID in step 6.
Press f to display the list of fields.
Press C (uppercase) to add the column for the Leader World ID.
Identify the target virtual machine by its Name and Leader World ID (LWID).
Press k.
t the World to kill prompt, type in the Leader World ID from step 6 and press Enter.
Wait 30 seconds and validate that the process is not longer listed.

In vSphere client, check if the machine detects it is shut down, if it doesn’t happen right click and choose shut down, hopefully this will work now.

Ref: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014165