Sunday, July 5, 2009
Monday, June 15, 2009
Vista - Only display the user name and password prompt at login
- Open Control Panel and select System and Maintenance
- Select Administrative Tools and double-click Local Security Policy (secpol.msc)
- Expand Local Policies to Security Options
- Enable Interactive logon: Do not display last user name
This change should match the following DWORD registry setting:[HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \CurrentVersion \Policies \System]
DontDisplayLastUserName = 1
Thursday, June 11, 2009
Design your page to be compatible with Skype
By default, the Skype Toolbar will parse each web page and attempt to find phone numbers within the html code. You can prevent this behaviour by "telling" the Skype Toolbar that your site is compatible with Skype. This will stop it from searching for numbers and make it search only for special Skype tags.
Simply add the following meta tag to your page headers,
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
Now the Skype Toolbar will only reformat numbers that have special Skype tags. If you have a phone number on your page and you want it to be accessible to Skype users, just code the html using this format,
<!-- sphoneid telnr="+447890123456" fileas="John Smith" -->07890 123 456<!-- sphoneid -->
Thursday, May 7, 2009
Outlook 2003 Macro - Move messages to folder, create folder, Inbox archive
Sub Archive()
On Error Resume Next
Dim EmailArchiveFolder As String
'this folder, if doesnt already, will exist in the Inbox folder
EmailArchiveFolder = "Inbox_Archive"
Dim objFolder As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem
Set objNS = Application.GetNamespace("MAPI")
Set objInbox = objNS.GetDefaultFolder(olFolderInbox)
Set objFolder = objInbox.Folders(EmailArchiveFolder)
'Assume this is a mail folder
If objFolder Is Nothing Then
MsgBox "This folder doesn't exist! It will be created.", vbOKOnly + vbExclamation, "INVALID FOLDER"
Set objFolder = objInbox.Folders.Add(EmailArchiveFolder)
End If
If Application.ActiveExplorer.Selection.Count = 0 Then
'Require that this procedure be called only when a message is selected
Exit Sub
End If
For Each objItem In Application.ActiveExplorer.Selection
If objFolder.DefaultItemType = olMailItem Then
If objItem.Class = olMail Then
objItem.Move objFolder
End If
End If
Next
Set objItem = Nothing
Set objFolder = Nothing
Set objInbox = Nothing
Set objNS = Nothing
End Sub
On Error Resume Next
Dim EmailArchiveFolder As String
'this folder, if doesnt already, will exist in the Inbox folder
EmailArchiveFolder = "Inbox_Archive"
Dim objFolder As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem
Set objNS = Application.GetNamespace("MAPI")
Set objInbox = objNS.GetDefaultFolder(olFolderInbox)
Set objFolder = objInbox.Folders(EmailArchiveFolder)
'Assume this is a mail folder
If objFolder Is Nothing Then
MsgBox "This folder doesn't exist! It will be created.", vbOKOnly + vbExclamation, "INVALID FOLDER"
Set objFolder = objInbox.Folders.Add(EmailArchiveFolder)
End If
If Application.ActiveExplorer.Selection.Count = 0 Then
'Require that this procedure be called only when a message is selected
Exit Sub
End If
For Each objItem In Application.ActiveExplorer.Selection
If objFolder.DefaultItemType = olMailItem Then
If objItem.Class = olMail Then
objItem.Move objFolder
End If
End If
Next
Set objItem = Nothing
Set objFolder = Nothing
Set objInbox = Nothing
Set objNS = Nothing
End Sub
Monday, April 27, 2009
Tuesday, February 24, 2009
Putting NTBACKUP back in Vista
Windows Vista includes a whole new backup tool called "Backup Status", which doesn't support BKF-backups made with NTBackup. "Backup Status" can at the same time only make backup of certain filetypes and folders.
Microsoft has released Windows NT Backup - Restore Utility, which allows Windows Vista to restore files saved in BKF-files.
If having a Windows XP system around, then it is possible to copy certain NTBackup files into Windows Vista, which will allow Windows Vista to backup and restore files with NTBackup. Create a new folder on Windows Vista ex. C:\Program Files\NTBackup and copy the following files from Windows XP to the folder:
Credits www.petri.co.il
Microsoft has released Windows NT Backup - Restore Utility, which allows Windows Vista to restore files saved in BKF-files.
If having a Windows XP system around, then it is possible to copy certain NTBackup files into Windows Vista, which will allow Windows Vista to backup and restore files with NTBackup. Create a new folder on Windows Vista ex. C:\Program Files\NTBackup and copy the following files from Windows XP to the folder:
- C:Windows\System32\Ntbackup.exe
- C:Windows\System32\Ntmsapi.dll
- C:Windows\System32\Vssapi.dll
- C:Windows\Help\Ntbackup.chm
- C:Windows\Help\Ntbackup.hlp
- Open Control Panel and under "Programs and Features" click "Turn Windows Features on or off"
- Enable "Removable Storage Management" and press OK
Credits www.petri.co.il
Tuesday, February 10, 2009
Reset Joomla Admin Password
You cannot recover the existing password, but you can reset it to a new password.
The passwords are stored using a one-way MD5 hash which prevents recovering the password.
But you can reset the password by editing the password field in the database.
Set the password to a known value and then you may log-in using that new password.
The password is stored in the MySQL database jos_users table password field. (change this for your table prefix if different)
Use a MySQL utility such as phpMyAdmin or MySQL Query Browser to edit this field.
Open the table, find your admin username, and then select that row for editing.
The password must be hashed, you cannot simply enter text into this field.
Set the password to a known value
- password = "this is the MD5 hashed password"
------------------------------------------------------
- admin = 21232f297a57a5a743894a0e4a801fc3
- secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- OU812 = 7441de5382cf4fecbaa9a8c538e76783
Paste the hashed password into the field, save the change, and log-in using the new password.
Immediately change your password to something more secure!
The passwords are stored using a one-way MD5 hash which prevents recovering the password.
But you can reset the password by editing the password field in the database.
Set the password to a known value and then you may log-in using that new password.
The password is stored in the MySQL database jos_users table password field. (change this for your table prefix if different)
Use a MySQL utility such as phpMyAdmin or MySQL Query Browser to edit this field.
Open the table, find your admin username, and then select that row for editing.
The password must be hashed, you cannot simply enter text into this field.
Set the password to a known value
- password = "this is the MD5 hashed password"
------------------------------------------------------
- admin = 21232f297a57a5a743894a0e4a801fc3
- secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- OU812 = 7441de5382cf4fecbaa9a8c538e76783
Paste the hashed password into the field, save the change, and log-in using the new password.
Immediately change your password to something more secure!
Subscribe to:
Posts (Atom)