Archive

Archive for December, 2011

GPO to configure the remote assistance in win 7 in domain environment

December 28, 2011 Leave a comment

Domain side configuration through GPO

Login in domain controller

Open GPMC.MSC

Crate a new policy

And configure the policy under the computer configuration s below.

Computer configuration – polices – Administrative template – system – remote assistance.

Configure the policy “offer remote assistance”

Click on the show button.

And configure the helper address [for this creates a security group in AD and map you support person IDs on that group] and give the UNC path of that group.

Configure the policy “Solicited remote assistance”

The policy will be like this after this

Configuration from client end,

Check that the Windows remote assistance should be allowed from the local firewall allow list,

This is by default allowed.

On the client computer go to Start RUN – msra /offerra

The below dialog box will be open

Type the ip address/Hostname of the person which you want to connect

And click on next

The user will be prompted to accept the connection and

Now click on the share control and the user will be] prompted to accept the request.

After this you will be able to control the remote system.

Categories: AD\GPO

How to use remote assistance in win 7

December 26, 2011 Leave a comment

How to use remote assistance in win 7

Step 1: Type “assistance” into the search bar of your start menu, then click on the Windows Remote Assistance program link to launch Remote Assistance.

OR

Open Remote Assistance by clicking the Start button , clicking All Programs, clicking Maintenance, and then clicking Windows Remote Assistance.

OR

Type “msra /offerra” on the RUN box.

OR

used the enclosed Shortcut

Step 2 : Click on the “Help someone who has invite you”

Step 3 : Click on the “Advance connection option for help desk”

Step 4 : Type the IP address of the person who you going to help.

Step 5 : After this the user will be prompted to Accepted your connection.

Step 6 :Once user clicks on the yes button, you will be able to see the screen of the user.

Step 7 : Click on the “Request control”

Step 8 : The user will be prompted to accept you request

Once click on yes, you will be able to work on the user’s desktop.

Categories: Desktop Related

Computer is working slow.

December 26, 2011 3 comments

Computer is working slow.

1. Check the CPU utilization first

· Which process from which user is taking more CPU/Memory

· Check the available memory and CPU utilization from Resource Monitor.

2. Clear the Temp, %Temp%, Prefetch, folder

3. Delete the Unnecessary Tool bars from Internet Explorer

4. Check the Antivirus is installed and updated.

5. All the critical windows Security Patch should be installed

6. Clear the recycle bin

7. Check the Event Viewer for any Critical Application/system event

8. Uninstall all the unnecessary software (Like : Games, Tools

Right click on the My Computer ->Properties ->Advance System Setting ->Advance -> Performance ->setting -> visual Effect -> Adjust for best performance

Increase the Virtual memory also from the advance TAB

Or set it to Control by the system

Go to the Start -> RUN -> MSCONFIG

Click on startup TAB and Clear all the unnecessary programs

And reboot the computer once.

Categories: Desktop Related

Exchange 2010 DB & Single Item recovery

December 7, 2011 2 comments
 
Restore your Exchange 2010 DB backup to a different location using your backup application,
Like in this example I am using Windows backup utility and restoring the backup in my backup drive (G)
Start Windows server backup utility.
Click on recover
Select the location of the backup and click on the next.
Select date of the backup
Select Application in recover type
Select Exchange in Application type.
Choose “Recover to another location ” and choose the location where you want to recover
Now click on the recover
Once done, check the location once for the path of your database.
Check the status of the restored database using below command.
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /mh “G:\Restore\E
_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
It will show you the result as below.
Now check the consistency of the log files using below command.
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /ml “G:\Restore\F
_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\E01″
Now you need to make you Data Base in “Clean Shutdown” state to mount it.
Run the below command to replay all the logs to your DB
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /r “E01” /l “G:\Restore\F_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01” /d “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
You will be received the error as “Operation terminated with error -1216 (JET_errAttachedDatabaseMismatch”
So run the same command with “/i” switch
Now check the consistency of the data base for the clean shutdown state
If it still in “Dirty Shutdown” state then run the “hard repair”
H:\Program Files\Microsoft\Exchange Server\V14\Bin>eseutil.exe /p “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb”
You will be receive an error, click on ok
Now check the database.
Now it will show you in the clean shutdown state.

Create a “Recovery Data Base” using below command with this existing database and log files.
Run the below command in Exchange management shell
Here, I am using the same EDB & Log files which I recovered from backup.
New-MailboxDatabase -Recovery -Name “RDB01” -Server “EX01” -EdbFilePath “G:\Restore\E_\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDB01\MDB01.edb” -LogFolderPath “G:\Restore\F_\Program Files\Microsoft\Exchange Server\V14\mailbox\MDB01”
Mount this Recovery Database, run the below command
Mount-Database -Identity “RDB01”
Now recover the mailbox which you want to recover.

Restore-Mailbox -Identity subodhuniyal -RecoveryDatabase “RDB01”

This will restore all the emails of the mailbox “subodhuniyal”
Categories: Exchange 2010

Windows 2008 Server Core Activation.

December 5, 2011 1 comment
start /w slmgr.vbs –dli
it will show you the dialog box as below.
Now run the below command to check the Installation ID
slmgr.vbs -dti
Note down this installation ID, now call to the MS local activation center and write down the activation key which consists of eight blocks of six digits you receive in response to punching in the Installation ID.
start /w slmgr.vbs –atp GUID ActivationID
Where ActivationID must be notated as one long 48-digit string.
Run the command to check your licensing information  to confirm that Server Core installation was activated properly.
start /w slmgr.vbs –dli
Do it Without calling to MS


First RUN the below command to check the Activation status.
start /w slmgr.vbs –dli
it will show you the dialog box as below

Now run the below command to enter the product key.
slmgr.vbs – <Your Key>
now run the below command to enter the proxy, if you are using the proxy server co connect the internet
netsh winhttp set proxy <Proxy>
now run the below command.
start /w slmgr.vbs -ato
Categories: Windows Server Core
Noam's scripting blog

"Ready to use" scripts and scripting tips for system admins with detailed walkthroughs/explanations.