Showing posts with label Windows Sollutions. Show all posts
Showing posts with label Windows Sollutions. Show all posts

Monday, 4 March 2013

Wednesday, 20 February 2013

How to Make a Domain User the Local Administrator for all PCs

I got lot's of queries from system administrators & tech support 

engineer's ,like how to allow domain user's to install software or 

make any configuration changes on the client's without prompting 

for password. & How to make a user group to allow performing

system changes on client's but they should not be able to perform

any changes on domain controller & Server Computer's.

So here I am sharing this article with you so you can solve this 

issue:-

So Let's Start:

We are going to Complete this demand using GPO & I am using 

Windows Server 2K8 R2

First go to Group Policy Management

Navigate to 

Forest>YourDomain>Group Policy Objects

Right click Group Policy Objects & select New , now type 

any name to your policy & press OK (in this case I am naming it 

Local administrators)




















Now right click policy & select edit & it will open Group Policy 

Management editor.

now navigate to


Computer Configuration>Policies>Windows Settings>Security 

Settings>Restricted Groups 



Right click Restricted Groups & click Add group 

Friday, 15 February 2013

How to allow local user group to login on domain controller

If you had try to log in on Domain controller with domain user 

account then you will not able log in & you will get the error :-

You can not log on because  the method you are using is not 

allowed on this computer. Please see your network 

administrator for more detail. 









So Let's Fix It

First go to Group Policy Management

Navigate to 

Forest>Domain>Group Policy Object

At right side you will see Default Domain Controller Policy

Right click it & select Edit 




















now it will open Group Policy Management editor

now navigate to 

Computer Configuration>Policies>Windows Settings>Security 

Settings>Local Policies>User Rights Assignment 

Saturday, 2 February 2013

Solved:Windows Explorer not working on Startup

Today I am sharing article on how to fix Windows explorer missing 

on Startup , Many end users asked me that after login in to 

Windows 7 then there is no Icons & Taskbar.

So not to worry because after reading this article you will able to 

Fix it...

So let's start fixing it...

First log in into windows 7 

now press CTRL+ALT+DEL  

& select option Start Task Manager

now click on file > new task (RUN)

Regedit <press enter>


Navigate to 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]





at right side you will see the String value called SHELL

Double click it & type EXPLORER.EXE 

& press ok;now close Regedit

Again go to RUN & type SYSDM.CPL

now tou will see System Poperties window

Click on Environmental Variables

now into System Variables Click & highlight Path & click on edit 

option (Like shown in below image)


























Now type the following line & press ok

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

Press OK & now Restart your computer & you have done...

Work Smarter...



Tuesday, 29 January 2013

Solved: The Security Database on the Server Does Not Have a Computer Account for This Workstation Trust Relationship


Recently I had faced the error :The Security Database on the Server

Does Not Have a Computer Account for This Workstation Trust 

Relationship. On my windows clients ;and after struggling for some 

time I got the solution & I am sharing it with you...











Let's Fix the problem

First log in on your client as Local Administrator user account,

then rejoin the domain (may be it will not accept the same user 

account which you were used before to join domain ; So simply 

join with another username & password OR Domain Administrator 

account), then restart your computer & Log in with domain 

username & you have successfully Loged in...

Work Smarter...

Monday, 21 January 2013

Solved:Windows7 showing Unidenfied Network

Recently I had faced Unidentified Network Problem on Windows 7 

even my IP-address & all things were correct; then after playing for 

certain time I found the solution for it.

How to Solve:

First go to start type Command prompt you will see the command

prompt icon there just right click & select Run as administrator.

In the command Prompt type the following

netsh int ip reset <press enter>


Now restart your computer 

That's it 

Work Smarter...

Solved: Cannot start Microsoft Office Outlook. Cannot open the Outlook window


Today i am sharing fast & easy solution for Outlook's 

following error.


Cannot start Microsoft Office Outlook. Cannot open the 

Outlook window.

OK, let's Start Solving.

First go to RUN 

In RUN window type following command

Outlook.exe /resetnavpane

Press Enter

& check you have done....

Work Smarter...

Wednesday, 19 December 2012

HTTP Error 404.3 -Not Found

The page you are requesting cannot be served because of the 

extension configuration.If the page is a script,add a handler. If the 

file should be downloaded, add a MIME map.






















Recently my colleague has faced this problem & he came to me & 

asking for solution ;after doing some research I got the solution & 

here I am going to share it with you...

The scenario was as follows :-

The system was Windows 7 Professional edition with IIS 7.5 

typically installed & the file which I am trying to open is .asp

& while opening I got the above error...  


Let's Start Solving the 404.3 ERROR

First go to control panel > Programs and Features> Turn 

Windows Feature on or off

Navigate  Internet information Services>World Wide Web 

services>Application Development Features

& here Check the box named ASP & if you are getting error with 

another kind of file like CGI the check the box named CGI.

If your Computer has Sufficient Hardware to Support all IIS 7.5 

Services then check the all boxes which comes Under Internet 

Information Services & press OK








































That's it , 

I hope you got the solution for your problem

Work Smarter...

Monday, 10 December 2012

Operate Your Windows Using Speech Recognition

Hi Friends,

In this article I am going to tell you ; How to operate Windows 

operating System using Speech Recognition without installing any 

third party software... 

Just make sure that you met the following requirements:-

Windows Vista /Windows 7 /Windows 8.

Audio Drivers 

Headphone with Mic.

If you have all above things then we can start :

first go to Control Panel 

then click on Ease of Access 

















Now click on Start Speech Recognition










Click on next > Now you will see the screen show below..











Now read the lines (text) Shown on screen & press next

That's it you have set up your PC to work with Speech recognition 

but for good efficiency I will recommend you to train your 

computer to better understand your voice...

When you will train your PC you will also understand voice 

commands & how to use them...

For train your computer 

Click on Train your Computer To better understand you



























Work Smarter...

Friday, 28 September 2012

How View Or Recover Data From .PST File

As per the Outlook users demand I am posting How to open .PST 

file without configuring outlook...)

First start your outlook

Click on File menu

then click on Open & at right side you will see option Open 

Outlook Data File click on it...






















Now browse/locate your .PST file & open it...

After opening the file you will see the option PST at left side of 

Outlook.

















Now click on PST & you will see your data is back...

That's it...

Work Smarter...

Sunday, 9 September 2012

How To Convert Raw File System to NTFS

One of my friend have 1TB external HDD & it's almost full with very

important data but suddenly his Hard-drive partition become RAW & 

Partitions become unaccessible, then he was asking me for solution & 

I had successfully solved the problem & got the data back,& after 

reading this article you will also able to solved the problem of Raw 

File system...

How to Convert RAW filesystem to NTFS ...?

Let's Start 

First connect your external drive to your windows PC (you can also

use this trick to solve same problems with IDE/SATA Internal 

Drives)

Now Goto Run & type CMD

In the CMD window type the following command

CHKDSK /r F:    <press enter>

(In this case I am converting file-system of F drive)

Now it will take some time depending the size of data on your 

Hard-drive.

Once the process completes you can access your data...)

That's it : Thanks for visit & Share it with your friends...)

Work Smarter...)

Sunday, 26 August 2012

How To Block Websites using command line batch script

Hi friends, I received many emails asking for how to block website 

using batch file. Because home users cannot afford Firewalls or 

Parental control software's they want security for free, so no need to 

worry, you are at right place I will provide you a fully free website 

blocker...)














OK friends let's Start Creating website blocker 

First open a Notepad

Copy the code below



echo off
title Websites blocker by askmetricks.blogspot.com
echo off
color a
set /p m=Type URL you want to block:
FIND /C /I "%M%" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1                           %M%>>%WINDIR%\system32\drivers\etc\hosts
cls
color b
echo %M% Blocked successfully...
pause


Friday, 3 August 2012

How to Customize Ms-office Setup


We are known about automated windows operating system 


installation with answer file & there is also you can create answer 


file for MS-office setup , and that also supports following features.

Install location & organisation name

Additional network sources

Licensing & user interface 


Remove previous installation


Add installation & run programs 


Office security settings 


Modify security settings


Modify user settings 


Set feature installation state


Additional content :-


Add files, Remove files, Add registry entries, Remove registry 


entries, Configure shortcuts...


Outlook Options :-


Outlook profile, Specifying Exchange server settings, Add accounts,


Remove accounts & export settings, Specify send/receive group

Ok let's Start Customizing 


Go to RUN

Monday, 30 July 2012

How to install computer Browser service in windows 7 , XP & Server

Many system admins, Desktop Engineers & Technical people face the 

problem with computer browser service; when they go to services.msc 

& check for services they found that the service is not there or it's 

missing...

What is Computer Browser service is ? & why it is needed...

Computer Browser service to collect and display all computers

and other resources on the network.

For example, opening Network Neighborhood displays the list of 

computers, shared folders, and printers; the Computer Browser 

service manages this list. But if this service is not there then all this 

feature will not work.


OK Let's start installing Computer Browser Service.

Copy the code below

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser] 
"Type"=dword:00000020 
"Start"=dword:00000002 
"ErrorControl"=dword:00000001 
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\ 
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\ 
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00 
"DisplayName"="Computer Browser" 
"DependOnService"=hex(7):4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,\ 
6b,00,73,00,74,00,61,00,74,00,69,00,6f,00,6e,00,00,00,4c,00,61,00,6e,00,6d,\ 
00,61,00,6e,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00 
"DependOnGroup"=hex(7):00,00 
"ObjectName"="LocalSystem" 
"Description"="Maintains an updated list of computers on the network and supplies this list to 
computers designated as browsers. If this service is stopped, this list will not be updated or 
maintained. If this service is disabled, any services that explicitly depend on it will fail to 
start." 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters] 
"IsDomainMaster"="FALSE" 
"MaintainServerList"="Auto" 
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 
62,00,72,00,6f,00,77,00,73,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Security] 
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\ 
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 
00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\ 
05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 
23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\ 
02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,\ 
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Enum] 
"0"="Root\\LEGACY_BROWSER\\0000" 
"Count"=dword:00000001 
"NextInstance"=dword:00000001 

Friday, 20 July 2012

Create Silent installer with batch file

I am working as system administrator therefore sometime to me & 

my team need to install lot's of software packages on many systems  

& that time if we install each package it takes so much time.


In the last week i faced that problem, that is i have to wait at every 


machine to click for next ,I agree, finish & takes so much time.


But don't worry because now I found a solution how to install 


software packages silently with a batch file...


OK let's start creating batch file

now copy the below code


Echo off

color a
title Installing software silently


start /wait dotnetfx.exe /q


setup.msi /q



Monday, 16 July 2012

Solved Microsoft file corrupt

Recently I download  MS-office files from my Mail account & I got 

errors that is The file is corrupt cannot be opened & word 

experienced an error trying to open the file. 













I have been shocked because that file was containing very 

important data , then I started research on it & after few minutes I 

got solution on it & in this article I am sharing the solution with you

OK Let's Start Solving the error 

After downloading your file go to the file then right click & go to 

File properties.




























Tuesday, 10 July 2012

Windows ICS Service fail to start

Many time the Technical persons face the problem with ICS


service not starting or ICS service failed to start. & if this service 


is not started then Printer sharing Network sharing & firewall 


doesn't work..., & if we go to services.msc & try to start service 


then it shows error massage , but don't worry in this article 


i am showing you how to Get Start ICS service again...


Ok Let's Start 


Go to Run (Windows+R)


Type CMD (press enter)


in to CMD type the following commands


netsh firewall reset (press enter)


netsh winsock reset (press enter)


net start sharedaccess (press enter)



Now restart your computer & check ICS service is running..!


Ok now you can acess all your shared resources such as 


folders, printers & drives.


Work Smarter...


Saturday, 30 June 2012

Change Ip address with batch file

My boss having Laptop & he having different IP address at office & 

home, & every day when he comes to office he need to change his 

laptop IP adress everyday. So i written a batch script to change IP 

address with single click, & i know this problem is with many people 

so i am sharing this batch script with you...

OK let's starting creating batch file

Copy the code below :


@echo off 
echo Choose: 
echo [A] Set Static IP.  
echo [B] Set Obtain adress automatically.
echo. 
:choice 
SET /P C=[A,B]? 
for %%? in (A) do if /I "%C%"=="%%?" goto A 
for %%? in (B) do if /I "%C%"=="%%?" goto B 
goto choice 

:A 
echo "Setting Static Ip" 
netsh interface ip set address "Local Area Connection" static 172.16.0.6 255.255.0.0 %D_Gate% 172.16.0.100
netsh int ip set dns "Local Area Connection" static 123.123.123.123
netsh int ip add dns "Local Area Connection" 124.124.124.124 
netsh int ip show config 
pause 
goto end

:B 
@ECHO OFF 
ECHO Resetting IP Address and Subnet Mask For DHCP 
netsh int ip set address name = "Local Area Connection" source = dhcp
netsh int ip set dns name = "Local Area Connection" source = dhcp
ipconfig /renew

ECHO Here are the new settings for %computername%: 
netsh int ip show config

pause 
goto end 
:end
echo Visit Askmetricks.blogspot.com
pause

Monday, 25 June 2012

Create your own USB Locker software

There are so many folder locking software's available but they need to 


install on PC they are not portable & so we cannot secure data in USB 


drive & our data is not secure in USB drives if we lost USB drive or 


it's stolen so the confidential data may be loose, but don't worry after 


reading this article you will be able to create your own portable locker 


which you can use in the USB drives also...


 Ok lets start creating Portable Locker


copy the code below



cls
@ECHO OFF
title "PORTABLE LOCKER Askmetricks.blogspot.com" 
if EXIST "Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}"
attrib +h +s "Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== yourpwd goto FAIL
attrib -h -s "Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}"
ren "Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


ok now open notepad & paste the code into it & save as Portable
Locker.bat