Creating Hard Links in Windows

Background The NTFS file system implemented in NT4, Windows 2000, Windows XP, Windows XP64, and Windows7 supports a facility known as hard links (referred to herein as Hardlinks). Hardlinks provide the ability to keep a single copy of a file yet have it appear in multiple folders (directories). They can be created with the POSIX... » read more

delete duplicate files windows

The best tool i’ve found to delete duplicate files windows is sfk (aka “Swiss File Knife”). Installation 1. Download Swiss File knife from there homepage 2. Extract and copy to C:\windows Usage sfk dupfind -dir anydir [-file .ext1 .ext2] find and list duplicate files. options -diffdirs list only duplicates residing in different root directories. this... » read more

convert .crt .key or .pfx to .pem

Objective Convert your .crt and .key or .pfx file to a .pem file Tools OpenSSL– This tool will do the conversion Note: If you have Visual SVN Server then openssl is located at: "%VISUALSVN_SERVER%\bin\openssl" Converting .crt .key to .pem This section describes how to convert a .crt and .key file to .pem Linux/Unix/MacOS/Windows Convert .crt... » read more

psexec icacls remote computer

Set proper permissions in IIS 7.x on a remote computer We will be using psexec icacls on the remote comptuer Objective: Grant NT AUTHORITY\NetworkService the proper permissions for a particular website on “somecomputer” using credentials “somedomain\someuser somepassword” The Command to Run psexec -u somedomain\someuser -p somepassword -e \\somecomputer cmd /c (^ mkdir c:\temp1\Common ^ &... » read more

join mp3 files single file

Goal: join mp3 files single file Download mp3wrap Installation mp3wrap is cross-platform (Windows, Linux, and Mac). Windows Download from sourceforge here Mac You will need to use Mac Ports and run command: sudo port install mp3wrap Linux – Ubuntu sudo apt-get install mp3wrap Linux – CentOS yum install mp3wrap Using mp3wrap In this example we... » read more

Trace ASP.NET Application

You’ll need to edit the web.config Web.config Place the following after system.web tag: Trace ASP.NET Application Those options only allow you to see the trace from the server itself. RDP in to the server Connect to: http://your.domain.name.com/trace.axd

Apache Active Directory Authentication howto

Apache Active Directory Authentication howto Modules Needed mod_authz_ldap Install mod_authz_ldap yum install mod_authz_ldap Verify Apache Config has Needed Modules LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_default_module modules/mod_authz_default.so Apache Group LDAP Configuration (Active Directory Group Level Auth) AuthBasicProvider ldap AuthzLDAPAuthoritative On AuthLDAPURL ldap://10.128.28.3:3268/dc=xx,dc=com?sAMAccountName... » read more