2013年6月25日星期二

Installing Remote Desktop Services

Open the Server Manager and right-click on roles, select Add Roles from the context menu
Click next on the Before You Being page to bring up a list of Roles that can be installed, select Remote Desktop Services and click next
On the Introduction To Remote Desktop Services page click next, this will bring you to the Role Services page, select the Remote Desktop Session Host as well as the Remote Desktop Licensing Service and then click next.
When you get to the application compatibility page it tells you that you should install the Session Host Role before you install your applications, just click next as we have not yet installed our applications. You are then asked if you want to require NLA, this will only allow Windows clients to connect to the Remote Desktop Session Host Server, in addition they must be running a Remote Desktop Client that support Network Level Authentication. I will go ahead and require NLA and then click next

Now you have to choose a licensing method, most of you guys wont have Remote Desktop Client Access Licenses, so you can leave your option at Configure Later this will give you unlimited access to the Remote Desktop Server for 4 Months (120 Days). However, if you do have licenses here is some information help you make your choice:
Licensing Modes
The licenses you purchased can be used either as Per User or Per Device. It is purely up to you, however if you already have a RDS Licensing Server you will have to choose the same option you chose when importing the licenses originally.
  • RDS Per User CAL –  This means that every user that connects to the RDS Server must have a license. The user is assigned the license rather than the devices that he/she connects to the server from. This mode is a good choice if your users want to connect from a lot of different computers or devices (iPad, Home PC, Laptop, Phone etc)
  • RDS Per Device CAL – If your users share a common workstation this is the mode for you, the license is given to the device rather than the users, this way many people can connect from a single device. However, if they try to connect from a different device they will not be able to since their user account doesn’t have a license.
I will leave mine at configure later and click next
Now you should specify who can connect to the Remote Desktop Server, I will just add my user account (Windows Geek), then click next
You are now given the option of making the RDS Server look and act more like Windows 7, this is to avoid users getting confused when they see the classic theme. I will enable the all the settings, it requires more bandwidth though, so take your network traffic into account before going click-happy and selecting everything. Once you have made your choice click next
Since we are running Server 2008 R2, we don’t need to specify a Discovery Scope so just click next again
Finally you can click on install.
Once installation is complete, reboot your server, when you log in the configuration will complete. That’s all there is to installing a Remote Desktop Server.

Activation

If you need to install your licenses you can do it through the RD Licensing Manager. You will need to activate the Server first though. I wont go through this, as it is self-explanatory.
Once you have installed you Licenses you will need to specify a license server for the RDS Session Host to use, to do this, open the RDS Session Host Configuration MMC
When the console opens double-click on the Remote Desktop license servers link.
Now you can specify your licensing mode and then hit the add button to specify a licensing server.
As I said before, you can skip this activation section and use Remote Desktop Services for 120 Days before you need to purchase a CAL. Once you have done this you will need to install your applications. However you cant just install them in any fashion you want, there is actually a special method for installing applications on a Remote Desktop Server.

2013年6月13日星期四

Windows 7: Ctrl+Alt+Del and Start Menu - Add or Remove Switch User

This will show you how to add or remove the Switch User option in the Windows 7 CTRL+ALT+DELETEscreen, Lock Computer screen, and Start Menu arrow menu for all users on the computer.



Through the Local Group Policy Editor
1. Open the Local Group Policy Editor.

2. In the left pane, click on to expand Computer Configuration, Administrative Templates, System, and Logon.
3. In the right pane, right click on Hide entry points for Fast User Switching and click on Edit. 
4. To Add Switch User to CTRL+ALT+DEL Screen
A) Select (dot) either Not Configured or Disabled.

B) Go to step 6.
5. To Remove Switch User from CTRL+ALT+DEL Screen
A) Select (dot) Enabled. 
6. Click on OK.  
7. Close the Local Group Policy Editor window.

8. Restart the computer to fully apply.
ref: http://www.sevenforums.com/tutorials/63025-ctrl-alt-del-start-menu-add-remove-switch-user.html

Android Emulator

The Android SDK includes a mobile device emulator — a virtual mobile device that runs on your computer. The emulator lets you develop and test Android applications without using a physical device.

Ref: http://developer.android.com/tools/help/emulator.html

2013年5月3日星期五

Reset a user password Active Directory (AD) by using command

1. Open Command Prompt.



2. Type:

dsmod userUserDN-pwdNewPassword

3. If you want to require the user to change this password at the next logon process, Type:

dsmod userUserDN-mustchpwd {yes|no}


UserDN: Specifies the distinguished name of the user for which the password will be reset.

NewPassword: Specifies the password that will replace the current user password.


Examples:
To reset a user's password:


dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
-pwd A1b2C3d4 -mustchpwd yes

To reset multiple user passwords to a common password

and force them to change their passwords the next time they logon:

dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
"CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -pwd A1b2C3d4 -mustchpwd yes

To disable multiple user accounts at the same time:

dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
"CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -disabled yes


ref: http://techtoy-blog.blogspot.hk/2010/06/reset-user-password-active-directory-ad.html

2013年4月22日星期一

Fortigate – command line reset

Once logged in, to reset the firewall type
execute factoryreset
 
ref: http://sogoth.com/?p=392 

2013年4月15日星期一

FortiGate-500A Factory default settings

Factory default settings

NAT/Route mode
Port 1 interface 192.168.1.99
Port 2 interface 192.168.100.99
Port 4 interface 10.10.10.1


Transparent mode
Management IP 10.10.10.1

Administrative account settings
User name admin
Password (none)

QuickStart Guide
http://docs.fortinet.com/fgt/archives/qsg/01-28005-0103-20050525_FortiGate-500A_QuickStart_Guide.pdf

2013年4月9日星期二

Kaspersky Security Center 9 - Administration server service terminates with error #1181

 *The error #1811 can be find at "Kaspersky event log" under "Event Viewer" > "Applications and Services Logs"

Description


In certain cases an Administration server service may suddenly terminate with Kaspersky Event Log registering the following event:

Administration server stopped due to an error. #1181 (112) Input-output error 1181/0x70 ('System error 0x70 (Insufficient disk space.)')
Solution

You should do the following to restore the Administration server stability:
  • Check the system disk for errors and free space availability.
  • Delete the following file: %System Drive%:\Documents and Settings\All Users\Application Data\KasperskyLab\adminkit\1093\upd\rslt_lists.xml.

ref: http://support.kaspersky.com/7652