Showing posts with label windows interview questions. Show all posts
Showing posts with label windows interview questions. Show all posts

Saturday, May 23, 2015

What is a DLL?

What is a DLL?
A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Therefore, each program can use the functionality that is contained in this DLL to implement an Open dialog box. This helps promote code reuse and efficient memory usage.
https://support.microsoft.com/en-us/kb/815065

Tuesday, August 20, 2013

Using Symlinks in Windows


  • Using Symlinks in Windows Vista

One of the long-awaited features in Windows Vista was the ability to use symbolic links, the way you can in linux

For instance, if you wanted to make the folder C:\Users\Geek\TestFolder available from C:\TestFolder as well, you could use the following command.

C:\mklink /D C:\TestFolder C:\Users\Geek\TestFolder

symbolic link created for C:\TestFolder <<===>> C:\Users\Geek\TestFolder




Hard Link

A hard link directly points to the file, and acts to the operating system as if it is the file itself. You’ll want to use this option the majority of the time if you are trying to fake an application’s directory.

Soft Link

A soft link is essentially a shortcut to a file or folder – if you are using Windows explorer, you’ll be redirected to the directory if you double-click on a shortcut, it won’t pretend its part of the filesystem. You can still directly reference or open a file with the symlinked path, and it mostly works.

Deleting Symlinks

To delete a symlink, you can just delete the link. Just make sure you don’t delete the original file.

http://www.howtogeek.com/howto/windows-vista/using-symlinks-in-windows-vista/

Sunday, March 10, 2013

how to activate administrator account windows 7



normally try
net users administrator /active:yes

if you run windows 7 french version try
net users administrateur /active:yes




There are two problems with this feature of the operating system.

First, by default, the administrator account does not show up in the list of available accounts when Windows 7 boots up. This is why so many people do not know that the account even exists.

Second, there is no password set for the administrator account. These two issues combine to create a moderate to major security risk depending on how you use Windows.

http://helpdeskgeek.com/windows-7/secure-the-windows-7-administrator-account/

Wednesday, March 6, 2013

So What is hiberfil.sys Anyway?



  • So What is hiberfil.sys Anyway?

Windows has two power management modes that you can choose from: one is Sleep Mode,The other is Hibernate mode, which completely writes the memory out to the hard drive, and then powers the PC down entirely, so you can even take the battery out, put it back in, start back up, and be right back where you were.
Hibernate mode uses the hiberfil.sys file to store the the current state (memory) of the PC,
http://www.howtogeek.com/howto/15140/what-is-hiberfil.sys-and-how-do-i-delete-it/