Sunday, November 11, 2012

Enable and apply permission on a Windows Authentication of a page in IIS 7.5 (Windows 7)

1. Go to “Control Panel” –> “Programs” –> “Programs and Features”

2. Click “Turn Windows features on or off”

3. Turn on “Windows Authentication” (Expand “Internet Information Services”, then “World Wide Web Services”, then “Security”.)

image

4. Create a “Virtual Directory” of the page folder (e.g. “admin”) and enable “Windows Authentication”

image 

image

5. Add the users who are allow login this page to the folder NTFS permission

image

Print Friendly and PDF
Share/Bookmark

Oracle jinitiator for Windows MPS 2011 (Based on windows server 2008 r2)

For using oracle jinitiator 1.3.1.21 on Windows MPS 2011, please download the following jvm.dll

http://www.dlldump.com/download-dll-files_new.php/dllfiles/J/jvm.dll/-/download.html

Print Friendly and PDF
Share/Bookmark

RemoteFX on Windows Server 2008 R2/Hyper-V Server 2008 R2/Windows MultiPoint Server 2011

The Remote FX will be applied to two distinctly different things in Windows Server 2008 R2 SP1

1.       The RemoteFX virtual GPU:  A virtualized, 3d-capable vgpu that be used in VDI scenarios and Windows 7 VMs.

2.       The RemoteFX codec:  An encoding method to make the RDP pipeline work better for HD Content.

When we enable “RemoteFX” in MultiPoint Server 2011, it is only doing the RemoteFX codec..

The full function RemoteFX will only able to run under the following condition:

Server Side

  1. A Windows 7 Enterprise or Ultimate edition (64bits with SP1) VM which is hosted by Windows Server 2008 R2 SP1 (Hyper-V) or Hyper-V Server 2008 R2 SP1
  2. Windows Server 2008 R2 SP1 with RDS enabled.

Remark: The physical machine needs to install a standalone GPU display card (e.g. Nvidia or AMD (ATi) display card) (The official support model are those workstation grade display card e.g. Nvidia Quadro series and AMD (ATi) FirePro) (*I able to use a Nvidia GeForce GT520 in my testing lab machine – not official support) 

Client Side

  1. Windows 7 with SP1
  2. A OS which is able to running a RDP 7.1 (Support RemoteFX) like some Linux device with 3rd parties application

The test lab of RemoteFX which is using GeForce GT520 display card

The display card driver:

GEFORCE R295 DRIVER

Version:

296.10 WHQL

Release Date:

2012.03.13

Operating System:

Windows Vista 64-bit, Windows 7 64-bit

Language:

English (U.S.)

File Size:

158 MB

http://www.nvidia.com/object/win7-winvista-64bit-296.10-whql-driver.html

Reference:

http://blogs.msmvps.com/russel/2011/11/03/remotefx-and-windows-multipoint-server-2011/

http://kristiannese.blogspot.com/2011/02/faq-dynamic-memory-and-remotefx-windows.html

http://social.technet.microsoft.com/Forums/en-US/windowsmultipointserver/thread/7ae274d4-e8e6-4b01-99ad-b6605c47c4cf

http://social.technet.microsoft.com/Forums/hr/windowsmultipointserver/thread/a0df8e14-f758-4b0d-a41b-a82e0b39e170

http://technet.microsoft.com/en-us/library/ff817602(WS.10).aspx

http://blogs.technet.com/b/puneetvig/archive/2011/04/21/remotefx-windows-server-amp-hyper-v-server.aspx Print Friendly and PDF
Share/Bookmark

Windows Server 2003 R2 File Server Resource Manager Not Working

The File Server Resource Manager (FSRM) not working and you receive the following errors:

1.        File Server Resource Manager service doesn't start

image

2.        The Error 7023 about the Fo;e Server Resource Manager service terminated with the following error: “File Server Resource Manager is not a valid Win32 application”

image

3.        File Server Resource Manager snap-in doesn't display information about server (Displays the message "Unable to connect to File Server Resource Manager..."

image

The problem maybe caused by misuse the 64bits CD (Windows Server 2003 R2 disc 2) to install the FSRM to a 32bits OS or use the 32bits CD to install the FSRM to a 64bits OS.

To solve this problem, please use the following method should be work: (Example for 64bits OS)

1. Replace the dfsext.dll from the other Win2k3 R2 SP2 x64 server.
2. Replace the srmsvc.dll from the other Win2k3 R2 SP2 x64 server.
3. register this file using RegSrv32 "RegSrv32 srmsvc.dll"
4. type - fltmc filters checked those filter is not running:
5. Run the following command to run those filters
    fltmc load Quota
    fltmc load Datascrn

image

The FSRM will be work now.

Reference:

http://www.thedailyadmin.com/2008/08/file-server-resource-manager-not.html
http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/ab66bad3-e9b9-4b68-9ffd-1db0efb88ca2/
http://bradmarsh.net/index.php/2008/11/03/file-server-resource-manager-not-saving/

DataScrn Datascren.sys is a kernel-mode mini-filter file system driver that implements the file screening checks in real time on configured volumes and folders.


Quota Quota.sys is a kernel-mode mini-filter file system driver that implements the quota checks in real time on configured volumes and folders.

 
SrmSvc Srmsvc.dll is an application-type service that starts automatically on system startup and runs as a standalone process. It is visible as File Server Resource Manager.

SrmReports Srmhost.exe is an application-type service that runs as a standalone process. It can be started manually or when scheduled reports are configured to run. The service is visible as File Server Storage Reports Manager.

Source:http://technet.microsoft.com/en-us/magazine/2006.05.getcontrol.aspx

Print Friendly and PDF
Share/Bookmark

Friday, November 9, 2012

Move VM which is host by ESXi to a new datastore (Other Physical host) and preserve thin-provisioning

1. By using vSphere client to connect to the source ESXi and go to File –> Export –> “Export OVF template”

2. Connect to the destination ESXi by using vSphere client.

3. Go to “Deploy OVF template”

Print Friendly and PDF
Share/Bookmark

Thursday, November 8, 2012

How to move the vmdk (thin provisioned disk) between datastore within a same physical host (ESXi) and keep it in thin provisioned

For copying vmdk files, there is a tool called ‘vmkfstools’ available on the ESXi server.

The tool will reverts a vmdk which was blown up, back into a thin file.

The command format –> vmkfstools -i "source.vmdk" -d thin "destination.vmdk"

e.g. vmkfstools -i /vmfs/volumes/datastore1/VM33/VM33.vmdk -d thin /vmfs/volumes/iSCSI/VM33_iSCSI/VM33.vmdk

Reference:

http://www.how2blog.de/?p=98
http://vaemon.com/article/910.html

Print Friendly and PDF
Share/Bookmark

Windows 7 move user profile to another drive (e.g. C:\Users\<Username> to I:\Users\<Username>)

1. Login with administrator account


2. Relocate your user data to other non-system volume, for example from C:\Users\<Username> to I:\Users\<Username>


3. Use mklink to create a symbolic link from C:\Users\<Username> to I:\Users\<Username>

Command: “mklink /D C:\Users\J I:\users\J”

image

Re-login use your own account,you will find nothing changed,but in fact your physical user data is on drive I.

image

image

Run the command with administrative privilege. Also make sure the C:\Users\<Username> do not exist before run this command. (The folder should be move to the I:\Users\<Username>

5. Login by using the user account of this user profile. Print Friendly and PDF
Share/Bookmark

SAS SATA Compatibility

SAS SATA Compatibility

-> SAS backplanes OK with SATA drives

-> SATA backplanes not OK with SAS drives

Source:

www.techcable.com/SAS-SATA/SAS-SATA.pps

Print Friendly and PDF
Share/Bookmark

How to stop file copy on a VMware ESXi 5.0 which is started by vSphere client

When you start a file copy on a VMware ESXi machine by using vSphere client, you will find that you cannot "stop” (Cancel this task) it.

image

The workaround is SSH to the ESXi host and run the following command from the vCLI

# /sbin/services.sh restart

It will restart the management agent (Include All management services, including: hostd, ntpd, sfcbd, slpd, wsman, vodb), the vSphere client connection will be disconnected.

Print Friendly and PDF
Share/Bookmark

Printing slow on old machine after Printer server have been migrate to Windows Server 2008 R2

The printing slow on old machine after Printer server have been migrate to Windows Server 2008 R2, it is because those machine is not fast enough to do the render print job. In previously, all the print job rendering will be handle by Print server. Start from Windows Server 2008, all the print job rendering will be handle by default for client. It is because it will helping to reduce the workload on the print service (printer spool) on the server. It is helping to prevent the service overload, and then this service down, all user cannot print.

The workaround solution is disable the print job rendering on the client side:

image

Print Friendly and PDF
Share/Bookmark

FortiGate – FortiGuard Web Filtering and URL Filtering

Web Filtering – FortiGuard Center for URL/IP Rating and Information Lookup

http://www.fortiguard.com/webfiltering/webfiltering.html

If the website have been blocked by FortiGuard Web Filtering, you will see the screen like the following:

image 

You can also submit request to remove/re-category from the vendor DB if you think the website is mis-category.

http://url.fortinet.net/rate/submit.php

image

If the website have been blocked by URL filtering (which is defined by administrator), you will receive a screen like the following:

image Print Friendly and PDF
Share/Bookmark

Sunday, November 4, 2012

How to make a non proxy awareness application to use IE proxy setting (Windows 7)

Check the machine is it enable proxy setting for a non proxy awareness application by running:

netsh winhttp show proxy

If you got the following result:

Current WinHTTP proxy settings:

   Direct access (no proxy server).

You will need to run the following command:

netsh winhttp import proxy ie

You will got the following return:

Current WinHTTP proxy settings:

    Proxy Server(s) :  192.168.233.29:12345

    Bypass List     :  192.168.*.*;10.*.*.*;*.*.abc.com;172.16.*.*;<local> Print Friendly and PDF
Share/Bookmark

How to keep a Android phone WiFi always on (Android OS 2.3)

In Wifi settings, click menu -> advanced -> Wi-Fi sleep settings -> "Never"

By default, the WiFi will disconnected when the screen is goes off.

Print Friendly and PDF
Share/Bookmark

How to uninstall Lync 2013 and install the Lync 2010

1. Go to “Control Panel” -> “Program and Features” -> “Microsoft Office Professional Plus 2013”
2. Change
3. Add or remove features”
4. Go to “Microsoft Lync” -> select “Not available”
5. Open "CMD" and runas administrator
6. Enter "regedit"
7. Search the registry for any references to "Lync_CoreFiles" and deleted them. ( I find two in my machine)
8. You will able to install Lync 2010 now.

Reference: http://community.office365.com/en-us/forums/166/p/65551/253459.aspx

Print Friendly and PDF
Share/Bookmark

How to use the EventCombMT utility to search event logs for account lockouts

The EventCombMT is one of the tool for find our the reason of a account lockouts.

For more information, please check the following link:

http://support.microsoft.com/kb/824209

http://itknowledgeexchange.techtarget.com/it-trenches/tracking-down-that-usercomputer-that-locks-ad-accounts/

Print Friendly and PDF
Share/Bookmark

Remove archive attributes (bit)

cd "folder_name"

attrib -A * /S

It will remove archive attributes (bit) of all files under this folder.

Print Friendly and PDF
Share/Bookmark