Created by Solip on 26 February 2010
Cron is used on Linux to run scheduled tasks. The configuration to be found in:
- / Etc / crontab - system-wide
- / Etc / cron.d
- / Etc / cron.daily - daily call by crontab
- / Etc / cron.hourly - called by crontab hourly
- / Etc / cron - Monthly called by crontab
- / Etc / cron.weekly - weekly call Duch crontab
Furthermore, can be stored per user, a separate crontab. To create a file with a cron job and does this by:
cron dateiname
The format of cron files:
Instruction to be executed *****
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ └ ─ ─ ─ ─ week (0-7) (Sunday = 0 or = 7)
│ │ │ └ ─ ─ ─ ─ ─ ─ month (1-12)
│ │ └ ─ ─ ─ ─ ─ ─ ─ ─ day (1-31)
│ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ hour (0-23)
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ minute (0-59)
The wildcard * can also be used.
Furthermore, as divider * / 2 - every 2nd Minute for example.
And areas such as 1-5 for weekdays as well.
In practice there is almost nothing that could withstand its schedule using cron.
Posted in Shell Scripting | No Comments »
Created by Solip on 25 February 2010
With Windows 7, an innovation in the field of smart card was introduced authentication / login. Users of Windows 7 can use it without installing special software on their smart card security applications such as the application or signing documents. Prerequisite for such use, however, is to support the particular type of smart card by the manufacturer / publisher of the map.
For most smart cards in circulation, there is no such support, which means that at most a card is inserted into the card reader
Notification of an unsuccessful installation of driver software appears. This shall not mean the driver software of the card reader itself, which is probably for HBCI / banking smart cards already installed and working.
To suppress this message annoying at times, they can disable the Plug and Play Service for Smart Cards.
Windows 7 Professional and Ultimate
- Start -> Run -> gpedit.msc
- -> Computerkonfiguation
- -> Administrative Templates
- -> Windows Components
- -> Smart Card
- Smart Card Plug and Play Service
- right click -> Edit
- Deactivate
Apply or OK, close the editor and after a reboot, this rule is active.
Windows 7 Starter Edition and
These reduced versions of Windows are not the Group Policy Editor gpedit.msc available. This can and must manage so different. The following changes to the registry do so.
Disable:
x86
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000000
x64
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000000
Activate:
x86
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000001
x64
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\ScPnP]
"EnableScPnP"=dword:00000001
Filed under Windows 7 | No Comments »
Created by Solip on 24 February 2010
The PDF printer Lexware products installed by default with the port LPT1:. This will cause problems on computers that have more garkeine parallel port. And in Windows 7 it was right after the installation is not useable.
This can be resolved by proceeding as follows:
- Open Devices and Printers
- Open the Printer Properties from Lexware PDF export
- Tab "Connections" select
- Add -> Local Port -> name eg lxpdf
- The port should now be chosen to be equal
- Tab select "Advanced"
- The option "Print directly to printer" must be set
The Lexware PDF export will now work after rebooting the computer as desired.
Filed under Lexware , Windows 7 | 1 Comment »
Created by Solip on 24 February 2010
Lexware older products are not "Windows 7 ready" and can cause problems during installation.
Back to the 2008 version of Financial Office (with no updates, released in late 2007), we have tested it in combination with Windows 7 Home Premium / Ultimate 64 bit.
Please note the following:
- Starting an installation from the "Run as administrator"
- Error for the registration of ignoring lxframe.dll
- Then install the updates
- Here, too, errors mar. DLL Registration ignore
- Open a command prompt as administrator
- Change to the directory in the Framework Lexware Programmverzeichnius
- lxframe.dll register using "regsvr32 lxframe.dll"
- If necessary. register other DLLs as well
Lexware should now run without any compatibility settings. Also a start as an administrator does not need to set.
To set the Lexware PDF export in a position to see this article .
Filed under Lexware , Windows 7 | 1 Comment »
Created by Solip on 23 February 2010
Users of Windows Vista or Windows 7 may prove troublesome, the Caps Lock key just different.
This is done through reg files to import.:
The Edit. Reg files KeyboardRemap section in the registry.
Filed under Windows 7 , Windows Vista | No Comments »
Created by Solip on 12 February 2010
Provides ntbackup.exe (Windows 2000, 2003, XP) in securing a too low data throughput for the involved equipment
Hard disk (s) of the server -> CPU / RAM -> backup device / media
this could be due to some optimum values for the backup engine. For the Microsoft Windows Server 2003, there were changes over the years in this area, even different versions of ntbackup.exe.
On a current Windows 2003 Server (SP2), it is worthwhile to look at the following registry key:
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Logical Disk Buffer Size Default: 32
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Max Buffer Size Default: 512
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Max Num Tape Buffers Default: 9
Microsoft focuses on the values themselves on TechNet . It provides, therefore, at times it is with these optimized values to try:
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Logical Disk Buffer Size -> 64
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Max Buffer Size -> 1024
HKCU\Software\Microsoft\Ntbackup\Backup Engine\Max Num Tape Buffers -> 16
From a backup batch these values can be set automatically. This allows you to type the following ntbackup.exe from:
reg add "HKCU\Software\Microsoft\Ntbackup\Backup Engine" /v "Logical Disk Buffer Size" /t REG_SZ /d 64 /f
reg add "HKCU\Software\Microsoft\Ntbackup\Backup Engine" /v "Max Buffer Size" /t REG_SZ /d 1024 /f
reg add "HKCU\Software\Microsoft\Ntbackup\Backup Engine" /v "Max Num Tape Buffers" /t REG_SZ /d 16 /f
For large backups you can now adjust the values yourself and see from the report how much time is the amount required in comparison to the default values.
It may also be worthwhile to switch / FU in batch to put in ntback.up.exe. This means "file unbuffered" and helps considerably on some systems.
Filed under Windows Server 2000 , Windows Server 2003 | No Comments »
Created by Solip on 11 February 2010
One of the biggest annoyances with all modern browsers is the lack of configurability of the favorites or bookmarks. They accumulate in the profile of the user on the local hard disk. Use several computers, it helps a roaming profile (comparison with the domain controller), sometimes more. No one uses roaming profiles or different profiles, one has only local accumulations. To complete this, align and secure sometimes running is annoying.
Internet Explorer, you may impose on their favorites in a network drive (UNC path) to manage. These are the User Shell Folders in the registry changes to the appropriate resource in the format \ \ server \ share \ folder.
The User Shell Folders for the current profile in the registry are here:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
After changing the folder User Shell Folders can be used as. Reg file will be exported. This is only useful provided quickly to the same profiles on the same platform with the change - note the changes in the folder structure as of XP over Vista to Windows 7
Tripping hazard protected mode
The newer versions of Internet Explorer to use the so-called protected mode, which among other things prevents the browser files directories outside of its traditional stores. Therefore, it is sometimes necessary to add new favorites twice - the second storage operation takes place correctly.
Filed under Internet Explorer | No Comments »
Created by Solip on 11 February 2010
How can I determine the cause and download updates from the WSUS server?
Prompt to start the WSUS client computer and type:
wuauclt.exe /detectnow
Posted in WSUS | No Comments »
Created by Solip on 11 February 2010
All directories recursively, eg chmod for new rights, but does not change the files in the directories.
So it goes with the shell:
find . -type d -exec chmod 755 {} \; -print
Posted in Shell Scripting | No Comments »
Created by Solip on 11 February 2010
The security updates for Internet Explorer 6.x and all subsequent versions, Microsoft has the transfer of account information (username, password) in the typical format:
http://username:passwort @ www.domain.de
switched off. For security reasons, there are other ways to store this information.
Much to the chagrin of many administrators, however, who used this feature often and gladly. Especially since it is a standardized format.
Here you get a reg file to change it again. If you save it and double-click the contained information to your registry, the transfer of account information via a URL is active again.
Download
Filed under Internet Explorer | No Comments »
Created by Solip on 11 February 2010
Based on crypt () and mainly for the purpose of. Htaccess account placement. But also good to use in order to obtain safe strings.
Filed under Tools | No Comments »
Created by Solip on 11 February 2010
The web server knows, of course, who talks to him:
The own IP as a pure data-output: ip.php
The own IP as a string without a host name: ipblank.php
The scripts are static links are welcome and can be reused.
Filed under Tools | No Comments »
Created by Solip on 11 February 2010
.. This error occurs when a client machine is on a network with a domain that uses a domain user or admin as the login and access to network shares - but the network adapter was not configured by the domain controller. For example, with a manual IP / DNS / Gatway configuration.
Solution: let the network DHCP server to configure the domain controller (particularly DNS server)
Filed under Windows Server 2000 , Windows Server 2003 | 1 Comment »
Created by Solip on 10 February 2010
Windows XP users, you still know, Windows 7 users know again - the mysterious Thumbs.db, which often accumulates in the file system. It is a system file, and usually hidden. Each folder contains the images or videos, it is created by the system to include thumbnails of the media.
With Windows 7, they moved involuntarily to the fore again. After all, who works a lot with the media, often times a folder will not remove or change can. The system is still busy with the Thumbs.db .. annoying!
Can they shut down as follows:
Windows XP: Windows Explorer -> Tools -> Folder Options -> Do not cache thumbnails
Windows 7: Start -> Run -> gpedit.msc -> User Configuration -> Administrative Templates -> Windows Components -> Windows Explorer -> caching of thumbnails
gpedit.msc
Filed under Windows 7 , Windows Vista , Windows XP | 3 Comments »