Showing posts with label Security Tricks. Show all posts
Showing posts with label Security Tricks. Show all posts

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 

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...

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...

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

Thursday, 21 June 2012

Add Password To Micosoft Office Files

One of my colleague ask me how can i add password to my Power 


point presentation because he completed the presentation & he 


want to make that read only so people cannot modify & add there 


names to end of the presentation. so hence for i am publishing this 


article so the people will be secure with there hard work...


Ok Lets start protecting the Ms-office Files


First open your file that you have made


Now click on file menu >> Save as 


Now it will ask you for location to save ,in this dialogue box at the


bottom there is option Tools click on tools & select General options. 




























after clicking general options you will see the new dialogue like below...






















Here you will see the option & you can add password to open a


file or Password to modify the file..


That's it., add your desire password , Save it & stay secured....


Work Smarter...

Monday, 11 June 2012

Disable & Enable Removable devices with Gpedit

In this article i am going to show you how to disable Removable 

devices. Because in the corporate sectors , schools & colleges 

System administrators face the problem of data security there is 

chance of data copying through removable devices like USB ,Tape 

drives , Floppy Drives, WPD devices, CD/DVD drives etc but now 

don't worry after reading this article you will be able to set rights to 

access the all removable devices. Ok lets start...
First login with administrative account

now go to run & type gpedit.msc > press enter

now navigate to 

User configuration>Administrative Templates>System>Removable Storage Access.

















In the right side you will see all type of removable devices

now double click your selected device 




















example :Removable Device Deny Write access 

& for applying policy Click on Enabled & apply , & if you want to
rollback your setting click on Not Configured.

To apply this setting  you will need restart or log off or 

simply Go to run & type Gpupdate >Enter

That's it Now you are at Secure side...

Work Smarter...



Tuesday, 24 January 2012

Hide User Account For Security Purpose


Windows operating system including Windows 7, Windows 


Vista and Windows XP allows multiple administrator user 


accounts to be created on the computer, be it administrators 


or standard users. When there is more than one user 


accounts been defined and created on the PC, Windows will 


display Welcome Screen, with all available user accounts 


listed so that user can click and login. & it is not safe at 


security point of view so there is need to create user hidden 


user accounts like Backup users & therefore i am publishing 


this article how to hide user account with registery editor...



With Registry editor you can create a hidden account


Or hide your existing account...


To Hide Your Account Follow the steps below....


First create a account (if you don't have existing)


Now go to Run type regedit  press enter



Navigate to

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

and create a sub-key named SpecialAccounts if it does not already 

exist.  Inside of that key you will create another calledUserList.  

Enable Automatic Login In Windows 7


If security isn’t a concern for you, you may decide to set your  
  
Windows 7 system to log into your account automatically each time 

you boot.

For Enable Automatic Login Follow The Steps Below:

Goto Run (Press Windows+R)

In Run Dialogue Type control userpasswords2

Now Select The User Which you want to set to Auto logon



















& Uncheck on User must enter username & password to use this 

computer.

Monday, 23 January 2012

Change Password Expiry Notice Period With Regedit

My colleagues are face problem of Password expiry in windows 


because after password expiration period windows shows popup


change your password & that time my colleagues lost the password


so i am publishing this article to change your password expiry 
notice period..

In earlier versions of Windows, the default interval that


users were notified of password expiration was 14


days before expiration but in windows7 & server 2008


R2 the default password expiry notice occurs 5 days


before the password expiration date.
But Don't worry you can change it just follow the steps 


Steps:

1. open registry editor (for open registry editor goto 

    run type regedit)

2. Navigate to 

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


How to open Multiple Gmail accounts in same browser

Many time we face the problem of opening multiple G mail in same 


Browser,every time for opening  second Gmail id  we have to first 


sign out first one but now the problem has been solved.




Steps to open multiple Gmail accounts in same browser :

First, Open Gmail Account.

Then , Go to Account Setting

Then Click on
Looking for older account options and your Google Products?Visit the previous version of the Google accounts screen »





Now Click on Multiple sign-in Edit option

Remove Documents Folder From My Computer

Want to remove shared documents folder from My Computer 


windows many of the users dont want My document & share document from computer for security purpose then here is trick..


Follow the steps & remove share document from My computer


Copy the code below


Windows Registry Editor Version 5.00


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]
@=""



now paste it into Notepad & save as Remove_docs.reg


& For Restore share document to my computer

Create Virtual Hard drive in Windows 7

Virual Hard-drive is the .VHD file which you can mount as physical drive in 


Windows 7. You can create a virtual hard drive... 

With This feature is very useful in security manner also because you mount your 

virtual drive at time of your work & then unmount & the volume will be not 

shown in my computer & it will be secure to you to save important data...

To create Virtual Hard-disk in windows 7 follow this steps


Right click my computer icon & select Manage 

Click on Disk Management under Storage

Under Actions click on More Action and click on Create VHD






Specify Location and Virtual hard disk size and leave it in Fixed

size as Recommended.