Tuesday, 28 June 2011

Windows 7: How to delete User Profile

You can do it with the User Profiles dialog in System Properties:

  1. Select Computer -> Right click Properties
  2. Advanced system settings (on the left side) ->Advance tab
  3. Settings for User Profiles (in the middle) -> 
  4. Select the profile you want to delete
  5. and click the delete button.
  6. Delete the user profile folder from C:\Users\mah

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 will 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”

Wednesday, 22 June 2011

Windows7: Stop atutomatic update for Real player, Java, Adobe Flash Player.

Real Player:
File->Preferences->Auto Services->Auto Update->Uncheck box -Automatic download and install.

Go to this C:\Program Files\Java\jre6\bin\ folder location and open javacpl.exe->Update tab->Uncheck box- check for update automatically.

Adobe Flash Player:
Open or play any flash file for example: youtube video-> Right click-> Global Settings-> Advanced tab-> Choose radio button - Never check for updates

Thursday, 16 June 2011

Windows 7: Cannot install Adobe flash player

In windows 7, adobe flash player does not work with IE8. So all you need is

  1. download & install IE9
  2. Restart PC
  3. Now install Adobe Flash player

Wednesday, 15 June 2011

Windows7: Auto Join to the AD using netdom

  1. Download - Remote Server Administration Tools for Windows 7
  2. Netdom.exe it has to run from C:\Windows\System32\   folder otherwise netdom.exe does not work
  3. Administrator user and password

  1. Create a .bat file and insert this code:
    netdom join %ComputerName% /domain:scc.local /userd:%1 /passwordd:%2
    shutdown -r -t 300
  2. Copy this file into local computer using Zenworks Applications
  3. Then run that .bat file using Zenworks Applications and pass the administrator username and password as command line parameter.

Windows 7: Prepare a Windows 7 PC to make an image

Install Windows 7 with SP1 from DVD

Boot from DVD

Enter language settings – All English UK
Select Custom install – Specify drive configuration (??? – Use whole drive or not???)

Input username:                      its2
Input computer name:                        e.g. Summer2011

Input password x 2:                 Local admin password specific to PC model
Input password hint:               “Local admin password specific to PC model”

Windows Updates page:         Use recommended settings

Time & Date settings:             (UTC) Dublin, Edinburgh, Lisbon, London
                                                Auto adjust for daylight saving = YES
                                                Set date & time

Current location:                     Work network

**PC then logs in as user: its2**

Wait 2 minutes

Wait 15 minutes

User Administration

User: Administrator                Set password to same as its2
                                                Do not enable account

User: Its2                                 Confirm password never expires

Add another admin user:        Its3 (Password same as its2)
                                                Make user administrator

**Use its3 account for all configuration and software installation**

Go to Device Manager and check which (if any) drivers did not install, and install as appropriate.

Do not install proprietary drivers where the Microsoft ones work perfectly well.

Install Ident (\\its3\software\ident) – Click Run as Administrator

*This will note work unless firewall port TCP 113 is opened inbound
Control Panel à Windows Firewall àAdvanced Settings à Inbound rules à New Rules

Allow Port 113 (TCP Only)

Show computer on desktop (Right click – show on desktop)

Enable Remote Desktop – Choose middle option (Enable from any OS version)

Configure IE Proxy settings

Proxy server & port:                  : 8080
Bypass local intranet                          *.stcharles.ac.uk ; 172.16.*.* ; 172.17.*.*

Windows Update – all recommended updates PLUS IE9 needs selecting

Install Office 2010 Pro Plus from DVD

Customize ‘Run all from my computer’ EXCEPT Microsoft SharePoint Workspace

Do not enter a product key – this will be done centrally via a KMS Server

Install more software

Java                                         Version ???
                                                Disable Java auto update
                                                à Control Panel àJava à Update à Remove tick


Adobe Reader

Adobe Flash

Real Player

Quick time

VLC player

Windows Media Player                       This is already installed as part of Windows?

Install Bginfo (\\its3\software\bginfo) - Follow setup guide

1.      Install Windows 7
2.      During installation of windows 7. Always create a administrator user called its2 with password our admin password.
3.      Computer name: Give it a name according to when it was bought. For example: Summer2010.
4.      Create another administrator user name called its3 with our admin password.
5.      Administrator user is disabled by default and please do not enable it. (To enable it, login as other administrator user you created during installation and from the ‘My Computer’->Manage-> Local users and groups-> Select the administrator user and Enable it.)
6.      Install all software using account its3. Software is located in \\its3\software folder.
7.      Install all the drivers
8.      Install ident
  1. Enable Windows remote desktop settings
  2. Check IE proxy settings & Run Windows & Microsoft update (several times)
  3. Activate windows using KMS key
12.  Install IE9 – To install Adobe Flash Player, you have to first install IE9
  1. Install MS office 2010 Pro Plus
    1. Custom-Choose ‘Run all from my computer’ except Microsoft SharePoint Workspace
    2. Activate Office using key
  2. Install Java (www.java.com) & Microsoft SilverLight
  3. Install .NET framework 4 & run windows update again
  4. Install Adobe reader, Adobe Flash Player (www.adobe.com)
  5. Install Real Player, Quick time, VLC player, windows media player
  6. Install Bginfo (\\its3\software\bginfo) - Follow setup guide – ITS Install
  7. Install Remote Server Administration Tools (RSAT) for windows 7 and Go to Control Panel -> Programs and Features -> Turn Windows features on or off. In the treeview, go to Remote Server Administration Tools -> Role Administration Tools -> AD DS and AD LDS Tools and select AD DS Tools. Click OK.
  8. Restart PC & Login as its3
    1. Check IE settings (for what?)
    2. Remove unwanted Windows components from add/remove windows component -Games
    3. Explorer - View status in the windows folder option & Layout – Show Menu bar
    4. Set windows Firewall & Automatic update switch off
    5. Wakeup Lan - MyComputer->Manage->Device Manager->Select Network card ->Properties->Power settings->Check – Allow this computer to wake on
    6. Tidy up profile and Start Menu
  9. Restart PC & login as its2
    1. Set the IE settings
    2. Set command prompt to Run as Administrator
    3. Run Microsoft Office-Enable Macros
    4. Run the ADOBE Reader
    5. Run Media player
    6. Real Player
    7. Install UK Keyboard & Regional Settings
    8. Stop automatic updating, Firewall
    9. Profile and start menu tidy
a.      Explorer Option -View status, Show menu bar, Automatically expand to current folder
b.      Windows Start menu option -Show Device and Printers, Show computer in the desktop 
22.  How to copy profile in Windows 7 for Default Domain NETLOGON:
In Windows 7 for some reason you cannot use "Copy To" in the profile section. This is very poor and contrary to what Microsoft says. Using this method you can copy your custom profile to another location enabling you to create a netlogon\Default User.v2
How To
§  Create you custom profile. Logoff this user and login to another admin account
§  Open My Computer and hold down ALT. This will show the file menu. ClickTools then Options.
Description: options windows 7
§  Change the Radio Button to: Show Hidden Files
§  Uncheck Hide Protected Operating System Files
Description: show files windows 7
§  Now Navigate to:
§  Rename the Default Folder
§  Rename you custom profile to Default
Description: user folder windows 7
§  Now you can use Copy To
Description: copy to windows 7
§  If you are setting up a default domain profile copy the profile to:
\\server\NETLOGON\Default User.v2
Description: copy to netlogon windows 7

23.  Again rename default folder to your custom profile folder
24.  And rename Default user.v2 to Default
25.  Default profile permission – Put Full permission on this folder to everyone. If default profile has not got the full permission for everyone then whenever a user tries to login, it shows a message: The user profile service service failed logon.
  1. Copy \\its3\Resources\NetAdmin\2010\Zen Configuration\Auto Installer\ITS folder into c:\windows\system32 folder. And follow the instructions files from this folder.