Monday, February 27, 2012

Disable automatic forwarding Exchange 2007

Disable automatic forwarding Exchange 2007

  1. Open EMC
  2. Expand Org Config
  3. Expand Hub Transport
  4. Right-Click "Default" under Remote Domains
  5. On the tab that reads "format of original message..."
  6. Check or Uncheck "Allow automatic forward"
If this setting is not here, it might have arrived with SP1.  I will post back if i can remember the cmdlet, which would have been available even before SP1.

Cmdlets:
Set-RemoteDomain and AutoForwardEnabled
Set-RemoteDomain and AutoForwardDisabled

Friday, February 17, 2012

How To: Install Windows 7 Or Windows 8 From USB Drive

This guide works 100% for Windows 7 and Windows 8 unlike most of the guides out there. I have seen many sites/blogs that have “Install Vista from USB guide” but either with incomplete steps or not working guide. I have also seen some guides that don’t’ use proper commands in this guide. After spending many hours I have come up with this 100% working guide to install Windows 7 and Windows 8 from USB flash drive.
Bootable USB drive
I just did this method on one of my friends machine and installed Windows 7 and Windows 8 . The main advantage is that by using USB drive you will be able to install Windows 7 or Windows 8 in just 15 minutes. You can also use this bootable USB drive on friend’s computer who doesn’t have a DVD optical drive.
The method is very simple and you can use without any hassles. Needless to say that your motherboard should support USB Boot feature to make use of the bootable USB drive.
Requirements:
*USB Flash Drive (Minimum 4GB)
*Windows 7 or Windows 8 installation files.
Follow the below steps to create bootable Windows 7/Windows 8 USB drive using which you can install Windows 7 or Windows 8 easily.
Procedure:
1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system.
2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights.
*Type cmd in Start menu search box and hit CtrlShiftEnter.
Or
*Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.
3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:
First type DISKPART and hit enter to see the below message.
Bootable USB Drive
Next type LIST DISK command and note down the Disk number (ex: Disk 1) of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.
4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1”.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.
So below are the commands you need to type and execute one by one:
SELECT DISK 1
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(Format process may take few seconds)
ASSIGN
EXIT
Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.
Bootable USB Drive
5. Next insert your Windows7/Windows 8 DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “H” (open my computer to know about it).
6. Maximize the minimized Command Prompt in the 4th step.Type  the following command now:
D: CD BOOT and hit enter.Where “D” is your DVD drive letter.
CD BOOT and hit enter to see the below message.
7. Type another command given below to update the USB drive with BOOTMGR compatible code.
BOOTSECT.EXE /NT60 H:
14
Where “H” is your USB drive letter. Once you enter the above command you will see the below message.
8. Copy your Windows 7 or Windows 8 DVD contents to the USB flash drive.
9. Your USB drive is ready to boot and install Windows 7 or Windows 8. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.
Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment.

Wednesday, February 8, 2012

How to avoid giving admin rights to a user based on app permissions

Many times app vendors will tell you that their software only runs if you give admin rights to your users. In most cases, you can give the users full control permission only on the app folder and this will take care of the problem.

This way your users will not have admin rights, but they will be able to read and write to the directory of a given app.

To do this simply locate the folders associated with the program on your hard drive
Then right click and go to properties
Select the security tab
Locate the users group and edit it for full control at the parent folder
Make sure that you replace permission to all child folders within the parent folder

If you do not want all users to have this access for that particular app, then specify the user with full access instead of using the "users" group that is defined by windows.

That's it

Windows 7 Temp Profile - Deleting User Profile To Recreate it

1- Logon with local admin profile. (or other account different that you want to use, but with admin privileges).
2- Open regedit and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Here you can see all SIDs of loaded profiles and probably you'll have some of them repeated.
3- You will click on each string that looks like the ones below and it will show you on the registry right view the user that is associated to it, delete the ones for the users intended. Then delete the actual user profile on Windows under "Users" (make sure to back up first)

SID-1292428093-343818398-2115-158554
SID-1292428093-343818398-2115-158554.bak

4- Restart your computer or Logoff and Logon with the profile that you want to restore and that's all, your profile will be restored Perfectly.

Tuesday, February 7, 2012

Reset OS X admin password with CD

Reset Mac Password – with the installer CD/DVD

reset forgotten mac passwordResetting a forgotten Mac password is easier if you have an installer disk handy, we have covered this tip before on it’s own:
  • Boot from the Mac OS X installer disk by inserting it into the Mac and holding down the “C” key on boot
  • Select your language preferences and then under the “Utilities” menu select “Password Reset” (it may say “Reset Password” instead, depends on the version of Mac OS X)
  • Select the hard disk that the forgotten password is on, then select the username of the forgotten password, you’ll then be asked to select a new password
  • Reboot as usual from the hard drive, using your newly reset password as the login!
This is borrowed from our article on how to reset a lost password with a CD. This is obviously an easier method but it’s of no help if you own a MacBook Air with no DVD drive, or if you just don’t have the installer Mac OS CD laying around. If you’re in that situation, the best alternative is to use the above method that does not require a CD to reset the password.

How to reset an OS X password without a disk

Click Restart at the login window:

While the computer is restarting, hold down "Command-S" until you see text scrolling through the window. This boots the computer into single user mode.

Next, you must mount the root drive as writable so that changes will save:
mount -uw /
Now, type the following command exactly, followed by the enter key:
rm /var/db/.applesetupdone


Restart, then OS X will boot up and present you with the option to create a new user account that will have admin rights.