IE and Firefox crash when i click on a link to open a word, excel, or other office document
February 19th, 2008
Okay, i found a solution, the following worked for me and another computer at work:
- Delete C:\Program Files\Microsoft Office\Office 12\OWSSUPP.DLL looks like Outlook Web SharePoint Support to me
- Run the MS Office Diagnostic Tool in your start menu MS Office/MS Office Tools
It should find one error and fix it for you.
Then restart.
WPA Using IAS as RADIUS Server
December 27th, 2007
Tech-Recipes.com Forums-viewtopic-HOW tO Wireless WPA/TKIP/CERTIFICATE/RADIUS
1. HOWTO Wireless WPA/TKIP/CERTIFICATE/RADIUS
- this is with a cisco 1200 ap, and microsoft IAS but can be other wireless AP that support this
- every client machine MUST have a certificate
- every client machine MUST be in the correct OU in Activedirectory
- every user account MUST be in the correct OU
- you must have the ssid
- if any one of these is not met, there is no access granted
==========================================
== Wireless WPA/TKIP/CERTIFICATE/RADIUS ==
==========================================
==================
== Server Setup ==
==================
Windows 2003 Server
Install Certificate Server and IAS
-control panel, add remove programs
-add windows components
-certificate services also choose network/IAS
-make Enterprise Root CA
-give common name for CA
Configure Cerificate Authority
-administrative tools, certificate authority
-go to Security tab
-make sure Authenticate Users allow Read and Request
-add group “Domain Computers” and allow Read and Request
-click on Certificate Templates and go to Manage
-go to properties of Computer
-go to Security tab
-make suer all users/groups have Allow Read and Enroll
Create Wireless Users Group in AD
-open users and computers
-add new group “Wireless Users”
-add users to the group that are authorized for wireless
-add computers to the group that are authorized for wireless
-ensure “allow dial-in” is checked for the user account
-ensure “allow dial-in” is checked for the computer account
Import Certificate into the Server
-run “mmc”
-add snap-in certificates
-choose computer account
-expand certificateslocal computer / personal / certificates
-right click and All Tasks, choose request new certificate, type computer
Configure IAS
-open IAS
-click on Radius Clients
-add new client
-enter name, ip, client-vendor type “Cisco”, shared secret
-click on Remote Access Policies
-add New Remote Access Policy
-use wizard
-give name
-choose Wireless wizard
-add group “wireless users”
-make sure PEAP is chosen
-click configure and check “enable fast reconnect”
-finish
Tweaks for T-Mobile Dash
December 21st, 2007
Tweaks: HTC Excalibur - T-Mobile Dash - MoDaCo
The way to change default store directory of e-mails to mini SD
—Create the folders on your Storage Card \Storage Card\Inbox and the subfolder \Attachments
Import the registry keys as below. try Registry Workshop and you can connect to Mobile device registries from your PC and import reg files. This saves having a Registry editor installed on the phone and typing on the device. If you are entering these keys manually rather than importing a .reg file only use single slashes for the paths. Restart your device after doing this.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\MAPI]
“AttachPath”=”\\Storage Card\\Inbox\\Attachments”
“PropertyPath”=”\\Storage Card\\Inbox”
This not only puts email attachments onto your storage card but puts all the .mpb files which make up items in your Inbox onto the storage card too.
Remembering Regex Patterns
September 27th, 2007
It’s often useful to remember patterns that have been matched so that they can be used again. It just so happens that anything matched in parentheses gets remembered in the variables $1,…,$9. These strings can also be used in the same regular expression (or substitution) by using the special RE codes \1,…,\9. For example
$_ = “Lord Whopper of Fibbing”;
s/([A-Z])/:\1:/g;
print “$_\n”;
will replace each upper case letter by that letter surrounded by colons. It will print :L:ord :W:hopper of :F:ibbing. The variables $1,…,$9 are read-only variables; you cannot alter them yourself.
As another example, the test
if (/(\b.+\b) \1/)
{
print “Found $1 repeated\n”;
}
will identify any words repeated. Each \b represents a word boundary and the .+ matches any non-empty string, so \b.+\b matches anything between two word boundaries. This is then remembered by the parentheses and stored as \1 for regular expressions and as $1 for the rest of the program.
The following swaps the first and last characters of a line in the $_ variable:
s/^(.)(.*)(.)$/\3\2\1/
The ^ and $ match the beginning and end of the line. The \1 code stores the first character; the \2 code stores everything else up the last character which is stored in the \3 code. Then that whole line is replaced with \1 and \3 swapped round.
After a match, you can use the special read-only variables $` and $& and $’ to find what was matched before, during and after the seach. So after
$_ = “Lord Whopper of Fibbing”;
/pp/;
all of the following are true. (Remember that eq is the string-equality test.)
$` eq “Lord Wo”;
$& eq “pp”;
$’ eq “er of Fibbing”;
Finally on the subject of remembering patterns it’s worth knowing that inside of the slashes of a match or a substitution variables are interpolated. So
$search = “the”;
s/$search/xxx/g;
will replace every occurrence of the with xxx. If you want to replace every occurence of there then you cannot do s/$searchre/xxx/ because this will be interpolated as the variable $searchre. Instead you should put the variable name in curly braces so that the code becomes
$search = “the”;
s/${search}re/xxx/;
How to create a Wait statement in batch files
September 1st, 2007
To make a batch file wait for a number of seconds, do this:For any MS-DOS or Windows version with a TCP/IP client, PING can be used to delay execution for a number of seconds.
If specified with a -w switch, PING will wait for a number of milliseconds before timing out. The -n switch causes ping to execute once instead of the default four tries.
The IP address 1.1.1.1 must be an invalid address for this to work.
PING 1.1.1.1 -n 1 -w 60000 >NUL
Enabling Multiple Remote Desktop Sessions in Windows XP Professional
August 22nd, 2007
Enabling Multiple Remote Desktop Sessions in Windows XP Professional and Media Center Edition 2005 –Jason Golod Blogs
1. Print these directions so that you have them to work from.
2. Restart your computer in Safe Mode - Follow this link to learn how to restart Windows XP in Safe Mode
3. Turn off/disable Remote Desktop Connection (RDC) and Terminal Services
1. Right click My Computer
2. Select Properties
3. Click on the Remote tab at the top of the window
4. UNCHECK the box next to, “Allow users to connect remotely to this computer“
5. Click OK
6. Go to Start -> Control Panel -> Administrative Tools -> Services
7. Find Terminal Services in the list
8. Right click on Terminal Services and click Properties
9. In the Startup Type box, select Disabled
10. Click OK to close the window
# Next you will replace the current version of the Terminal Services (termsrv.dll) with an unrestricted version from a previous release of Terminal Services.
1. Here is a copy of the Terminal Services DLL - Save it to your Desktop or other suitable location
2. Using a file manager like Windows Explorer open C:\Windows\system32\dllcache
3. Rename the file termsrv.dll to termsrv_dll.bak or whatever you would like.
4. Copy the downloaded termsrv.dll file (the one you just downloaded from the web) to C:\Windows\system32\dllcache
5. Open the C:\Windows\system32 folder
6. Delete the file termsrv.dll in C:\Windows\system32
# Now we can edit the Windows Registry to enable more than one RDP connection. Go to Start -> Run and type regedit - Hopefully you knew that already
# Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core
# Add a DWORD Key named EnableConcurrentSessions and give it a value of 1
# Close the Registry Editor window
# Go to Start -> Run and type gpedit.msc to run the Group Policy Editor
# Browse to Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services and double click Limit number of connections
# Select the Enabled button and enter the number of connections you would like to enable….at least 2.
# Restart Windows
# Right click My Computer and select Properties.
# Click on the Remote tab at the top of the window
# CHECK the box next to, “Allow users to connect remotely to this computer“
# Click OK
# Go to Start -> Control Panel ->Administrative Tools -> Services. Select Terminal Services from the list and double click it or right-click -> Properties. Set the Startup Type to Manual.
#
# Restart Windows/Computer
User Account Control Values
April 28th, 2007
UserAccountControl Values
You may be wondering what range of settings you can use on the UserAccountControl attribute. Here is a list of the most common values for a user object.
512 - Enable Account
514 - Disable account
544 - Account Enabled - Require user to change password at first logon
66048 - Password never expires
262656 - Smart Card Logon Required
Iiscnfg.vbs: IIS configuration script
March 20th, 2007
iiscnfg /copy
Syntax
Parameters
Installing Perl Modules on Unix
March 17th, 2007
perlmodinstall2 - Installing Perl Modules
perl Makefile.PL, make, make test, make install
The standard way to install a Perl module on Unix is to change into the directory that was created when you unpacked the .tar.gz file, and then type the following sequence of commands:
perl Makefile.PL
make
make test
make install
Monitoring WINS traffic with NETMON
March 14th, 2007
Copy and paste the text from this file into c:\windows\system32\netmon\parsers\tcpip.ini replacing whatever is there.
Next, copy and paste the text from this file into c:\windows\system32\netmon\parsers\tcpip.ini replacing whatever is there.
Lastly, copy wins.dll from the resource kit folder to c:\windows\system32\netmon\parsers\
Next Page »