2 clicks for more data protection:
Only when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. nicht mit Flattr verbunden
in his office, a customer have a few Avocent KVM switches to control some client computers in a remote room. He ask me about the possibility to get a list of all computers connected to these boxes, because he do not want to maintain any list by hand.
I research the documention but there is no (scripting) interface from which I could get such a list. SSH is only for connecting serial consoles, SNMP offers no OIDs for such a case.
Because of the costs, DSView isn’t a option. The only way seems to be to extracting the list by reading the Webfrontend HTML output. Let us do this
I wrote a script in powershell, at least version 2 is needed to handle selfsigned SSL certificates, which do the following:
Login to the Webfronted with https and SSL encryption by System.Net.HTTPWebRequest class to get the authentification cookie
Get the Device HTML page by .NET class System.Net.Webclient and using Authentification cookie
Save HTML do a temporary file
Open the file with Internet Explorer
Get the URL to start a KVM session, computername and portnumber by DOM
Script details
Define the User, Password, protocol and the devices:
2 clicks for more data protection:
Only when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. nicht mit Flattr verbunden
a good friend of mine came to me last week because some services of Windows Vista on his notebook did not run as expect. In detail:
Windows Search service starts but terminates
EventID 7034: The Windows Search service terminated unexpectedly. It has done this 4 time(s).
Windows search terminates after start
EventID 7024: The Windows Search service terminated with service-specific error 2147749155 (0x80040D23)
EventID 1006: The Windows Search Service has failed to create the new search index. Internal error <4, 0x8004117f
EventID 9000: The Windows Search Service cannot open the Jet property store.
Windows Update service starts, but do not work, some errors are logged in C:\Windows\WindowsUpdate.log
45c DtaStor FATAL: Failed to initialize datastore, error = 0xC8000247
45c AU FATAL: Failed to get session from datastore, error = 0xC8000247
45c AU FATAL: Failed to Unserialize from data store, error = 0xC8000247
No Windows Update File could installed by double clicking a msu File.
Cryptocraphic service do not run as expected:
Signature for Windows builtin programs cannot be verified, for example mmc.exe. Error Message:
“Do you want the following program to allow changes to this computer?“
UAC Message: builtin executables could not verified.
Cause: The folder c:\windows\system32\catroot2 is empty or/and some errors are logged in file C:\Windows\System32\catroot2\dberr.txt: CatalogDB: 21:39:37 28.02.2013: JetInit Corruption
CatalogDB: 21:39:37 28.02.2013: catdbsvc.cpp at line #747 encountered JET error -583
CatalogDB: 21:39:37 28.02.2013: catdbsvc.cpp at line #961 encountered JET error -583
CatalogDB: 21:39:37 28.02.2013: catdbsvc.cpp at line #6636 encountered JET error -583
EventID257: The following information was included with the event: -583 the message resource is present but the message is not found in the string/message table
It seems that all services which uses the Window Jet Database engine are affected.
2 clicks for more data protection:
Only when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. nicht mit Flattr verbunden
the default setting in Windows Vista, 7 or 8 is to assign a drive letter when you plugin a removable device. But sometimes you want to prevent Windows from doing that, for example security reasons.
You can control this behaviour with the mountvol command. The following command line disable the automatical assignment.
mountvol /N
to enable the auto assignment again execute
mountvol /E
2 clicks for more data protection:
Only when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. nicht mit Flattr verbunden
2 clicks for more data protection:
Only when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. nicht mit Flattr verbunden
I have added a virtual directory to an apache web server and the virtual directory is located outside the document root. I configured the httpd.conf how it is decripted in the apache doc
When I access the virtual directory an error “Access forbidden! Error 403” occured. The config seems to ok:
1
2
3
4
5
6
7
Alias /virtualdirectory/ "D:/user/www/virtual/"
<Directory "D:/user/www/virtual/">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Solution:
The default apache configration is very restrictive. It do not allow to access directories without authentication. This is defined in the Directory section of httpd.conf:
1
2
3
4
<Directory>
AllowOverride none
Require all denied
</Directory>
Add a “require all granted” directive to your virtual directory section will grant the access.
1
2
3
4
5
6
7
8
Alias /virtualdirectory/ "D:/user/www/virtual/"
<Directory "D:/user/www/virtual/">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…
This website uses cookies to improve your experience and to serv personalized advertising by google adsense. By using this website, you consent to the use of cookies for personalized content and advertising. For more information about cookies, please see our Privacy Policy, but you can opt-out if you wish. AcceptRejectRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the ...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.