TS 2008 Session Broker opens multiple sessions for single user

Posted on March 9th, 2010 in Microsoft, Server 2008 by Gil Kreslavsky

 

Scenario:

User is not been reconnected to same Terminal Server session.

The consequences can be duplicated sessions, profile location lose, locked files on storage and more.
After few hours I found that Microsoft have A HotFix that addresses the issue

KB article is: KB977541

Install virtual guest services grayed out on Hyper-V cluster

Posted on October 22nd, 2009 in Hyper-V, Microsoft, Server 2008, Virtualization by Gil Kreslavsky

 

If “Install virtual machine guest service installation” is unavailable and grayed out, don’t panic. Just shut down the guest machine and it will become available.
It is not a bug, it is by design.

Install virtual machine guest service installation

Disable IPv6 in Windows Vista\2008 and Windows 7

Posted on October 21st, 2009 in Server 2008, Vista, Windows 7 by Gil Kreslavsky

 

Although IP v6 is the next thing , if you not going to use it it can be simply disabled.

To disable IP v6 go to Start >Run type ncpa.clp and hit enter.
You will receive your network adapters list.

Press right click and properties on each adapter and remove selection from “internet protocol version 6”
image

After you remove it run the following command from command prompt :
Remember you must run Command Prompt as administrator

%windir%\system32\REG.EXE ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0xff /f

Disable User Account Control – UAC in Windows Vista/7/2008

Posted on October 19th, 2009 in Microsoft, Server 2008, Vista, Windows 7 by Gil Kreslavsky

 

User Account Control (UAC) is a security component in Windows Vista/7 and 2008 .

It allows user to perform tasks with non administrative privileges. Some times the feature need’s to be disabled.

To disable it Click Start>Control Panel>User Accounts
In the User Accounts  window, remove selection from “Use User Account Control (UAC) to help your computer”

Disable UAC

Run Command Prompt as Administrator

Posted on October 19th, 2009 in Microsoft, Server 2008, Vista, Windows 7 by Gil Kreslavsky

 

Since windows Vista and Windows 2008 when performing some system tasks in command prompt ,
you must run CMD with administrative privileges.

To do that navigate to All Programs>Accessories right click on Command Prompt and chose “Run as administrator”
Run as administrator

You can chose Command Prompt to run always with administrative privileges.
To do that navigate to All Programs>Accessories right click on Command Prompt and chose “Properties”
Under properties navigate to “shortcut” and press advanced
Select Run as Administrator and OK.

CMD as Administrator

From now CMD will run always as Administrator

“The settings for this terminal server cannot be retrieved” error

Posted on May 13th, 2009 in Microsoft, Server 2008 by Gil Kreslavsky

When trying to access windows 2008 terminal server “Terminal Server Configuration” Snap-in you receive the error
The settings for this terminal server cannot be retrieved

To solve that issue:

  • Open Command prompt
  • Type winmgmt /salvagerepository
    Performs a consistency check on the WMI repository, and if an inconsistency is detected, rebuilds the repository. The content of the inconsistent repository is merged into the rebuilt repository, if it can be read. The salvage operation always works with the repository that the WMI service is currently using. For more information about errors returned by this command, see the Remarks section.
  • Type winmgmt /resetrepository
    The repository is reset to the initial state when the operating system is first installed. MOF files that contain the #pragma autorecover preprocessor statement are restored to the repository.
  • Reboot server

Windows 2008 shares unavailable

Posted on April 27th, 2009 in Antivirus, Microsoft, Server 2008, Symantec by Gil Kreslavsky

If you can’t access your shared folders on windows 2008 check the thinks bellow.

The issue can happen if you have certain versions of Symantec Endpoint Protection or Antivirus installed

To resolve the issue update

To resolve this issue, upgrade the Symantec Endpoint Protection software to Symantec Endpoint Protection 11.0 MR3.

you can find more information on the issue Here http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2008091611042748 or http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2008091611042748)

http://www.symantec.com/business/support/index.jsp

How to delete a protected OU in ADUC Windows 2008

Posted on March 15th, 2009 in Other by Gil Kreslavsky

In Windows 2008 Active Directory Users and Computers Microsoft activated new feature “Protect Container from accidential deletion”
During OU creation you have the ability to mark OU as protected from accidental deletion , and if you try to delete OU you will receive the following error “You do not have sufficient privileges to delete “OU Name” , or this object is protected from accidential deletion”
you dont-have

To unlock OU from accidential deleting protection do the following actions

  • Open Active Directory Users and Computers
  • Go to View
  • Mark with “V”  ” Advanced Features”
  • Right click protected OU
  • Go to  Properties
  • Navigate to “Object” Tab
  • Remove the “V” from “Protect object from accidental deletion “

Protect Ou from accidential deletion

Windows 2008 10 new command line utilities

Posted on January 29th, 2009 in Microsoft, Server 2008 by Gil Kreslavsky
  1. Oclist. When using Server Core , you can use  Oclist to review  installed server rules
  2. Ocsetup. is used to add or remove installed rules for example “start / w ocsetup DHCPServerCore start / w ocsetup DHCPServerCore”
  3. Bcdedit.  Bcdedit, supports a variety of command line parameters. To view the contents of the repository, use the command: “bcdedit / enum bcdedit / enum “
  4. Icacls.  replaces former Cacls and Xacls allows you to view, update and back up  (ACL) for files and directories. The following example illustrates the preservation of access lists (ACL) for the directory C: temp:  “icacls c: temp / save tempacl icacls c: temp / save tempacl”
  5. Mklink. Mklink allows you to create a symbolic link to the file system to redirect all requests on the road.  Symlinks are «transparent» for users, and appear as normal files or directories.  The following example shows how to create a symbolic link to the name «alsotemp» for the directory C: temp: “mklink / d alsotemp c: temp mklink / d alsotemp c: temp “
  6. Robocopy. The Robocopy utility  , is more effective than the standard Windows Copy command and Xcopy, and can resume work after the failures in the network and copy the correct file attributes, alternate data streams, and security systems.  The following example illustrates the use Robocopy to create a «mirror» MyData folder and all subfolders in the shared folder Backups for MyServer:   “robocopy “C: MyData” robocopy “C: MyData”  “MyServerBackups» / MIR / R: 2/NP “MyServerBackups» / MIR / R: 2/NP”
  7. Wbadmin. This command is used to create backup copies of Server 2008 and recovery operations. The following example illustrates the use of Wbadmin to create a full backup system in a shared folder Backups on MyServer:  wbadmin start backup-backuptargetMyServerBackups wbadmin start backup-backuptargetMyServerBackups – AllCritical-vssFull – AllCritical-vssFull”
  8. WinRS.  allows you to open a secure window commands the remote host.  All communication between the client and the site is encrypted using a Kerberos key or NT LAN Manager (NTLM).. The following example illustrates the connection to the server MyServer and run shell: winrs-r: MyServer cmd winrs-r: MyServer cmd “
  9. Appcmd.is a new command line utility, it’s located at% WinDir% System32InetSrv. Appcmd is used for viewing, creating and setting properties of the server Microsoft IIS 7.0, Web-sites and application pools.  To view a list of all nodes in the system, you can use the following command: “appcmd list sites appcmd list sites “
  10. ServerManagerCmd. Without a doubt, the most wonderful tool in Server 2008  is ServerManagerCmd.exe, which is controlled from a command-line version of the new Server Manager.   In fact, this option allows you to specify a scenario, when all actions are performed by the dispatcher server. To view a list of all the established roles and functions in Server 2008, you can use the following command: “servermanagercmd.exe-query servermanagercmd.exe-query”

Windows 2008 Active Directory features poster

Posted on January 29th, 2009 in Active Directory, Guides, Microsoft, Server 2008 by Gil Kreslavsky

I realy recomend download and print that.

The poster can be very useful when troubleshooting AD issues.

Next Page »