Sunday, September 14, 2014

Start up for Win 7

For current user:

C:\Users\username\AppData\Roaming\Microsoft\Window s\Start Menu\Programs\Startup

For all users:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

Wednesday, July 23, 2014

How to Setup Email Notifications on Dell OpenManage


How to Setup Email Notifications on Dell OpenManage
https://shuvocse5.blogspot.com/2014/07/how-to-setup-email-notifications-on.html

All Dell servers come with Dell OpenManage Server Administrator software which has the ability to monitor and display system level indicators. Additionally, through the Alert Management tab you can configure actions to execute whenever an alert is triggered. Unfortunately there is no vehicle for applying uniform notifications to all events, so we are going to provide a script which configures all the alert actions to send an email notifying you of the respective event.
Top of Form
Bottom of Form
How it Works
The script is very simple. When an event is triggered, Dell OpenManage executes the specific application, then the application connects to an external SMTP Server, and send the email with the message of the event.
Requirements:
-Dell Server with OpenManage Installed
-Microsoft .Net Frameworks v2.0 (Download Here)
-DellSMTPNotify Application (Download Here)
-DellSMTPNotify Alert List (Download Here)
Step 1:
Extract files to C:\DellSMTPNotify
Edit Config.xml and configure DefaultEventSettings to your SMTP server.

Now we are going to test the SMTP settings by running the script. Open command prompt and navigate to C:\DellSMTPNotify. Then type the following: “DellSMTPNotify.exe 1“.
DellSMTPNotify associates numbers to messages. Looking at config.xml, you can customize the messages. In this case, “1″ would send message “Message from server: Watchdog ASR”.

You should have received an email alert. If you didn’t receive an email, check your SMTP settings in config.xml.
Note: Sometimes emails are delivered to junk box.

If you didn’t recieve an email, re-check your config.xml SMTP settings.
Step 2:
Now that we have our DellSMTPNotify.exe working properly with our SMTP settings. We can now get it to work with Dell OpenManage.
Login to Dell OpenManage and navigate to Alert Management

Under Alert Actions, select Watchdog ASR.
Under “Set Alert Actions for Watchdog ASR”, enable “Execute application.” In the whitebox, place the Abolute patch to DellSMTPNotify.exe with code to Watchdog ASR. The code for Watchdog ASR is 1, and would place the following “D:\DellSMTPNotify.exe 1“.

Now we have setup email alert for Watchdog ASR. We will have to do the same thing for the rest of the alerts.
Top of Form
Bottom of Form
Step 3:
Once we have setup the email alerts, now we have test the configuration. We want to get Dell OpenMange to trigger an alert and so would execute our application. The safest test we can do on a production server is thermal settings.
First we have to ensure that Thermal Shutdown is disabled. Under Shutdown -> Thermal Shutdown, set “Thermal Protection Shutdown Severity” to disabled.

From left panel, navigate to System -> Main System Chassis -> Temperatures. Select probe name “System Board Ambient Temp”.

From here, we want to get OpenMange trigger an event. One way is to force the Minimium Warning Threshold to be higher that the current reading. To do this, we click on “Set to Value” and change Minimium Warning Threshold to 1 degree higher than current reading. In our case, our current reading is 24.0 C, and so we place value of 25.0 C for Minimium Warning Threshold.

You should have recieved an email alert from OpenManage in regards to Temperature Probe Warning. This proofs that email alert is setup on Dell OpenManage. You can now change the Minimium Warning Threshold back to default.

Tuesday, July 22, 2014

Make a list of all hidden system files and folders



In the rare eventuality that you forget the name of the folder, but know the location – or vice versa, you can run the following command.
attrib C:\*.* /s|find “A  SH”>C:\hiddensystemfiles.txt&notepad C:\hiddensystemfiles.txt
This will output the list of all hidden system folders on your C drive.
hidsysfiles 400x273 Change File Attributes, Create super hidden private files & folders in Windows using attrib.exe
You can of course modify the syntax suitable to search for only select locations also.

Create a super hidden private file or folder

As a Windows end-user, we can use this feature to create a hidden private file or folder on our Windows computer. Lets say you have a normal folder named Personal on your desktop, and you want to make it hidden.
To do so, open command prompt, and type the following in it and hit Enter. Here User_name is my Username, so make sure you use yours in its place.
attrib +s +h C:\Users\User_name\Desktop\Personal
This will make the folder a ‘system’ folder AND a ‘hidden’ folder. However, if you use “-s +h” it will make the folder an ordinary hidden folder only.

To see it, you have to via Folder Options, check Show hidden files, folders and drives and uncheck Hide protected operating system files. Or via CMD you can simply use “-s -h” instead of the above command.
folder hidden options 329x400 Change File Attributes, Create super hidden private files & folders in Windows using attrib.exe
Ofcourse this method is not fool-proof, but its good enough a way to keep your folders secret and hidden from most prying eyes

To change folder Attribute



open a command prompt window and type in "ATTRIB ['file path']\['file name'] -s -h"

For Example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\7z920-x64.msi -S -H" and press enter.

You can also use a wildcard (*)

For example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\FILE* -S -H" and this selects every file in that path that starts with "FILE".

replace "-" with a "+" to add the above attributes to a file.


Windows operating system offers four attributes for files and folders. They are:
  • Read-only – r : These are readable, but cannot be changed
  • System – s : For use by the operating system and not normally displayed in a directory listing
  • Hidden – h : They are not displayed in a directory listing by default
  • Archive – a : For backing up or copying files

Monday, July 14, 2014

Clearing Address Book Cache



Steps to Clearing Address Book Cache

  1. Open Outlook and Select File
  2. Select Account Settings 
  3. Select Data Files and Open File Location
  4. Select Offline Address Books
  5. Exit Outlook by select File and then Exit
  6. Highlight the folders within the Offline Address Books Folders and Delete them.
  7. Open Outlook

Downloading an Offline Exchange Address Book in Outlook for Windows



  1. Locate the offline address book.
    • In 2007, from the Tools drop-down list, select Send/Receive.
    • In 2010 / 2013, under the File tab, click the Account Settings button.
  2. Select Download Address Book.
  3. Click OK.