Well, I found a very simple solution to this.
Launch Windows command prompt, Navigate to the root folder ( say c:\temp)
C:\Temp> dir /s /b > filenames.txt
/s -> includes all subdirectories
/b -> will inlcude only file name ( no attributes, date created etc)
Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
18 October 2009
19 September 2009
Windows: Task Manager won't open
You may have virus/Malware installed on your computer.
Click Start- > Run -> TaskMgr.exe
It it doesn't open
Start ->Run->Regedit
Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
Remove the value for the Field Debugger.
Click Start- > Run -> TaskMgr.exe
It it doesn't open
Start ->Run->Regedit
Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
Remove the value for the Field Debugger.
06 January 2009
Windows Explorer: Display security tab in Windows XP Professional
06 August 2008
LDAP: In a nutshell
LDAP Lightweight Directory Access Protocol (Based on X 500 Standard)
LDAP --> Protocol to retrieve data stored in information directory, which is heavily optimized for read performance.
LDAP --> Allows you to securely delegate read and modification authority based on your specific needs using ACIs (collectively, an ACL, or Access Control List).
LDAP --> Tree Structure
Top level node called base DN (Distinguished Name)
Base DN in one of the 3 formats (for foobar company in US)
o="company name",c=Country
ex: o="foobar,Inc", c=US
(not preferred now a days,as no place to put website name)
o="website of the company"
ex: o=foobar.com (most common as straight forward)
dc=compnay, dc = com
ex: dc=foobar,dc=com
(used nowadays, Microsoft Acive Directory uses this format)
Here o=>organisation, c=>country,dc=>domain components
Under root base DN, Create nodes that logically seperate your data.
For Historic reasons (X500),These logical components are set up as OU,CN
OU=>Origanizational Unit
CN=>Common Name
All entires in LDAP have a unique DN and this DN is composed of 2 parts, RDN(Relative) and lcoation within the ldap direcotry where the record resides.
RDN is the portion of your DN that is not related to the directory tree structure.
Most entries stored in ldap will have a name, they are stored as CN
Most objects stored in LDAP will use CN value as RDN
So, If I want to store recipie for Oatmeal raisin
ex:
dc=foobar, dc=com
- ou=recipie
-- cn=oatmeal raisin
So, the full DN for the LDAP record is (Remeber it read it backwards) cn=oatmeal raisin,ou=recipie,dc=foobar,dc=com
Typically to store employee logins either CN is used store their name or UID is used to store the login
ex: dc=abclondon,dc=com
-ou=london
--cn="ramesh manni" or uid="rmanni" ----> name-based or login-based
LDAP stores all information for a given record as key-value pairs
ex:
dn: cn=Oatmeal Deluxe, ou=recipes, dc=foobar, dc=com
cn: Instant Oatmeal Deluxe
recipeCuisine: breakfast
recipeIngredient: 1 packet instant oatmeal
recipeIngredient: 1 cup water
recipeIngredient: 1 pinch salt
recipeIngredient: 1 tsp brown sugar
recipeIngredient: 1/4 apple, any type
Searches against these attribute/value pairs are case insensitive excpet for passwords
LDAP --> Protocol to retrieve data stored in information directory, which is heavily optimized for read performance.
LDAP --> Allows you to securely delegate read and modification authority based on your specific needs using ACIs (collectively, an ACL, or Access Control List).
LDAP --> Tree Structure
Top level node called base DN (Distinguished Name)
Base DN in one of the 3 formats (for foobar company in US)
o="company name",c=Country
ex: o="foobar,Inc", c=US
(not preferred now a days,as no place to put website name)
o="website of the company"
ex: o=foobar.com (most common as straight forward)
dc=compnay, dc = com
ex: dc=foobar,dc=com
(used nowadays, Microsoft Acive Directory uses this format)
Here o=>organisation, c=>country,dc=>domain components
Under root base DN, Create nodes that logically seperate your data.
For Historic reasons (X500),These logical components are set up as OU,CN
OU=>Origanizational Unit
CN=>Common Name
All entires in LDAP have a unique DN and this DN is composed of 2 parts, RDN(Relative) and lcoation within the ldap direcotry where the record resides.
RDN is the portion of your DN that is not related to the directory tree structure.
Most entries stored in ldap will have a name, they are stored as CN
Most objects stored in LDAP will use CN value as RDN
So, If I want to store recipie for Oatmeal raisin
ex:
dc=foobar, dc=com
- ou=recipie
-- cn=oatmeal raisin
So, the full DN for the LDAP record is (Remeber it read it backwards) cn=oatmeal raisin,ou=recipie,dc=foobar,dc=com
Typically to store employee logins either CN is used store their name or UID is used to store the login
ex: dc=abclondon,dc=com
-ou=london
--cn="ramesh manni" or uid="rmanni" ----> name-based or login-based
LDAP stores all information for a given record as key-value pairs
ex:
dn: cn=Oatmeal Deluxe, ou=recipes, dc=foobar, dc=com
cn: Instant Oatmeal Deluxe
recipeCuisine: breakfast
recipeIngredient: 1 packet instant oatmeal
recipeIngredient: 1 cup water
recipeIngredient: 1 pinch salt
recipeIngredient: 1 tsp brown sugar
recipeIngredient: 1/4 apple, any type
Searches against these attribute/value pairs are case insensitive excpet for passwords
22 July 2008
How to use TELNET to test SMTP address
Open Command prompt.Type
Telnet smtp_address port
telnet baby.london.com 25
220 axxx.xx-inc.com ESMTP Service (Lotus Domino Release 6.5.4FP1) ready at Tue, 22 Jul 2008 13:04:57 -0400
ehlo test.com
250-axxx.xx-inc.com Hello test.com ([10.202.10.125]), pleased to meet you
250-HELP
250-SIZE 38154240
250 PIPELINING
MAIL FROM:Admin@test.com
250 Admin@test.com... Sender OK
RCPT TO:RxxxI@Cxxxx.COM
250 Rxxx@Cxxxxxx.COM... Recipient OK
DATA
354 Enter message, end with "." on a line by itself
Subject:test message from telnet. (now hit enter twice)
test message hello mrrame (once done,type a . in the next line and press enter)
.
250 Message accepted for delivery
Now you should get an email
Telnet smtp_address port
telnet baby.london.com 25
220 axxx.xx-inc.com ESMTP Service (Lotus Domino Release 6.5.4FP1) ready at Tue, 22 Jul 2008 13:04:57 -0400
ehlo test.com
250-axxx.xx-inc.com Hello test.com ([10.202.10.125]), pleased to meet you
250-HELP
250-SIZE 38154240
250 PIPELINING
MAIL FROM:Admin@test.com
250 Admin@test.com... Sender OK
RCPT TO:RxxxI@Cxxxx.COM
250 Rxxx@Cxxxxxx.COM... Recipient OK
DATA
354 Enter message, end with "." on a line by itself
Subject:test message from telnet. (now hit enter twice)
test message hello mrrame (once done,type a . in the next line and press enter)
.
250 Message accepted for delivery
Now you should get an email
16 July 2008
Windows Explorer: How to show REGISTER in right click Menu
Save the content below as filename.reg format and double click. This will allow Right click Register dll files.
---Copy from next line (not this line) ---
REGEDIT4
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
[HKEY_CLASSES_ROOT\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\.olb]
@="olbfile"
[HKEY_CLASSES_ROOT\exefile\shell\Register\command]
@="%1 /register"
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\exefile\shell\UnRegister\command]
@="%1 /unregister"
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\olbfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
---Do not Copy this line ---
---Copy from next line (not this line) ---
REGEDIT4
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
[HKEY_CLASSES_ROOT\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\.olb]
@="olbfile"
[HKEY_CLASSES_ROOT\exefile\shell\Register\command]
@="%1 /register"
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\exefile\shell\UnRegister\command]
@="%1 /unregister"
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\olbfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
---Do not Copy this line ---
Subscribe to:
Posts (Atom)