A laser scanner comprising: a housing; a window; a light emitting system configured to output laser pulses of a first wavelength through the window; a light detection system configured to receive light of the laser pulses that is reflected by an object through the window, wherein the light detection system is configured to direct the light that is received through the window to an optical sensor that is configured to generate electrical signals from the received light; a controller comprising at least one processor, wherein the controller is configured to make a determination regarding a presence or position of the object based at least in part on the electrical signals; and one or more light sources for illuminating at least a portion of the window with light of a second wavelength that is different from the first wavelength, wherein the at least a portion of the window comprises diffusing features configured to diffuse the light of the second wavelength and to output the diffused light from the window, wherein the controller is configured to operate the one or more light sources in response to the determination regarding the presence or position of the object to provide a visual indication of the determination, wherein a first portion of the window has a cylindrical shape and has the diffusing features, wherein a second portion of the window has a frustoconical shape and does not have the diffusing features, wherein a large diameter portion of the second portion of the window is connected to the first portion of the window, wherein the light emitting system is configured to output the laser pulses through the second portion of the window, and wherein the light detection system is configured to receive light through the second portion of the window. a housing; a window; a light emitting system configured to output laser pulses of a first wavelength through the window; a light detection system configured to receive light of the laser pulses that is reflected by an object through the window, wherein the light detection system is configured to direct the light that is received through the window to an optical sensor that is configured to generate electrical signals from the received light; a controller comprising at least one processor, wherein the controller is configured to make a determination regarding a presence or position of the object based at least in part on the electrical signals; and one or more light sources for illuminating at least a portion of the window with light of a second wavelength that is different from the first wavelength, wherein the at least a portion of the window comprises diffusing features configured to diffuse the light of the second wavelength and to output the diffused light from the window, wherein the controller is configured to operate the one or more light sources in response to the determination regarding the presence or position of the object to provide a visual indication of the determination, wherein a first portion of the window has a cylindrical shape and has the diffusing features, wherein a second portion of the window has a frustoconical shape and does not have the diffusing features, wherein a large diameter portion of the second portion of the window is connected to the first portion of the window, wherein the light emitting system is configured to output the laser pulses through the second portion of the window, and wherein the light detection system is configured to receive light through the second portion of the window.