Archive

Archive for the ‘Sysadmin’ Category

Free E-books on Windows Phone 7, Visual Studio 2010, SQL server 2008 R2, Virtualization, Windows 2008 R2, Office 2010 and deploying Windows 7

Categories: Sysadmin Tags: ,

Create Outlook 2007 Icon on Windows 7 Desktop

Microsoft Office 2007 installation in windows 7 won’t create any Outlook Icon on User desktop. This is expected behavior with default installation. If you want to get this icon, then import the below registry information to your system and you should be able to see it immediately.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}]

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}ShellFolder]
“Attributes”=dword:00000072

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}]
@=”Microsoft Office Outlook”
“InfoTip”=”Displays your e-mail, calendar, contacts, and other important personal information.”

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}DefaultIcon]
@=”C:\PROGRA~2\MICROS~1\Office12\OUTLOOK.EXE,7″

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}InprocServer32]
@=”C:\PROGRA~2\MICROS~1\Office12\MLSHEXT.DLL”
“ThreadingModel”=”Apartment”

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}Shell]

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}ShellOpen]

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}ShellOpenCommand]
@=”"C:\PROGRA~2\MICROS~1\Office12\OUTLOOK.EXE”"

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}ShellPropertiescommand]
@=”rundll32.exe shell32.dll,Control_RunDLL “C:\PROGRA~2\MICROS~1\Office12\MLCFG32.CPL”"

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}shellex]

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}shellexPropertySheetHandlers]

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}shellexPropertySheetHandlers{00020D75-0000-0000-C000-000000000046}]
@=”"

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00020D75-0000-0000-C000-000000000046}ShellFolder]
“Attributes”=hex:72,00,00,00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace{00020D75-0000-0000-C000-000000000046}]

You can save above bunch of keys as reg file and import into the target machine. Obvious thing is that you should take backup of your registry before you import.

Hope this tip helps you!!

[Source]

Apple MAC OS X keyboard shortcuts

Visit below link for complete list of MAC OS X shortcuts.

Click Here

Hope this helps.

Categories: Sysadmin

Delete is not Delete…

When you delete a file from your system, it takes reasonably less time than the time it took for copying it. So what happens when you delete?  It won’t delete each bit/byte of information it copied to disk when file created; rather it just delete the link in File System Table so that it will be invisible for Operating System. Here you might get a doubt, “Why it is taking considerable amount time (though less than original creation time) for deletion if it has to delete just a link?”. In fact, it is my doubt and the I self-answered that, it might be because, there are many links in file system table that needs to be deleted. When you copy a file to your disk, there is no guarantee that all the file bites information will be stored at same location(sectors/cylinders) in hard disk. Operating system will spread the parts of file information to various locations of disk to utilize the free fragmented space. That is why we get more links in FAT and more time to delete links FAT. Fine, let’s come back to our original topic of file deletion and continue the rambling. So, for this reason, when you delete(Shift + Del) a file from system, it is NOT deleted from storage originally and there will be traces of your deleted files in disk. Your OS will not see them but by using third party utilities you can see these files. These third party utilities will directly talk with disk in raw language instead of going through file system table table and gets the list of files which are available on it. This is how some of the Data Recovery software’s will work and fetch the Shift+Deleted items for you.  Similar thing happens when you move the files (move is an operations which includes deletion at source and creation at destination if you are doing between different systems — it’s a different story when you move files within same file system). 

Well, now we know that files will still reside in disk though you permanently delete them; but for how long? Life time?. Simple answer is, “NO” not for life time. If it does like this, there won’t be any space for your new files. 

At the same, these deleted files will reside in your disk for a specific period of time. This time will be based on your system usage. If you are daily user of system and do lot of file copy stuff, your disk will end up with no free space and then it will start writing the data into the sectors where previous shift deleted items are residing. Operating System won’t mind writing the files into these locations as it sees those blocks as free space (remember when we deleted the file, it cleared the links and marked that space as free in FAT). So, when such overwrite happens, you cannot get that deleted items back. In other words, your permanently deleted data will still reside in disk until that space is used by operating system to store some other file. 

Clear? 

Now let’s take a step forward.  For some reason, you want to get deleted data back. Simply Google for recover deleted files and you will get lot many. Some of them will be free and some will charge you. Whatever is the tool, it will look for files in drive which are not part of your OS file system table to get list of deleted files. I am not sure exactly how it will be getting this list from drive, but I think drives will have some low level tables maintained for data. 

So, if the deleted files physical location is overwritten with some data by OS, can’t I get it back? 

Looks like answer is “yes” here. I read in this blog that you can recover the data which was overwritten up to 10 times. This might be dependent on your disk type as well. 

I am worried about my data confidentiality if retrieval of deleted items is possible like this.  

It’s not only you, but many organizations and individuals worry about this. So, solution here is, you should use a tool/software which completely wipes the traces of your permanently deleted data from disk.  Last month I read about such a tool named “Eraser” in TechNet Magazine(Dec-2009 edition). You might want to give a try… 

My rambling ends here…. 

Happy Learning..,
Sitaram Pamarthi

HP wireless printers GiveAway offer from Labnol

November 23, 2009 Leave a comment

The famous Indian techknowlegy site, labnol has announced a giveway offer for it’s readers. HP is going to present  wireless printers to the three winners, so hurry up and grab your printer, if you are luckey enough! :-)

Visit this labnol link to get more details about this offer.

Categories: Sysadmin

Download Google Chrome OS

November 22, 2009 1 comment

If you want to get your hands into the new Google Chrome OS, here you go.Google OS login screen

Download the VMDK file(compatible with Vmware Server/workstation/fusion) from here and setup your own instance.

Below are the some of interesting notes about Google OS  [ Courtesy : Manan's Blog].

  • It will be launched next year (they wanted to cash in on Microsoft’s PDC09. Cheapos!)
  • It’s ONLY meant for Netbooks.
  • The OS looks exactly like the Chrome browser.
  • It’ll be locked to the hardware, like Apple the OS will come bundled on Netbooks.
  • It is an Open Source project and bits are available for developers now.
  • It is based on Debian. It’s basically just another Linux distro.
  • Everything you do will be stored online. Notes and documents will be synced to Google Docs.
  • No native applications.
  • The current build can be compiled and installed on any machine.
  • An App store is likely & no word on weather it will support Android apps, nothing certain but maybe.

At present there are not much application available in Google OS to play with. But look like developers already started their work to bring their apps Chrome compatible. The thing I like abou this is, you need to use your gmail ID for login(I think Google Apps IDs also will work, but haven’t tried) and it becomes one dash board for all google realted services.

Google OS applications

Write in comments section if you find any other interesting news about Google OS.

Categories: Sysadmin

Copy file/Folder path easily in Windows 7

November 11, 2009 Leave a comment

Windows 7 brought lot of features for users and easy options for administrators. If you ever want to copy a file/folder patch in windows 7, just hold SHIFT button and right click on that file/folder. It will give an option called “Copy as Path”, select that and it takes the file path into windows clip board and paste it where ever you want. It pretty pretty easy than conventional method of copying from address bar(or from file/folder properties)

windows-7-copy-path
Do you know a tip/trik in Windows 7 and want to share that? Put it here it in comments with a link to your blog.

Categories: Sysadmin

Fetch the SID of a user account using PowerShell


If you want to find-out the SID of a Domain(or local) user using powershell, here is the code.

Get the SID of domain User:

write-host (new-object System.Security.Principal.NTAccount “domainuser”).Translate([System.Security.Principal.SecurityIdentifier]) -b yellow -f red

Get the SID of local User:

write-host (new-object System.Security.Principal.NTAccount “administrator”).Translate([System.Security.Principal.SecurityIdentifier]) -b yellow -f red

If you are a programming geek and want to convert this into cmdlet(say get-sid), you can find some info here at http://www.clariusconsulting.net/blogs/pga/archive/2006/08/08/643.aspx
Happy Learning,

Sitaram Pamarthi

Categories: Sysadmin

This post confirms my ownership of the site and that this site adheres to Google AdSense program policies and Terms and Conditions.

This post confirms my ownership of the site and that this site adheres to Google AdSense program policies and Terms and Conditions.

Categories: Sysadmin

Unable to copy files more than 4GB to USB drive

August 26, 2009 1 comment

This is a general problem one will face when they use external USB storage. Most of the USB mass storage vendors, packs their disks with FAT32 formatting (not sure why). This limits us from copying a file which is more than 4GB. It’s a limitation with FAT32 partition. Another thing I noticed is, we cannot copy more than 100GB into a FAT32 formatted USB drive though the drive capacity is more than 100GB.

So, if your USB storage disk of any size more than 100GB, I prefer formatting it with NTFS before you really use it. If you already have some data in it, and cannot really copy it to somewhere for formatting, you can give a try with “covert” command which coverts your USB drive to NTFS from FAT32 without losing data. Try at your own risk, I cannot guarantee. Chose this utility if you really don’t care or don’t have a place to back up your data

Happy Learning,
Sitaram Pamarthi

Categories: Sysadmin