Internet Speed Test - Broadband, DSL Bandwidth Connection Check + two more very cool speed tests that you can take?
Showing posts with label hot-to. Show all posts
Showing posts with label hot-to. Show all posts
Sunday, February 22, 2009
Saturday, February 14, 2009
How Long Until My Password Expires?
How Long Until My Password Expires?
On Error Resume Next
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
Const E_ADS_PROPERTY_NOT_FOUND = &h8000500D
Const ONE_HUNDRED_NANOSECOND = .000000100
Const SECONDS_IN_DAY = 86400
Set objUser = GetObject("LDAP://CN=myerken,OU=management,DC=fabrikam,DC=com")
intUserAccountControl = objUser.Get("userAccountControl")
If intUserAccountControl And ADS_UF_DONT_EXPIRE_PASSWD Then ' LINE 11
WScript.Echo "The password does not expire."
WScript.Quit
Else
dtmValue = objUser.PasswordLastChanged
If Err.Number = E_ADS_PROPERTY_NOT_FOUND Then ' LINE 16
WScript.Echo "The password has never been set."
WScript.Quit
Else
intTimeInterval = Int(Now - dtmValue)
WScript.Echo "The password was last set on " & _
DateValue(dtmValue) & " at " & TimeValue(dtmValue) & vbCrLf & _
"The difference between when the password was last" & vbCrLf & _
"set and today is " & intTimeInterval & " days"
End If
Set objDomain = GetObject("LDAP://DC=fabrikam,DC=com")
Set objMaxPwdAge = objDomain.Get("maxPwdAge")
If objMaxPwdAge.LowPart = 0 Then
WScript.Echo "The Maximum Password Age is set to 0 in the " & _
"domain. Therefore, the password does not expire."
WScript.Quit
Else
dblMaxPwdNano = _
Abs(objMaxPwdAge.HighPart * 2^32 + objMaxPwdAge.LowPart)
dblMaxPwdSecs = dblMaxPwdNano * ONE_HUNDRED_NANOSECOND ' LINE 37
dblMaxPwdDays = Int(dblMaxPwdSecs / SECONDS_IN_DAY) ' LINE 38
WScript.Echo "Maximum password age is " & dblMaxPwdDays & " days"
If intTimeInterval >= dblMaxPwdDays Then
WScript.Echo "The password has expired."
Else
WScript.Echo "The password will expire on " & _
DateValue(dtmValue + dblMaxPwdDays) & " (" & _
Int((dtmValue + dblMaxPwdDays) - Now) & " days from today)."
End If
End If
End If
On Error Resume Next
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
Const E_ADS_PROPERTY_NOT_FOUND = &h8000500D
Const ONE_HUNDRED_NANOSECOND = .000000100
Const SECONDS_IN_DAY = 86400
Set objUser = GetObject("LDAP://CN=myerken,OU=management,DC=fabrikam,DC=com")
intUserAccountControl = objUser.Get("userAccountControl")
If intUserAccountControl And ADS_UF_DONT_EXPIRE_PASSWD Then ' LINE 11
WScript.Echo "The password does not expire."
WScript.Quit
Else
dtmValue = objUser.PasswordLastChanged
If Err.Number = E_ADS_PROPERTY_NOT_FOUND Then ' LINE 16
WScript.Echo "The password has never been set."
WScript.Quit
Else
intTimeInterval = Int(Now - dtmValue)
WScript.Echo "The password was last set on " & _
DateValue(dtmValue) & " at " & TimeValue(dtmValue) & vbCrLf & _
"The difference between when the password was last" & vbCrLf & _
"set and today is " & intTimeInterval & " days"
End If
Set objDomain = GetObject("LDAP://DC=fabrikam,DC=com")
Set objMaxPwdAge = objDomain.Get("maxPwdAge")
If objMaxPwdAge.LowPart = 0 Then
WScript.Echo "The Maximum Password Age is set to 0 in the " & _
"domain. Therefore, the password does not expire."
WScript.Quit
Else
dblMaxPwdNano = _
Abs(objMaxPwdAge.HighPart * 2^32 + objMaxPwdAge.LowPart)
dblMaxPwdSecs = dblMaxPwdNano * ONE_HUNDRED_NANOSECOND ' LINE 37
dblMaxPwdDays = Int(dblMaxPwdSecs / SECONDS_IN_DAY) ' LINE 38
WScript.Echo "Maximum password age is " & dblMaxPwdDays & " days"
If intTimeInterval >= dblMaxPwdDays Then
WScript.Echo "The password has expired."
Else
WScript.Echo "The password will expire on " & _
DateValue(dtmValue + dblMaxPwdDays) & " (" & _
Int((dtmValue + dblMaxPwdDays) - Now) & " days from today)."
End If
End If
End If
Friday, February 13, 2009
Saturday, December 13, 2008
Saturday, November 22, 2008
Tuesday, November 11, 2008
Friday, October 31, 2008
Monday, October 13, 2008
Monday, September 15, 2008
Tuesday, June 17, 2008
Users are unexpectedly prompted to enter their credentials
Users are unexpectedly prompted to enter their credentials when they access a list in a Office SharePoint Server 2007 site that is based on the Publishing Site template
Monday, June 16, 2008
Create a discussion board
Customize a discussion board
Create a new discussion topic
- If your discussion board is not already open, click its title on the Quick Launch.
If the name of your discussion board does not appear, click View All Site Content, and then click the name of your discussion board.
- On the New menu, click Discussion.
- Type the text that you want for the subject and body of the message, and apply any formatting that you want.
- Click OK.
Saturday, March 8, 2008
Monday, February 25, 2008
Tuesday, August 14, 2007
Windows servers: Tips to keep them humming
Administrators working with Windows servers should know about all the shortcuts and workarounds that can make their lives easier, as well as some of the less well-known features related to their Windows operating systems. The editors of SearchWinComputing.com recently combed the site and compiled this list of tips that can help you maintain the performance of your server.
First of all, if your server has a performance problem, you have to figure out what it is. Here are three tips related to logging and monitoring that will help you do that:
Resolving startup issues on Windows Server 2003When you have problems starting a system, think about what has changed recently. If you keep a change log, access the log to see what has changed on the system recently. A new device driver might have been installed or an application might have been installed that incorrectly modified the system configuration.
When Performance Monitor yields unexpected results The Performance Monitor tool built into Windows can give you a wealth of information regarding what's going on with your system. But sometimes it behaves strangely. This tip sheds some light on a few of this tool's eccentricities.
Performance Advisor adds reporting functionsVersion 2.0 of Microsoft's Windows Server 2003 Performance Advisor added customizable reporting functions. For instance, you can produce reports on specific subsystems, such as one that concentrates on the performance of SQL Server or on low-level functions like CPU and physical memory usage.
Another way to accelerate server performance is to automate some of the tasks it has to perform regularly. Here are three tasks you can do that will make the server run better and make your life easier.
Automating disk defragmentationAfter you install a lot of applications on a server, systems administrators should run Disk Defragmenter on a regular basis. However, that may be difficult to do on a timely basis. However, today it's possible to put an end to disk defragmentation as a manual process by scheduling disk defragmentation via the Windows Task Scheduler.
Managing DNSAdministering DNS isn't always a set-it-and-forget-it operation. The less manual work you have to do with zone files or the DNS interface, the better, and there are a bunch of tools (some free, some commercial) that will automate most of the process of dealing with DNS.
Clean up Active DirectoryIn a busy environment, Active Directory can come to resemble that garage full of junk that never gets cleaned out. Expired users, nonexistent machine references and many other kinds of clutter fill it up and can lead to performance and manageability problems. Tidying up manually isn't much fun, and eats up time that could be put to more productive work. But there are a number of tools that automate a good deal of the work involved in keeping AD tidy.
We know that many of you have either started on or are getting ready to do a major server consolidation. Here's a tip on a key piece of the server consolidation puzzle: calculating CPU utilization.
Any good technician carries a toolbox. Here are four tools and utilities you'll want to have in yours.
Tools give you a heads-up to server problemsToday you have various server management tools at your disposal that will help you anticipate problems before they occur. This tip looks at some of these tools.
Solving the named pipes puzzleMany Windows server products, such as SQL Server (and Windows itself) use named pipes for communicating with other servers and processes. Pipes are usually invisible and silent; you don't interact with them. But that can be a drawback, if for instance you inherit someone else's server and don't know which services are opening named pipes, which could constitute an attack vector. It can be difficult to find out the available permissions on a named pipe. Here's a utility to get to the bottom of the puzzle.
Easing the pain of shared folder migrationMany administrators upgrading to Windows 2003 Server encounter difficulties with migrating and consolidating shared folders from their older server platforms. Part of the problem is due to changes in conventions and technology. Administrators may want to migrate older Universal Naming Convention (UNC) network paths to newer DFS shares where possible, but copying everything by hand over to the new servers isn't the way to go. Try using Microsoft's File Server Migration Toolkit.
The Windows 2000 Configure Your Server toolGiven the often bewildering number of administrative tools and Microsoft Management Console (MMC) snap-ins available, it's crucial to have an organized and central location from which to access all of your important server tools, such as Active Directory, DHCP, DNS and WINS. You don't actually use the Configure Your Server tool to perform many actions, but it serves as an interface for launching the various MMC snap-ins that you use to accomplish your tasks.
Now what about those shortcuts and workarounds mentioned at the outset? Here are five tips that fall into that category, as well as some of the less well-known features related to their Windows operating systems.
Disable DNS client screening on multi-homed Windows Server 2003 machinesThere are times you might want to disable the DNS feature in Windows Server 2003 called client screening, which allows the server to determine and remember if a given DNS server is accessible. Here's how to do that.
Hot add memory sometimes hangs Windows Server 2003One new feature in Windows Server 2003 is the ability lets you add memory without rebooting the computer. This hot add feature is a boon for administrators – that is, when it's available and when it works. But sometimes it hangs the system. Here's what to do if that happens.
Shadow copies of shared folders carry a server performance penaltyIf that penalty is sever, you may want to modify your storage architecture. Shadow copies use a copy-on-write algorithm to update the volume image. This incurs a performance cost since information has to be written twice to disk, increasing the I/O load on the system. In the case of a heavily loaded server, the cost of the additional write can noticeably affect system performance. You can reduce the performance penalty by dedicating a separate hard disk to the shadow copy.
Improve Network File System performanceMicrosoft Services for Network File System in Windows Server 2003 performs well out of the box, but you can make storage performance improvements with some registry tweaks. Here are three ways to do this if you use both Windows Server 2003 and Unix.
Analyze your directory namesYou have tens of thousands of files stored on your Windows systems. Performance isn't meeting your expectations. By changing your directory structure and analyzing your directory names, you can improve system performance. Here are some suggestions on how you can make your systems hum along at a quicker pace.
First of all, if your server has a performance problem, you have to figure out what it is. Here are three tips related to logging and monitoring that will help you do that:
Resolving startup issues on Windows Server 2003When you have problems starting a system, think about what has changed recently. If you keep a change log, access the log to see what has changed on the system recently. A new device driver might have been installed or an application might have been installed that incorrectly modified the system configuration.
When Performance Monitor yields unexpected results The Performance Monitor tool built into Windows can give you a wealth of information regarding what's going on with your system. But sometimes it behaves strangely. This tip sheds some light on a few of this tool's eccentricities.
Performance Advisor adds reporting functionsVersion 2.0 of Microsoft's Windows Server 2003 Performance Advisor added customizable reporting functions. For instance, you can produce reports on specific subsystems, such as one that concentrates on the performance of SQL Server or on low-level functions like CPU and physical memory usage.
Another way to accelerate server performance is to automate some of the tasks it has to perform regularly. Here are three tasks you can do that will make the server run better and make your life easier.
Automating disk defragmentationAfter you install a lot of applications on a server, systems administrators should run Disk Defragmenter on a regular basis. However, that may be difficult to do on a timely basis. However, today it's possible to put an end to disk defragmentation as a manual process by scheduling disk defragmentation via the Windows Task Scheduler.
Managing DNSAdministering DNS isn't always a set-it-and-forget-it operation. The less manual work you have to do with zone files or the DNS interface, the better, and there are a bunch of tools (some free, some commercial) that will automate most of the process of dealing with DNS.
Clean up Active DirectoryIn a busy environment, Active Directory can come to resemble that garage full of junk that never gets cleaned out. Expired users, nonexistent machine references and many other kinds of clutter fill it up and can lead to performance and manageability problems. Tidying up manually isn't much fun, and eats up time that could be put to more productive work. But there are a number of tools that automate a good deal of the work involved in keeping AD tidy.
We know that many of you have either started on or are getting ready to do a major server consolidation. Here's a tip on a key piece of the server consolidation puzzle: calculating CPU utilization.
Any good technician carries a toolbox. Here are four tools and utilities you'll want to have in yours.
Tools give you a heads-up to server problemsToday you have various server management tools at your disposal that will help you anticipate problems before they occur. This tip looks at some of these tools.
Solving the named pipes puzzleMany Windows server products, such as SQL Server (and Windows itself) use named pipes for communicating with other servers and processes. Pipes are usually invisible and silent; you don't interact with them. But that can be a drawback, if for instance you inherit someone else's server and don't know which services are opening named pipes, which could constitute an attack vector. It can be difficult to find out the available permissions on a named pipe. Here's a utility to get to the bottom of the puzzle.
Easing the pain of shared folder migrationMany administrators upgrading to Windows 2003 Server encounter difficulties with migrating and consolidating shared folders from their older server platforms. Part of the problem is due to changes in conventions and technology. Administrators may want to migrate older Universal Naming Convention (UNC) network paths to newer DFS shares where possible, but copying everything by hand over to the new servers isn't the way to go. Try using Microsoft's File Server Migration Toolkit.
The Windows 2000 Configure Your Server toolGiven the often bewildering number of administrative tools and Microsoft Management Console (MMC) snap-ins available, it's crucial to have an organized and central location from which to access all of your important server tools, such as Active Directory, DHCP, DNS and WINS. You don't actually use the Configure Your Server tool to perform many actions, but it serves as an interface for launching the various MMC snap-ins that you use to accomplish your tasks.
Now what about those shortcuts and workarounds mentioned at the outset? Here are five tips that fall into that category, as well as some of the less well-known features related to their Windows operating systems.
Disable DNS client screening on multi-homed Windows Server 2003 machinesThere are times you might want to disable the DNS feature in Windows Server 2003 called client screening, which allows the server to determine and remember if a given DNS server is accessible. Here's how to do that.
Hot add memory sometimes hangs Windows Server 2003One new feature in Windows Server 2003 is the ability lets you add memory without rebooting the computer. This hot add feature is a boon for administrators – that is, when it's available and when it works. But sometimes it hangs the system. Here's what to do if that happens.
Shadow copies of shared folders carry a server performance penaltyIf that penalty is sever, you may want to modify your storage architecture. Shadow copies use a copy-on-write algorithm to update the volume image. This incurs a performance cost since information has to be written twice to disk, increasing the I/O load on the system. In the case of a heavily loaded server, the cost of the additional write can noticeably affect system performance. You can reduce the performance penalty by dedicating a separate hard disk to the shadow copy.
Improve Network File System performanceMicrosoft Services for Network File System in Windows Server 2003 performs well out of the box, but you can make storage performance improvements with some registry tweaks. Here are three ways to do this if you use both Windows Server 2003 and Unix.
Analyze your directory namesYou have tens of thousands of files stored on your Windows systems. Performance isn't meeting your expectations. By changing your directory structure and analyzing your directory names, you can improve system performance. Here are some suggestions on how you can make your systems hum along at a quicker pace.
Sunday, July 29, 2007
online drawing
use thes sites to scetch an idea online then the scetch can be used in other electronic communications
Gliffy.com - Create and share diagrams online.
www.queeky.com
Imagination Cubed
art.com artPad
drawing
Drawing Online
Gliffy.com - Create and share diagrams online.
www.queeky.com
Imagination Cubed
art.com artPad
drawing
Drawing Online
Subscribe to:
Posts (Atom)