Home Internet Mail Server Proxy Server Virus Windows Windows Server

Tuesday, January 24, 2017

How to Get Report Inactive Users on IBM Lotus Notes

By With No comments:

  • Edit notes.ini:
Modify the servertasks= line by adding: event, stats, collect
  • With Lotus Notes client, open the Monitoring configuration (events4.nsf) database located on IBM Domino server
Click menu "Create > Event Generators > Database" then Event Generators document should open
  • In basics tab, enter file name "*.nsf" (without quotes), select "all domain or server you want to monitor, mark "Monitor for user inactivity" box
In "User Inactivity" tab mark "Monthly"checkbox and 0 (zero) to "Minimum Sessions" fieldIn "other" tab select "Warning (low)"
In "other" tab select "Warning (low)"
Then "Save & close" Event generator
  • Open just created event generator. It will have "*.nsf" name
In "other" press "Create a new event handler for this event" button. "Event handler wizard" will appear

In "event handler wizard" first page press "Next"

On the second page select "Mail" and press "Next"

On the third page select user that will receive notification mails (I will use "db_administrator" name for this user below)

On fourth page press "next" and "finish" on the fifth
  • Close Event Generator
  • Restart event, stats and collect tasks using console commands
tell event q
tell stats q
tell collect q
load event
load stats
load collect
  • If you check db_administrator mail database you will see messages which subjects contains database names that were not opened by the user during one month
There should be some system databases because usually nobody open them. Please be accurate and not delete system databases

Better to create mail rules in db_administrator mail database to separate really unused databases from system databases. You may create special folders for this rules
It will shown on your mail:

Monthly activity for database - mtdata\mtstore.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\lsxlc.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - iNotes\Forms85.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - iNotes\help85_iwa_ar.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - domcfg.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\decsdoc.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\lccon.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]

Each mail contain

Originating Server: servername/AAA/AAA
Event Severity: Warning (low)
Event Type: DataBase
Event Time: 01/23/2017 10:24:20 PM
Read More

Monday, January 23, 2017

How to Collect Inactive Computers List in Your Network

By With No comments:
Use this on command prompt:

dsquery computer -inactive days -limit 0

For example collect inactive computer in 30 days
dsquery computer -inactive 30 -limit 0

For example collect inactive computer in 120 days
dsquery computer -inactive 120 -limit 0
Read More

Saturday, August 13, 2016

How to Shutdown a Remote Computer with command line

By With 1 comment:
How to Shutdown a Remote Computer with command line

Use net view, to search opening list of all computers that connected to you, type net view on command prompt

Shutdown
  • Start > Run > Type cmd
  • On the command prompt type shutdown -s -m \\computername
Shutdown after a spesific time
  • Start > Run > Type cmd
  • On the command prompt type shutdown -s -t 60 \\computername (shutdown after 60 seconds)
Shutdown with display a Message
  • Start > Run > Type cmd
  • On the command prompt type shutdown -s -t 500 -c "Your computer will be shutdown" \\computername
Stop a System Shutdown
  • Start > Run > Type cmd
  • On the command prompt type shutdown -a \\computername

Restart
  • Start > Run > Type cmd
  • On the command prompt type shutdown -r -f -m \\computername
Logoff
  • Start > Run > Type cmd
  • On the command prompt type shutdown -l

Hibernate a Local Computer
  • Start > Run > Type cmd
  • On the command prompt type Rundll32.exe Powrprof.dll,SetSuspendState

Read More

Problem with your wallpaper not showing in Windows 7

By With No comments:
Just simple instructions

Try open the following windows folder
  • Start > Run > Type %UserProfile%\AppData\Roaming\Microsoft\Windows\Themes and enter
  • Delete the file.jpg
  • Replace it with a background image that you choice
  • Restart your PC
Read More

How to unmark wrong Active Primary Partition on Disk

By With No comments:
Hello all...
Two days ago, i made a mistake with disk on my PC in office
Wrong click on other disk except C:\ (Windows ), i marked another disk (Drive D:) as active partition
So the boot windows move to there


 




I was very confused after that lol
Try to resolved that with "DISKPART" command and it worked

Here are the steps:
  • Run Command Prompt, Start > Run > Type cmd
  • Type diskpart on the command prompt


  • Type list volume, to list the volume

  • Type select volume 2, cause the system move to Drive D for my case
  • And then type inactive
Some of diskpart command that you can use
  1. list disk (for list number of your disk)
  2. select disk * (for select disk, * is disk number that you select)  
  3. list partition (for list partition of disk)
  4. select partition * (for select partition, * is parition number that you select) 
  5. delete partition override (for clear partition)
  6. attribute volume clear hidden (for clear hidden volume) 



Read More
Home Photography
Copyright © 2017 Xiu's Blog | All Rights Reserved.