Delete Windows User Profile in Registry

Posted on March 30th, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

To clear user local profile via registry :

  1. Press on Start > Run >Regedit
  2. Navigate to the following registry key :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
  3. Under ProfileList navigate to  binary key’s like this :S-1-5-21-3656904587-1668747452-4095529-500
  4. On the right side under  ProfileImagePath you’’ll see the username and profile path.
  5. Chose the one with the desired user and delete the long reg key like :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”

image

Note:The following method works on all of these operation systems:Windows 2000/XP/2003/2008 and Windows 7.

Folder Redirection to NTFS share Permissions

Posted on March 30th, 2009 in Active Directory, Microsoft, Security, Server 2003, Server 2008 by Gil Kreslavsky

If you want to redirect domain user folders to NTFS or Storage share, you need to set the permissions like in the list bellow:

Creator Owner => Full Control on “Subfolders and Files Only

Security group of users needing to put data on share => List Folder/Read Data, Create Folders/Append Data  on “This Folder Only

System =>  Full Control, on “This Folder, Subfolders and Files

In addition you can add Domain Admins security group to have permissions on user folders:

  • Open Group Policy Management
  • Navigate to Computer Configuration>Administrative Templates>System>User Profiles
  • Set “Add the Administrator security group to the roaming user profile share” to enabled

Install ESX Web Management MKS Plug-in to Firefox 3

Posted on March 30th, 2009 in Browsers, ESX Server, Firefox, VMware, Virtualization by Gil Kreslavsky

Install ESX Firefox Web Management Plug-In for Windows

  1. Download the MKS plug-in file from the Stage Manager server using Internet Explorer from the following address:
    https://Servername/StageManager/ControlPanel/Machines/MachineDetails/ActiveXControls/xpihandler.ashx?filename=vmware-mks-windows-ff-3.xpi
    Where <Servername> fill your server hostname.

  2. Rename the extension of the file from .xpi to .zip .

  3. Unzip the file’s contents into %ProgramFiles%\Mozilla Firefox\plugins .

  4. Copy ssleay32.dll and libeay32.dll to %ProgramFiles%\Mozilla Firefox .

Install ESX Firefox Web Management Plug-In for Linux

  1. Download the MKS plug-in file from the Stage Manager server using wget from the following address:
    https://Servername/StageManager/ControlPanel/Machines/MachineDetails/ActiveXControls/xpihandler.ashx?filename=vmware-mks-linux-ff-3.xpi
    Where <Servername> is your server hostname.

  2. Rename the extension of the file from .xpi to .zip .

  3. Unzip the file’s contents into ~/.mozilla/plugins .

Source:1006950

Hidden Windows 7 Commands – Access Windows 7 Shell

Posted on March 30th, 2009 in Microsoft, Windows 7 by Gil Kreslavsky

List of Shell Commands and the path they open using shell command allows you to include them in scripts and access hidden places in new Windows 7 OS

Sample usage: Start>Run> type shell:AddNewProgramsFolder

Where selected Hidden : The command opens Windows Hidden Folder

shell:AddNewProgramsFolder
Control Panel\All Control Panel Items\Get Programs

shell:Administrative Tools
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools

shell:AppData
hidden C:\Users\(User-Name)\AppData\Roaming

shell:AppUpdatesFolder
Installed Updates

shell:Cache
hidden C:\Users\User-Name\AppData\Local\Microsoft\Windows\Temporary Internet Files

shell:CD Burning
hidden C:\Users\User-Name\AppData\Local\Microsoft\Windows\Burn\Burn

shell:ChangeRemoveProgramsFolder
Control Panel\All Control Panel Items\Programs and Features

shell:Common Administrative Tools
hidden C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools

shell:Common AppData
hidden C:\ProgramData

shell:Common Desktop
C:\Users\Public\Desktop

shell:Common Documents
C:\Users\Public\Documents

shell:CommonDownloads
C:\Users\Public\Downloads

shell:CommonMusic
C:\Users\Public\Music

shell:CommonPictures
C:\Users\Public\Pictures

shell:Common Programs
hidden C:\ProgramData\Microsoft\Windows\Start Menu\Programs

shell:CommonRingtones
hidden C:\ProgramData\Microsoft\Windows\Ringtones

shell:Common Start Menu
hidden C:\ProgramData\Microsoft\Windows\Start Menu

shell:Common Startup
hidden C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

shell:Common Templates
hidden C:\ProgramData\Microsoft\Windows\Templates

shell:CommonVideo
C:\Users\Public\Videos

shell:ConflictFolder
Control Panel\All Control Panel Items\Sync Center\Conflicts

shell:ConnectionsFolder
Control Panel\All Control Panel Items\Network Connections

shell:Contacts
C:\Users\User-Name\Contacts

shell:ControlPanelFolder
Control Panel\All Control Panel Items

shell:Cookies
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Cookies

shell:Cookies\Low
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Cookies\Low

shell:CredentialManager
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Credentials

shell:CryptoKeys
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Crypto

shell:default Gadgets
C:\Program Files\Windows Sidebar\Gadgets

shell:desktop
C:\Users\User-Name\Desktop

shell:device Metadata Store
hidden C:\ProgramData\Microsoft\Windows\DeviceMetadataStore

shell:documentsLibrary
Libraries\Documents

shell:downloads
C:\Users\User-Name\Downloads

shell:dpapiKeys
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Protect

shell:Favorites
C:\Users\User-Name\Favorites

shell:Fonts
C:\Windows\Fonts

shell:Gadgets
hidden C:\Users\User-Name\AppData\Local\Microsoft\Windows Sidebar\Gadgets

shell:Games
Games

shell:GameTasks
hidden C:\Users\User-Name\AppData\Local\Microsoft\Windows\GameExplorer

shell:History
hidden C:\Users\User-Name\AppData\Local\Microsoft\Windows\History

Shell:HomeGroupFolder
Homegroup

shell:ImplicitAppShortcuts
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\ImplicitAppShortcuts

shell:InternetFolder
32-bit Internet Explorer.

shell:Links
C:\Users\User-Name\Links

shell:Libraries
Libraries

shell:Local AppData
hidden C:\Users\User-Name\AppData\Local

shell:LocalAppDataLow
hidden C:\Users\User-Name\AppData\LocalLow

shell:MusicLibrary
Libraries\Music

shell:My Music
C:\Users\User-Name\Music

shell:My Pictures
C:\Users\User-Name\Pictures

shell:My Video
C:\Users\User-Name\Videos

shell:MyComputerFolder
Computer

shell:NetHood
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Network Shortcuts

shell:NetworkPlacesFolder
Network

shell:Personal
C:\Users\User-Name\Documents

shell:PicturesLibrary
Libraries\Pictures

shell:PrintersFolder
All Control Panel Items\Printers

shell:PrintHood
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Printer Shortcuts

shell:Profile
C:\Users\User-Name

shell:ProgramFiles
C:\Program Files

shell:ProgramFilesCommon
C:\Program Files\Common Files

shell:ProgramFilesCommonX64
C:\Program Files\Common Files

shell:ProgramFilesCommonX86
C:\Program Files (x86)\Common Files

shell:ProgramFilesX64
C:\Program Files

shell:ProgramFilesX86
C:\Program Files (x86)

shell:Programs
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

shell:Public
C:\Public

shell:PublicGameTasks
hidden C:\ProgramData\Microsoft\Windows\GameExplorer

shell:PublicSuggestedLocations
C:\Users\Public\Library\PublicSuggestedLocations

shell:Quick Launch
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

shell:Recent
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Recent

shell:RecycleBinFolder
Recycle Bin

shell:ResourceDir
C:\Windows\Resources

shell:Ringtones
hidden C:\ProgramData\Microsoft\Windows\Ringtones

shell:SampleMusic
C:\Users\Public\Music\Sample Music

shell:SamplePictures
C:\Users\Public\Pictures\Sample Pictures

shell:SampleVideos
C:\Users\Public\Videos\Sample Videos

shell:SavedGames
C:\Users\User-Name\Saved Games

shell:Searches
C:\Users\User-Name\Searches

shell:SearchHomeFolder
search-ms:

shell:SendTo
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\SendTo

shell:Start Menu
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Start Menu

shell:Startup
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

shell:SyncCenterFolder
Control Panel\All Control Panel Items\Sync Center

shell:SyncResultsFolder
Control Panel\All Control Panel Items\Sync Center\Sync Results

shell:SyncSetupFolder
Control Panel\All Control Panel Items\Sync Center\Sync Setup

shell:System
C:\Windows\System32

shell:SystemCertificates
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\SystemCertificates

shell:SystemX86
C:\Windows\SysWOW64

shell:Templates
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Templates

shell:User Pinned
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned

shell:User Pinned
hidden C:\Users\User-Name\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned

shell:UserProfiles
C:\Users

shell:UsersFilesFolder
C:\Users\User-Name

shell:UsersLibrariesFolder
Libraries

shell:VideosLibrary
Libraries\Videos

shell:Windows
C:\Windows

Windows 7 Boot from VHD file

Posted on March 30th, 2009 in Microsoft, Windows 7 by Gil Kreslavsky

First you need to attach VHD file read: How to attach VHD file to Windows 7

  • Run CMD as Administrator
  • In Command prompt type: bcdedit /copy {current} /d "VHD_Boot"
    If the command succeeds, BCDEdit displays a message similar to the following:The entry was successfully copied to {CLSID_Number}
  • Then type bcdedit /set {CLSID_Number} osdevice vhd=[C:]\disk1.vhd
  • That’s it, now you can boot from your disk1.vhd

Windows 7 Touch Screen Capabilities

Posted on March 30th, 2009 in Microsoft, Videos, Windows 7 by Gil Kreslavsky

<br /><a href="http://video.msn.com/video.aspx?vid=891c68b3-a534-4159-b6b2-8e4ac56b6890" target="_new" title="Windows 7 Touch Gestures" onclick="pageTracker._trackPageview('/outgoing/video.msn.com/video.aspx?vid=891c68b3-a534-4159-b6b2-8e4ac56b6890&amp;referer=');">Video: Windows 7 Touch Gestures</a>

Remove Outlook 2007 Business manager

Posted on March 30th, 2009 in Microsoft, Outlook 2007 by Gil Kreslavsky

Outlook 2007 Business manager can be uninstalled via Add or Remove Programs (Programs and Features in Vista)
However, if you want to keep Business Contact Manager and only remove it from outlook it can be done via registry:

  1. Close Outlook.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Navigate to the  following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\Microsoft.BusinessSolutions.eCRM.OutlookAddIn.Connect.1

  4. Right-click on  LoadBehavior, and chose Modify.
  5. In the Value data box, set 1, and then click OK.
  6. Quit Registry Editor.
  7. Start Outlook.

Prevent users from deleting start menu items via GPO

Posted on March 29th, 2009 in Active Directory, GPO, Vista, Windows 7, Windows XP by Gil Kreslavsky
  • Open Group Policy Editor:
  • Link Policy to relevant OU
  • Navigate to User Configuration>Administrative Templates>Start menu and taskbar.
  • Edit “Prevent Changes to Taskbar and Start Menu Settings”
  • Set it to enable
    Prevent Changes to taskbar
  • Pres OK

Note: To enforce group policy: Navigate to Start>Run type gpupdate /force and hit Enter

Your credentials did not work – Hyper-V SCVMM

Posted on March 28th, 2009 in Microsoft, Server 2008 by Gil Kreslavsky

If you are trying to connect to server console in Hyper-V Server and SCVMM2008 asking for credentials every time, and you receive the following error messageYour system administrator does no allow the use of saved credentials to log on to the remote computer <computername> because its identity is not fully verified. Please enter new credentials. “ or  "No authority could be contacted for authentication"

Your Credentials did not work

You need to install http://support.microsoft.com/kb/939820/en-us?sd=gn hot-fix on all Domain Controllers in site

Configure TS Session Broker using Route Robin

Posted on March 28th, 2009 in Microsoft, Server 2008 by Gil Kreslavsky

Terminal services session broker is responsible to route incoming TS connections between two or more servers, to the right terminal server. When the TS Session Broker receives an incoming connection, it checks first to see if that user has an existing session on a terminal server in the farm. If they do, then the connection goes to that terminal server. If they don’t, then the Session Broker will redirect to the terminal server with the lowest number of sessions.

If you are going to use Route Robin for load balancing you need to create two or more A records with same host name

Example:

A record terminal 10.0.0.1
A record terminal 10.0.0.2
A record terminal 10.0.0.3
A record terminal 10.0.0.4

So now if you try to connect to “terminal” you will be randomly redirected to one of the servers in the list.

To configure TS session broker:

  • Open Server Manager
  • Navigate to roles.
  • Press on “Add Roles”
  • Select Terminal Services from the list of roles and then Next to continue.
  • On the resulting information screen click Next to proceed to the Role Services screen where the TS Session Broker option needs to be selected

Add Terminal Servers to the TS Session Broker :Settings need to be applied on TS Session Broker server only

When TS broker roles is installed , you will notice new security group in “local Users and Groups” named “Session Directory Computers”

You need to add your Terminal Servers computer account to that group
image

Just make to change to computers on search field.

Joining Terminal Servers to a TS Session Broker: Settings need to be configured on Terminal Servers only

  • Open Terminal Services Configuration tool :tsconfig.msc
  • Under TS Session Broker click on Member of farm in TS Session Broker
    image

Note:Settings above need to be configured on all TS servers that will participate on TS Farm

Next Page »