IT Professionals

A website for Network Administrators and Computer Systems Engineers
  • rss
  • Home
  • About
  • Downloads
  • Forums
  • PHOTOS
  • Contact

Change IIS 6 ASP.Net Version Without Restarting IIS

MWahl | August 1, 2010 | 11:39 am

Open a command prompt, browse to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727,

aspnet_regiis -lk will give a listing.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -lk
W3SVC/  1.1.4322.2407
W3SVC/507495262/root/   2.0.50727.0

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -s w3svc/507495262/r
oot -norestart
Start registering ASP.NET scriptmap (2.0.50727) recursively at w3svc/507495262/r
oot.
Finished registering ASP.NET scriptmap (2.0.50727) recursively at w3svc/50749526
2/root.

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

New to PowerShell? Try powergui!

MWahl | July 13, 2010 | 10:59 pm

Similar to the Exchange Management console it shows you the powershell script that was used!

Here is the site, and there is a tab to download.
http://powergui.org/index.jspa

Dont forget to check out the PowerGUI Library for more add-ons
http://powergui.org/kbcategory.jspa?categoryID=21

Tutorials Page
http://powergui.org/tutorials.jspa

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Scan file shares on your network and view their security settings to close security holes with ShareEnum

MWahl | July 13, 2010 | 10:42 pm

This is pretty cool and gives you an idea of most shares and permissons off your servers.

From http://technet.microsoft.com/en-us/sysinternals/default.aspx

http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

View The Security of an NTFS Folder

MWahl | July 13, 2010 | 9:18 pm

Often times this isnt a big deal if there are only a few people or groups, but when there are a lot of people and groups its nice to use the two commands to pump out the info,

To List the security of a folder

From a command prompt type the following,
C:\>cacls "D:\Business Development"
D:\Business Development BUILTIN\Administrators:(OI)(CI)F
DomainName.COM\UserName:(OI)(CI)C

To List the security of a folder and all sub content.

From a command prompt type the following,

C:\>cacls "D:\Business Development" /T

If you need a list of the members of a Security Group

From a command prompt on a Domain Controller type the following,
C:\>net group "Business Development" >Report.txt

Bookmark and Share
Comments
1 Comment »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Setup Secure FTP (SFTP) With OpenSSH on Windows Server

MWahl | June 5, 2010 | 6:18 pm

Windows Server 2008 IIS7 does have support for SFTP unlike IIS6. We are running Windows Server 2003 so IIS7 was not an option. I looked at Filezilla, the setup does not work work well with enterprise level firewalls, etc. 

The most simplistic solution was to just use OpenSSH. 

1. First open port 22 to the secure Secure FTP Server ip address and apply any needed access lists or static mappings.  

2. Download OpenSSH from http://sshwindows.sourceforge.net/download/  and download the binary installer. Once the software is  downloaded, click on the executable file to launch the installer.

3. The installation wizard should come  up, select next, accept the license agreement, install the Client and Server components, select the destination path.

4.  From your server computer Management Console create a user, and a group. add the user to the group. The User name could be sftp and the group be secftp.

5. Create a directory you want your sftp users to access. I created my on the following path:

E:\sftp\sftp

Make sure the OpenSSH service is not running under services. if it is, stop it, otherwise leave it stopped

6. go to RUN and type Regedit and click OK.

navigate to the following registry folder: HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin expand the Mounts v2 folder, and click on /home right click the native file, and click on modify, and add the path of the directory you want your users to have access to. mine is E:\sftp\sftp


7. Create a file named group and passwrd at the following location and don’t put any extension on them.

C:\Program Files\OpenSSH\etc

8. Click on RUN and type CMD and then OK.

type the following command on the command prompt:

cd C:\Program Files\OpenSSH\bin

once you switch to the BIN directory type the following commands:

mkgroup -l >> ..\etc\group

and then:

mkpasswd -l -u username >> ..\etc\passwd

on the username option, add the username we created above.


9. From the command prompt, execute the following command to start the service

net start opensshd

10. One last thing to do is modify the passwd file  C:\Program Files\OpenSSH\etc

Create home directories for your user

  1. In the passwd file, you will notice that the user’s home directory is set as /home/username. Change the location by editing the passwd file with notepad or any other text editor. Only edit the second last entry (/home/username), by replacing it with any directory that you wish to act as that user’s home directory,

    using the following syntax:

    1. /cygdrive/c/path_to_the_folder


Below is an example of my passwd file entry.

FTP:unused_by_nt/2000/xp:1003:513:SFTP

Testing,U-2K3FS01\SFTP,S-1-5-21-3837532754-3053635440-2016409431-1003:/cygdrive/c/sftp
:/bin/switch

Bookmark and Share
Comments
1 Comment »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

A few iPhone Tips and Tricks

MWahl | June 5, 2010 | 6:10 pm

1. If you wish to go to the top of any screen without scrolling up just tap anywhere on the status bar.

2, Want a screen shot, just press the home and sleep buttons at the same time while you have the desired screen loaded. The screen shots show up in your camera roll as regular pics.

3. While in any screen you can shake to undo and redo

Bookmark and Share
Comments
2 Comments »
Categories
Uncategorized, iPhone
Comments rss Comments rss
Trackback Trackback

Installing SugarCRM

MWahl | May 9, 2010 | 10:47 pm

I installed SugarCRM on Windows Server 2003 IIS 6 for evaluation. http://www.sugarcrm.com/crm/download/sugar-suite.html

http://www.sugarcrm.com/wiki/index.php?title=Main_Page

The install was pretty easy, it was a typical web site install envolving PHP and MySQL. Configure CGI was a struggle though. To install and configure CGI follow these steps.

1.Download the CGI extension   

http://www.iis.net/download/fastcgi

2. Add an extension mapping

php

C:\WINDOWS\system32\inetsrv\fcgiext.dll

limit it verbs to GET,HEAD,POST


3. Next open a command prompt and issue this command..

C:\WINDOWS\system32\inetsrv>cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe"

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

INI successfully written.

C:\WINDOWS\system32\inetsrv>


4. If you open C:\WINDOWS\system32\inetsrv\fcgiext.ini ,  you will see an entry at the bottom for

[Types]
php=PHP

[PHP]
ExePath=C:\PHP\php-cgi.exe

RequestTimeout=120
ActivityTimeout=120

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Importing an IIS .pfx file certificate into Apache

MWahl | April 3, 2010 | 9:39 pm

To export the private key from the Windows IIS server to your non-windows-based machine, you must extract the private key from a Windows .pfx backup certificate. Use the OpenSSL utility to extract the private key from the .pfx backup file:

  1. First backup the certificate you have working on your IIS server to a .pfx file.
  2. Second, use the following OpenSSL command to create a new text file from which you can separate the Private Key:openssl pkcs12 -in mypfxfile.pfx -out outputfile.txt -nodes

    mypfxfile.pfx is the certificate backup from your IIS server.

  3. The above command would have created a text file named outputfile.txt. Open this file with a text editor and you will see the private key listed first:-----BEGIN RSA PRIVATE KEY-----
    (Block of Random Text)
    -----END RSA PRIVATE KEY-----
  4. Copy and paste all of the private key, including the BEGIN and END tags to a new text file and save it as domain_name.key
Bookmark and Share
Comments
6 Comments »
Categories
Linux Server, Uncategorized, Web Servers
Comments rss Comments rss
Trackback Trackback

64-bit version of Windows 7, the usable memory is less than the installed memory

MWahl | February 23, 2010 | 8:05 pm

http://support.microsoft.com/kb/978610/

Check the system configuration settings
This problem may occur because the Maximum memory option is selected incorrectly. To fix this, follow these steps:
Click StartCollapse this imageExpand this image, type msconfig in the Search programs and files box, and then click msconfig in the Programs list.
In the System Configuration window, click Advanced options on the Boot tab.
Click to clear the Maximum memory check box, and then click OK.
Restart the computer.
Update the system BIOS
The problem may occur because the system BIOS is outdated. If you have an older computer, the system may be unable to access all the installed RAM. In this case, you have to update the system BIOS to the latest version.

To update the BIOS on the computer, visit the Web site of your computer manufacturer to download the BIOS update. Or, contact your computer manufacturer for help.
Check BIOS settings
The problem may occur because some BIOS settings are incorrect.
Enable the memory remapping feature

Check the BIOS settings to see whether the memory remapping feature is enabled. Memory remapping gives Windows access to more memory. You can enable the memory remapping feature in the BIOS by booting to the system setup. See the User’s Guide for your computer for instructions on how to boot to system setup on your computer. The name for the memory remapping feature may be different for different hardware vendors. This can be listed as memory remapping, memory extension or something similar. Be aware that your computer may not support the memory remapping feature.
Change the AGP video aperture size in the BIOS settings

Check the BIOS settings to see how much memory you have allocated to AGP video aperture. This is the memory that the system is sharing with the video card that is used for texture mapping and rendering. This memory would not be used by the system, because it is locked by the video card. You can adjust the AGP video aperture size in the BIOS. Standard settings are “32MB,”"64MB,”"128MB,”and “Auto.” After you change this setting in the BIOS, restart your computer, and then check the usable memory. You can test each setting to see which offers the best results.
Check possible issues with the physical RAM
The problem may occur because there are issues on the physical RAM installed.
Check whether you have bad memory modules

To check whether you are experiencing this issue, turn off the computer, unplug the computer, and then swap the order of the memory.
Make sure that the memory arrangement is correct

Refer to the User’s Guide of the computer to determine in what order the memory modules should be inserted into the memory slots. The system may require you to use specific slots when you are not using all the available slots. For example, the computer has four slots available, but you may have to use slot 1 and slot 3 if you want to use only two memory modules.
Check whether memory standoff cards are used

If you use a memory standoff card to hold multiple memory modules on the computer, the system may require specific configurations for this scenario. Therefore, the usable memory may be less than expected.

Bookmark and Share
Comments
2 Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Blackberry Enterprise Server 5.0 Add or delete a BlackBerry CAL key

MWahl | January 31, 2010 | 4:10 pm

1. In the BlackBerry(r) Administration Service, on the Servers and components menu, expand BlackBerry Solution topology
> BlackBerry Domain > Component view.
2. Click BlackBerry Administration Service.
Administration Guide Managing BlackBerry CAL keys
3. Click Edit component.
4. In the License key section, perform one of the following actions:
To add a BlackBerry CAL key, type the information for the BlackBerry CAL key. Click the Add icon.
To delete a BlackBerry CAL key, click the Delete icon.
5. Click Save all.

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Recent Posts

  • Change IIS 6 ASP.Net Version Without Restarting IIS
  • Implementing A Reverse Proxy with IIS 6
  • New to PowerShell? Try powergui!
  • Scan file shares on your network and view their security settings to close security holes with ShareEnum
  • View The Security of an NTFS Folder

Categories

  • Amazon EC2
  • Blackberry
  • Blackberry Enterprise Server
  • blogs
  • Databases
  • iPhone
  • Linux Server
  • Linux tools
  • Microsoft Apps
  • Microsoft Exchange
  • Microsoft Sharepoint Services
  • MYSQL
  • Networking
  • Security
  • Tech Preview
  • Uncategorized
  • Virtual Servers
  • Web Browsers
  • Web Server load balancing
  • Web Servers
  • Windows Desktops
  • Windows Server
  • Windows tools

Blogroll

  • daily rotation
  • Engadget
  • how to geek
  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • Lazy Network Admin
  • lopsa lopsa
  • mashable
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • routerfreak
  • SVROPS
  • Technology blog from bbc
  • technology review
  • theworkplaceblog
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox