Sunday, 16 March 2014

How To Talk About Your Biggest Weaknesses In A Job Interview Jacquelyn Smith, Forbes Staff

You’re in the hot seat and things are going well. You talk about your attributes, skills and strengths with ease. Just when you think it’s pretty much in the bag, the hiring manager asks that dreaded question: What’s your biggest weakness?
“This is one of the questions people have the hardest time answering,” says Amanda Abella, a career coach, writer, speaker. “[Your response] tells the interviewer a lot about your character, so it definitely holds a lot of weight.”
Andrew G. Rosen, founder and editor of the popular career advice blogJobacle.com, agrees. “This is a go-to question for interviewers,” he says. “It’s a seemingly innocent question that has the potential to quickly expose a major flaw. It’s the Hail Mary of the interview; a final last-ditch attempt to trip you up and send you in the other direction. But with a little planning, most interviewees can easily neutralize this question; even use it to their advantage.”
It’s not a trick question and there’s no “right” answer—but interviewers arelooking for something specific in your response to this challenging query.
“Hiring managers who ask about weaknesses during interviews are looking for examples of how a person faced obstacles in the past,” says Dylan Schweitzer, a group talent acquisition manager for Enterprise Rent-A-Car. “All employees have flaws, but how they deal with failure and have made steps to fix them are indicators as to how they will handle constructive criticism in the future,” he says. “Interviewers ask about weaknesses and failures because resiliency is a critical skill set which employees must have. As a manager, you expect to give constructive criticism to your employees and the ability of a person to take that and improve is important when choosing who you will manage.”
Abella concurs. “Hiring managers know that no one is perfect. However, they want to make sure of a few things.” First, she says, they want to know that you aren’t conceited and are aware that you make mistakes. “Confidence is great, but there’s a fine line between confidence and conceit.” Second, it’s also a question of character, she says. “If your weakness is that you have a bad temper, you may come off like a loose cannon who will be difficult to work with. Meanwhile, if a weakness is something like ‘I put a lot of pressure—sometimes too much pressure—on myself to succeed, but I’ve worked on this,’ then that doesn’t sound so bad.”
Interviews are designed to filter out bad candidates just as much as they are about finding the right one, Rosen says. “‘What’s your biggest weakness?’ is sort of a silly question and the interviewer is hoping they will catch you off guard, when you don’t have a scripted answer to fall back on. They think you will reveal something you didn’t want or expect to.”

To ensure this doesn’t happen to you, here are some tips for talking about your biggest weakness in a job interview:
Know your weakness(es). Penelope Trunk, a career coach and author of Brazen Careerist: The New Rules for Success, wrote in a blog post on the topic: “If you don’t know your weakness, take a personality type quiz and the results will show you. Everyone has specific strengths and everyone has specific weaknesses. It’s pretty certain that if you are not clear on your weaknesses then you are not clear on your strengths, and your value at the office will be questionable.”
Be honest, but don’t mention essential skills.“Do not give a bullshit answer,” Trunk writes. “Saying something like, ‘I pay too much attention to detail’ is actually a terrible answer for someone who is getting hired to do detail work. It means you have a deficit in the exact area you’re trying to get hired for. The best answer to the question is when you tell a truthful answer, because it’s very unlikely you will be hired for the thing you are most weak at doing.”
For example, someone who is a production artist could say his weakness is finance, she says. “So what if he doesn’t like finance? He is not getting hired to do it.”
To avoid mentioning a weakness that can crush your chances of landing the job, review the job description to see what exactly the employer is looking for.
Talk about how you’ve conquered the weakness. “Be prepared to share an example of a previous failure or weakness that you’ve successfully turned into a strength,” Schweitzer says. “Do not discuss areas of opportunity that you are still working on and have not yet fixed.”
For example, if you say that you used to come in late to work and usually come in on time now, you can expect to not get a job offer. “The example of coming into work late needs to have a story behind it of how a manager, mentor or family member talked to you about how timeliness impacts your personal brand and ever since then you arrive early to all meetings. In fact, an example of a manager recently complimenting you on being the first one to arrive at meetings or events would be the support needed to show you fixed this issue.”
Don’t prepare an exact response. Of course you want to be prepared for every common interview question—especially tricky ones like this. Think about your weaknesses ahead of time, but don’t rehearse a response. Your answer might change slightly according to the rest of the conversation with the hiring manager, and you don’t want it to come across as unauthentic or staged.
Only discuss work-related weaknesses. “Always make sure that they are business appropriate,” Abella says. “Personal weaknesses are okay sometimes, but what these guys are really looking for are your weaknesses in the work place and how you’ve overcome them.”
You also want to avoid personal drama, she says. “Sure, everyone has got some, but companies want to ensure this won’t affect your job if you get hired. Besides, it’s considered completely inappropriate to bring personal drama into the business world.”
Don’t say you’re a perfectionist or you work too hard.  Schweitzer says common responses that are immediately dismissed are: “I am a perfectionist,” and “I work so hard that I don’t allow myself to relax.” “Interviewers hear these examples all the time and often will ask for another example or just move on knowing you prepared for that question. Use the weakness question as an opportunity to share how you’ve overcome a professional challenge and how you now are better because of it.”
Trunk agrees that you should avoid the ‘perfectionist’ response. “If you are not being interviewed for detail work it’s not a believable weakness.  And if you are being hired for detail work being a perfectionist will make you slow and annoying.”
“Hiring managers know that people make mistakes, and they want to know how you’ve handled yours,” Abella concludes. “Being aware of your weaknesses is a good sign; it shows that you know where your boundaries are and aren’t suffering from a case of hubris.”

Wednesday, 12 March 2014

Q:  I hope I'm posting this in the right place; however, I have an issue.

I ran an sfc/scannow to hopefully fix an connection error I had with Microsoft Office 2013. It came back with this:

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.

I hope someone may help!
Thanks!

Answer : 

from a administrator command prompt i ran both of these commands notice there is a space between the forword slashes

1.dism /online /cleanup-image /checkhealth

after i ran

2.dism /online /cleanup-image /restorehealth

the restorehealth command can take 20min or more to run do not stop it let it finish

then i ran sfc /scannow again and no more corrupt system files

How to determine what services are running under a SVCHOST.EXE process

How to determine what services are running under a SVCHOST.EXE process

Table of Contents
  1. Introduction
  2. Determining the services running under a SVCHOST.EXE process using Process Explorer
  3. Determining the services running under a SVCHOST.EXE process using TaskList
  4. Determining the services running under a SVCHOST.EXE process in Windows Vista and Windows 7
  5. Determining the services running under a SVCHOST.EXE process in Windows 8
  6. Advanced Information about SVCHOST.EXE
  7. Conclusion
Watch the Windows XP SVCHOST companion video here!
Watch the Windows Vista and Windows 7 SVCHOST companion video here!

Introduction
A very common question we see here at Bleeping Computer involves people concerned that there are too many SVCHOST.EXE processes running on their computer. The confusion typically stems from a lack of knowledge about SVCHOST.EXE, its purpose, and Windows services in general. This tutorial will clear up this confusion and provide information as to what these processes are and how to find out more information about them. Before we continue learning about SVCHOST, lets get a small primer on Windows services.
Services are Windows programs that start when Windows loads and that continue to run in the background without interaction from the user. For those familiar with Unix/Linux operating systems, Windows services are similar to *nix daemons. For the most part Windows services are executable (.EXE) files, but some services are DLL files as well. As Windows has no direct way of executing a DLL file it needs a program that can act as a launcher for these types of programs. In this situation, the launcher for DLL services is SVCHOST.EXE, otherwise known as the Generic Host Process for Win32 Services. Each time you see a SVCHOST process, it is actually a process that is managing one or more distinct Windows DLL services.
Outlined below are three methods, depending on your Windows version, to see what services a SVCHOST.EXE process is controlling on your computer as well as some advanced technical knowledge about svchost for those who are interested.

Determining the services running under a SVCHOST.EXE process using Process Explorer
Process Explorer, from Sysinternals, is a process management program that allows you to see the running processes on your computer and a great deal of information about each process. One of the nice features of Process Explorer is that it also gives you the ability to see what services a particular SVCHOST.EXE process is controlling.
First you need to download Process Explorer from the following site:
Process Explorer
Download the file and save it to your hard drive. When it has finished downloading, extract the file into its own folder and double-click on theprocexp.exe to start the program. If this is your first time running the program, it will display a license agreement. Agree to the license agreement and the program will continue. When it is finished loading you will be presented with a screen containing all the running processes on your computer as shown in the figure below. Remember that the processes you see in this image will not be the same as what is running on your computer.
Process Explorer
Process Explorer Screen
Scroll through the list of processes until you see the SVCHOST.EXE process(es). To find out which services are running within a particular SVCHOST.EXE process we need to examine the properties for the process. To do this double-click SVCHOST.EXE entry in Process Explorer and you will see the properties screen for the process like in the image below.
SVCHOST.EXE Properties
SVCHOST.EXE Properties
Finally, to view the services running in this process, click on the Services tab. You will now see a screen similar to the one below.
Services Tab
Services Tab
This window displays the services that are being managed by this particular SVCHOST.EXE process. As you can see the SVCHOST.EXE that we are currently looking at in this tutorial is managing the DCOM Server Process Launcher and Terminal Services.
Using this method you can determine what services a SVCHOST.EXE process is controlling on your computer.

Determining the services running under a SVCHOST.EXE process using Task List
For those who like to tinker around in a Windows command prompt/console window, and have Windows XP Pro or Windows 2003, there is a Windows program called tasklist.exe that can be used to list the running processes, and services, on your computer. To use task list to see the services that a particular SVCHOST.EXE process is loading, just follow these steps:
1. Click on the Start button and then click on the Run menu command.
2. In the Open: field type cmd and press enter.
3. You will now be presented with a console window. At the command prompt type tasklist /svc /fi "imagename eq svchost.exe" and press the enterkey. You will see a list of the processes on your computer as well as the services that a SVCHOST.EXE process is managing. This can be seen in the image below.
TaskList /svc output
TaskList /svc output
When you are done examining the output, you can type exit and press the enter key to close the console window.

Determining the services running under a SVCHOST.EXE process in Windows Vista and Windows 7
Windows Vista and Windows 7 have enhanced their Windows Task Manager and one of its features allows us to easily see what services are being controlled by a particular SVCHOST.EXE process. To start, simply start the task manager by right clicking on the task bar and then selecting Task Manager. When Task Manager opens click on the Processes tab. You will now be presented with a list of processes that your user account has started as shown in the image below.
Windows 7's Current User Processes.
Windows 7's Current User Processes
We, though, need to see all of the processes running on the computer. To do this click on the button labeled Show All Processes. When you do this, Windows may prompt you to allow authorization to see all the processes as shown below.
Show all Processes Confirmation
Show all Processes Confirmation
Press the Continue button and the Task Manager will reload, but this time showing all the processes running in the operating system. Scroll down through the list of processes until you see the SVCHOST processes as shown in the image below.
All Windows 7 Processes
All Windows 7 Processes
Right-click on a SVCHOST process and select the Go to Service(s) menu option. You will now see a list of services on your computer with the services that are running under this particular SVCHOST process highlighted. Now you can easily determine what services a particular SVCHOST process is running in Windows Vista or Windows 7.

Determining the services running under a SVCHOST.EXE process in Windows 8
The Windows 8 Task Manager makes it much easier to find what services are running under a particular SVCHOST.exe instance. To access the Task Manager, type Task Manager from the Windows 8 Start Screen and then click on the Task Manager option when it appears in the search results. This will open the basic Task Manager as shown in the screenshot below.
Tip: You can also use the Ctrl+Shift+Esc keyboard combination to automatically open the Task Manager from any screen in Windows.

Minimal Task Manager

To see the list of processes, click on the More details option.

Task Manager More Details

Scroll down until you see the Windows Processes category and look for the Service Host entries as shown in the image below.

Service Host Entries

Next to each Service Host row process will be a little arrow. Click on this arrow to expand that particular Service Host entry to see what services are running under it.

Expanded Service Host entry

Under the expanded Service Host, you will now see the list of services that is running under it. This allows you to easily determine what services a particular SVCHOST process is managing in Windows 8.

Advanced Information about SVCHOST.EXE
Now that we know that a single SVCHOST.EXE process can load and manage multiple services, what determines what services are grouped together under a SVCHOST instance? These groups are determined by the settings in the following Windows Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SVCHOST
Under this key are a set of values that group various services together under one name. Each group is a REG_MULTI_SZ Registry value that contains a list of service names that belong to that group. Below you will see standard groups found in XP Pro.
Group Name
Services in the group
LocalServiceAlerter, WebClient, LmHosts, RemoteRegistry, upnphost, SSDPSRV
NetworkServiceDnsCache
netsvcs6to4, AppMgmt, AudioSrv, Browser, CryptSvc, DMServer, DHCP,
ERSvc, EventSystem, FastUserSwitchingCompatibility, HidServ, Ias,
Iprip, Irmon, LanmanServer, LanmanWorkstation, Messenger, Netman,
Nla, Ntmssvc, NWCWorkstation, Nwsapagent, Rasauto, Rasman, Remoteaccess,
Schedule, Seclogon, SENS, Sharedaccess, SRService, Tapisrv, Themes, TrkWks,
W32Time, WZCSVC, Wmi, WmdmPmSp, winmgmt, TermService, wuauserv,
BITS, ShellHWDetection, helpsvc, xmlprov, wscsvc, WmdmPmSN
rpcssRpcSs
imgsvcStiSvc
termsvcsTermService
HTTPFilterHTTPFilter
DcomLaunchDcomLaunch, TermService
Each of the service names in these groups corresponds to a service entry under the Windows Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
Under each of these service entries there is a Parameters subkey that contains a ServiceDLL value which corresponds to the DLL that is used to run the service.
When Windows loads it begins to start services that are set to enabled and have an automatic startup. Some services are started using the SVCHOST.exe command. When Windows attempts to start one of these types of services and there is currently not a svchost instance running for that services group, it will create a new SVCHOST instance and then load the DLL associated with the service. If on the other hand, there is already a SVCHOST process running for that group it will just load the new service using that existing process. A service that uses SVCHOST to initialize itself, provides the name of the group as a parameter to svchost.exe command. An example would be:
C:\WINDOWS\system32\svchost.exe -k DcomLaunch
In the above command line, the svchost process will look up the ServiceDLL associated with the service name from the DcomLaunch group and load it.
This can be confusing, so let's use an example. There is a Windows service called Distributed Link Tracking Client which has a service name TrkWks. If we examine the table above, we can see that the TrkWks service is part of the netsvcs group. If we look at the Registry key for this service we see that it's ServiceDLL is %SystemRoot%\system32\trkwks.dll. Therefore, using this information and what we learned above, we know that the executable command for the TrkWks service must be:
C:\WINDOWS\system32\svchost.exe -k netsvcs
When the TrkWks service is started Windows will check to see if there is a SVCHOST process for the netsvcs group already created. If not it will create an instance of one to handle services in the netsvcs group. The SVCHOST process for netsvcs will then start the service by executing the%SystemRoot%\system32\trkwks.dll. Once the DLL has been loaded by SVCHOST the service will then be in a started state.

Conclusion
Now that you understand what SVCHOST.EXE is and how it manages certain Windows services, seeing multiple instances in your process list should no longer be a mystery or a concern. It is not uncommon to see numerous SVCHOST entries, sometimes upwards to 8 or 9 entries, running on your computer. If you are concerned with what is running under these processes, simply use the steps described above to examine their services. If you are unsure what a particular service does and need help, feel free to ask any question you may have in of our Windows forums.

Sunday, 9 March 2014

Ubuntu Networking Configuration Using Command Line

The basics for any network based on *nix hosts is the Transport Control Protocol/ Internet Protocol (TCP/IP) combination of three protocols. This combination consists of the Internet Protocol (IP),Transport Control Protocol (TCP), and Universal Datagram Protocol (UDP).
By Default most of the users configure their network card during the installation of Ubuntu. You can however, use the ifconfig command at the shell prompt or Ubuntu's graphical network configuration tools, such as network-admin, to edit your system's network device information or to add or remove network devices on your system
Configure Network Interface Using Command-Line
You can configure a network interface from the command line using the networking utilities. You configure your network client hosts with the command line by using commands to change your current settings or by editing a number of system files.
Configuring DHCP address for your network card
If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card
sudo vi /etc/network/interfaces
Note :- Use vi editor if you don't have GUI installed
If you have GUI use the following command
gksudo gedit /etc/network/interfaces
# The primary network interface -- use DHCP to find our address
auto eth0
iface eth0 inet dhcp
Configuring Static IP address for your network card
If you want to configure Static IP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card
sudo vi /etc/network/interfaces
Note :- Use vi editor if you don't have GUI installed
If you have GUI use the following command
gksudo gedit /etc/network/interfaces
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
After entering all the details you need to restart networking services using the following command
sudo /etc/init.d/networking restart
Setting up Second IP address or Virtual IP address in Ubuntu
If you are a server system administrator or normal user some time you need to assign a second ipaddress to your Ubuntu machine.For this you need to edit the /etc/network/interfaces file and you need to add the following syntax.Below one is the only example you need to chnage according to your ip address settings
sudo vi /etc/network/interfaces
Note :- Use vi editor if you don't have GUI installed
If you have GUI use the following command
gksudo gedit /etc/network/interfaces
auto eth0:1
iface eth0:1 inet static
address 192.168.1.60
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
You need to enter all the details like address,netmask,network,broadcast and gateways values after entering all the values save this file and you need to restart networking services in debian using the following command to take effect of our new ipaddress.
After entering all the details you need to restart networking services using the following command
sudo /etc/init.d/networking restart
Setting your ubuntu stytem hostname
Setting up your hostname upon a ubuntu installation is very straightforward. You can directly query, or set, the hostname with the hostname command.
As an user you can see your current hostname with
sudo /bin/hostname
Example
To set the hostname directly you can become root and run
sudo /bin/hostname newname
When your system boots it will automatically read the hostname from the file /etc/hostname
If you want to know more about how to setup host name check here
Setting up DNS
When it comes to DNS setup Ubuntu doesn't differ from other distributions. You can add hostname and IP addresses to the file /etc/hosts for static lookups.
To cause your machine to consult with a particular server for name lookups you simply add their addresses to /etc/resolv.conf.
For example a machine which should perform lookups from the DNS server at IP address 192.168.3.2 would have a resolv.conf file looking like this
sudo vi /etc/resolv.conf
Note :- Use vi editor if you don't have GUI installed
If you have GUI use the following command
gksudo gedit /etc/resolv.conf
enter the following details


search test.com
nameserver 192.168.3.2

Saturday, 8 March 2014

Part 3 : Introduction to Cygwin, Part III - Scripts, packages and more

Welcome back, Windows-using command line lovers! Part I and Part II of this introduction to Cygwin covered installation, basic Unix commands and other recipes for command line goodness. This third and final installment will tackle adding packages to your Cygwin installation, creating scripts from a set of commands, and a few Cygwin and Unix resources where you can learn more