Managed service account password sync issue

You create a managed service account in a domain.
•You install the managed service account on a computer that is running Windows 7 or Windows Server 2008 R2.
•You configure a service to use the managed service account on the computer.

This issue occurs because the Kerberos and NTLM security providers are not notified when the password of the managed service account is changed.

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

Nice tool to find and replace texts with in huge number of files

I came across a free tool which is so good and easy to use. It really reduces a huge effort of find and replace some particular word with in huge number of files. This is very small in size file and it is great.

Thanks to digitalvolcano who gives the software free.

http://www.digitalvolcano.co.uk/tcdownloads.html

Run ESX 4.0 on Vmware workstation with less than 2 GB RAM

ESX:

  1. Install vSphere(ESX) with at least 2 GB memory
  2. Login to the Service Console and type the following:
    vi /etc/vmware/init/init.d/00.vmnix
  3. Change the following line to the desired value:
    RequiredMemory=2064384
  4. Shutdown the virtual machine and change the VMs memory and boot it up!

Thanks Mark for the comment on ESXi:

  1. Install vSphere(ESXi) with at least 2 GB memory
  2. Login to the console via the “unsupported” method.
  3. Edit the file /etc/vmware/esx.conf and add the following line:
    /vmkernel/minMemoryCheck = “false”
  4. Save the file and shutdown ESXi, change the memory and boot it up!

Source: -Yellow-Bricks

Customize Places Bar when you open Save As option in Windows 7

I found one more nice article for adding a folder to the Places Bar in windows 7. It works great and it is a nice explanation

Thanks to the author. I am copy pasting it to keep it for my reference.

The source link:-http://www.howtogeek.com/97824/how-to-customize-the-file-opensave-dialog-box-in-windows/

How to Customize the File Open/Save Dialog Box in Windows

00_customized_places_bar

Generally, there are two kinds of Open/Save dialog boxes in Windows. One kind looks like Windows Explorer, with the tree on the left containing Favorites, Libraries, Computer, etc. The other kind contains a vertical toolbar, called the Places Bar.

The Windows Explorer-style Open/Save dialog box can be customized by adding your own folders to the Favorites list. You can, then, click the arrows to the left of the main items, except the Favorites, to collapse them, leaving only the list of default and custom Favorites.

The Places Bar is located along the left side of the File Open/Save dialog box and contains buttons providing access to frequently-used folders. The default buttons on the Places Bar are links to Recent Places, Desktop, Libraries, Computer, and Network. However, you change these links to be links to custom folders of your choice.

We will show you how to customize the Places Bar using the registry and using a free tool in case you are not comfortable making changes in the registry.

Using the Registry

To open the Registry Editor, open the Start menu and enter “regedit.exe” in the Search box. Click the regedit.exe link in the results or press Enter.

If the User Account Control dialog box displays, click Yes to continue.

NOTE: You may not see this dialog box, depending on your User Account Control settings.

Navigate to the following key:

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ comdlg32 \ Placesbar

The comdlg32 and Placesbar keys may not exist. If not, you need to create them. For example, to create the comdlg32 key, right-click the Policies key and select New | Key.

A new key is created and the text is highlighted. Rename the new key “comdlg32.”

Add Placesbar as a new key under the comdlg32 key.

Select the Placesbar key and right-click in the right pane. Select New | String Value from the popup menu.

Rename the new value Place0. You can create up to 5 entries: Place0, Place1, Place2, Place3, Place4. You don’t have to define all five places, but they must be defined in numerical order.

To define the target folder for a PlaceX value, double-click on the value name.

In the Value data edit box on the Edit String dialog box, enter the full path for the location you want to add to the Places Bar and click OK.

You can also define a target folder using a numerical value for system folders. There is a table below listing the numerical values for the different system folders. To define a target folder using a numerical value, create a new DWORD (32-bit) Value the same way you created the String Value.

Double-click on the new DWORD value.

Enter a numerical value in the Value data edit box. Use the values from the table below the image.

The following “DWORD” values can be used to add standard folders to the Places Bar.

00 – Desktop
01 – Internet Explorer
02 – Start Menu\Programs
03 – My Computer\Control Panel
04 – My Computer\Printers
05 – My Documents
06 – Favorites
07 – Start Menu\Programs\Startup
08 – \Recent
09 – \SendTo
0a – \Recycle Bin
0b – \Start Menu
0c – – logical “My Documents” desktop icon
0d – My Music
0e – My Videos
10 – \Desktop
11 – My Computer
12 – My Network Places
13 – \NetHood
14 – WINDOWS\Fonts
15 – Templates
16 – All Users\Start Menu
17 – All Users\Programs
18 – All Users\Start Menu
19 – All Users\Desktop
1a – \Application Data
1b – \PrintHood
1c – \Local Settings\Application Data
1d – – Nonlocalized startup
1e – – Nonlocalized common startup
1f – Favorites
20 – Temporary Internet Files
21 – Cookies
22 – History
23 – All Users\Application Data
24 – WINDOWS directory
25 – System32 directory
26 – Program files
27 – My Pictures
28 – USERPROFILE
29 – – x86 system directory on RISC
2a – – x86 C:\Program Files on RISC
2b – C:\Program Files\Common
2c – – x86 Program Files\Common on RISC
2d – All Users\Templates
2e – All Users\Documents
2f – All Users\Start Menu\Programs\Administrative Tools
30 – – \Start Menu\Programs\Administrative Tools
31 – Network and Dial-up Connections
35 – All Users\My Music
36 – All Users\My Pictures
37 – All Users\My Video
38 – Resource Directory
39 – Localized Resource Directory
3a – Links to All Users OEM specific apps
3b – USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning

Select Exit from the File menu to close the Registry Editor.

The Places Bar on the Save dialog box displays the custom folders and chosen system folders.

Using PlacesBar Editor

For those of you who don’t feel comfortable making changes to the registry or who just want an easier way to customize the Places Bar, there is a free tool available called PlacesBar Editor. Download the tool using the link at the end of this article and follow the instructions to install it. If the User Account Control dialog box displays during installation, click Yes to continue.

NOTE: You may not see the User Account Control dialog box, depending on your User Account Control settings.

Use the shortcut created on the desktop to run PlacesBar Editor. You may see the User Account Control dialog box again.

The first time you run PlacesBar Editor, the following dialog box displays, encouraging you to donate. Your default web browser also opens to a PayPal page, suggesting a donation.

The main interface displays showing a toolbar and two tabs. The Windows tab allows you to make changes to File Open and File Save dialog boxes containing the Places Bar. To define a custom target folder for one of the places, select the Custom check box for that place. Click the folder button to the right of the User Folders edit box to select a folder, or type in the full path to a folder. To select a system folder for a place, select a folder from the drop-down list under System Folders for that place.

As mentioned at the beginning of this article, some programs use the Windows Explorer-like File Open and File Save dialog box. Microsoft Office programs (and some other Microsoft programs, like Notepad and Paint) use this style of dialog box.

You can use PlacesBar Editor to customize the Microsoft Office dialog boxes as well. Click the Office tab. For each custom folder you want to add, enter a name for the folder in the edit box under Folder Name. Use the folder button to select the desired folder or enter the full path to the desired folder in the edit box under User Folders. You can add up to five additional custom folders. These folders are added to the Favorites, and also display as Favorites in Windows Explorer.

To apply changes for each tab, you must click Save when that tab is active. To apply changes for Office programs, make sure the Office tab is active and click Save. To save changes you made on the Windows tab, you must click the Windows tab and click Save again.

A dialog box displays telling you that the changes were made successfully.

Once you apply, or save, your changes, on a tab, you can test those changes by clicking the Test button.

The appropriate dialog box for the currently selected tab displays. If the Office tab is active, an Office program like Word or Excel opens and the Open dialog box displays. Click Cancel on the Open dialog box to close the dialog box and the program.

You can revert back to the default settings for both types of File Open and File Save dialog boxes by clicking the Defaults button. You must click the Defaults button for each tab separately.

A Confirm dialog box displays. Click Yes if you’re sure you want to revert to the defaults.

To close PlacesBar Editor, click Exit.

Customizing the File Open and File Save dialog boxes with custom folders can improve your productivity, especially if the folders you use most often are several layers deep in your folder structure.

Download PlacesBar Editor from http://melloware.com/download/.

Vmware Nice KB articles

Few KB articles which I went through and feel very useful and great.

Keeping this for my Future reference.

Recreating a missing virtual machine disk (VMDK) descriptor file
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002511

Unmounting a LUN or Detaching a Datastore/Storage Device from multiple ESXi 5.x hosts
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2004605

Investigating virtual machine file locks on ESXi/ESX
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10051

Methods of upgrading to ESXi 5.1
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032757

Upgrading to vCenter Server 5.1 best practices
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2021193

Installing or upgrading to ESXi 5.1 best practices
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032756

Find WWN Number for Windows servers for EMC

EMC has got a nice tool to find the WWN numbers of the HBA for windows servers.

Download the INQ tool from emc site ftp://ftp.emc.com/pub/symm3000/inquiry/

Select the higher version folder.<as of now v7.5.0.0/

Then select the download according to your windows version (32 bit or 64 bit)

inq.windowsamd64 – 64 bit
inq.winia – 32 bit

Copy it to folder in C:\inq

from command prompt run the command as follows

c:\inq\inq.windowsamd64 -hba

This will give all details about the HBA cards.

Script to backup and restore NTFS Permission

 

Cool script to backup and restore NTFS permission.

Example

You need to backup NTFS permission of a folder in c:\Test and restore the same permission to another folder in D:\TestRST. Follow the steps below.

Create a batch file in the name NTFSBKP using the lines below.

———————————–

@echo off

If {%3}=={} @echo Syntax: NTFSBKP DriveOrFolder DestinationFolder BKP^|RST&goto :EOF

if not exist %1 @echo NTFSBKP – %1 NOT FOUND.&goto :EOF

if not exist %2 @echo NTFSBKP – %2 NOT FOUND.&goto :EOF

if /i {%1}=={%2} @echo Syntax: NTFSBKP DriveOrFolder DestinationFolder BKP^|RST&goto :EOF

if /i {%3}=={BKP} goto OK

if /i {%3}=={RST} goto OK

@echo Syntax: NTFSBKP DriveOrFolder DestinationFolder BKP^|RST&goto :EOF

:OK

setlocal

set DorF=%1#

set DorF=%DorF:”=%

set DorF=%DorF:\#=%

set DorF=%DorF:#=%

set Fld=%2#

set Fld=%Fld:”=%

set Fld=%Fld:\#=%

set Fld=%Fld:#=%

set Sw=%3

set F1=%DorF%

set F1=%F1::\=_%

set F1=%F1:\=_%

set F2=”%Fld%\%F1%_ALL.log”

set F1=”%Fld%\%F1%.log”

if /i “%Sw%” EQU “RST” goto Restore

set D1=”%DorF%”

set D2=”%DorF%\*.*”

if exist %F1% del /q %F1%

if exist %F2% del /q %F2%

subinacl /noverbose /nostatistic /outputlog=%F1% /subdirectories %D1% /display

subinacl /noverbose /nostatistic /outputlog=%F2% /subdirectories %D2% /display

endlocal

goto :EOF

:Restore

if not exist %F1% goto :Rest1

if not exist %F2% goto :Rest2

subinacl /nostatistic /playfile %F1%

subinacl /nostatistic /playfile %F2%

endlocal

goto :EOF

:Rest1

@echo NTFSBKP %1 %2 %3 – %F1% NOT FOUND.

endlocal

goto :EOF

:Rest2

@echo NTFSBKP %1 %2 %3 – %F2% NOT FOUND.

endlocal

————————————————

Now to backup the NTFS permission follow the steps below.

  • Download SUBINACL from http://www.microsoft.com/downloads/details.aspx?familyid=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
  • Now copy the file subinacl from this to a folder called Script in C:\
  • Copy the NTFSBKP.bat file to c:\script along with subinacl
  • Create a folder as C:\Restore.(this will have the backup logs for the ntfs permission)
  • Now run the command NTFSBKP c:\test c:\restore BKP
  • Wait till the logs are created. There will be 2 files named c_Test & C_test_all in the C:\RESTORE folder.
  • When you edit the files you can see the details about the NTFS Permissions.

To Restore the NTFS permission to D:\TestRST follow the steps below.

  • Now edit the files in c:\restore folder
  • Open it with Wordpad as some times the file size will be large.
  • Now find for C:\test and Replace it with D:\testRST and replace all < This makes sure that the permissions of c:\test is restored to D:\testRST.>
  • Now save the files.
  • Now rename the C_Test to D_TestRST & c_Test_all to D_TestRST_all
  • The logic is it should be renamed as it matches the destination folder name.
  • Now run the command NTFSBKP D:\testRST c:\restore RST
  • This will do the magic.

Enjoy.

Source :http://www.ntfs.com/ntfs-permissions-restoring.htm