- Using GUI 1 ) 2 ) And another support tool is dirsize Download dirsize.dll to c: windows.
- Have you looked into the Microsoft tool diruse? It's a command line tool that does exactly what you're looking for. It's a command line tool that does exactly what you're looking for. It's part of the server tools for Windows 2000 & 2003, but is still available for download: Microsoft Diruse TechNet article.
- Have you looked into the Microsoft tool diruse?It's a command line tool that does exactly what you're looking for. It's part of the server tools for Windows 2000 & 2003, but is still available for download: Microsoft Diruse TechNet article.
- Du (disk usage) reports the disk space usage for the directory you specify. By default it recurses directories to show the total size of a directory and its subdirectories. Using Disk Usage (DU).
Download Directory Usage for free. DirUse is a DOS command-line tool to display folders size information: # folders, # files and 'human readable format' total size.
BleepingComputer Review:
TreeSize Free is a utility that scans your hard drive and shows you how much hard drive space each folder on the particular partition is using. It is not uncommon to run out of space on a hard drive and one of the most frustrating things is not knowing which folders are using it all up. Using a program like TreeSize allows you to get a fast and easy overview of what folders are consuming the most space.
In many cases, you will find that an old program or game that you now longer use is taking up a tremendous amount of space. Using TreeSize you can find these applications and quickly determine if you want to remove it. Uninstalling the program and then deleting the folder allows you to recoup this hard drive space for other programs.
Company's Description:
Every hard disk is too small if you just wait long enough. TreeSize Free tells you where precious disk space has gone.
TreeSize Free can be started from the context menu of a folder or drive and shows you the size of this folder, including its subfolders. Expand folders in an Explorer-like fashion and see the size of every subfolder. All results can also be drilled down to the file level. Scanning operations run in a thread, so you can already see results while TreeSize Free is working. The Explorer context menu is supported within TreeSize, as well as the usual drag & drop operations.
The disk space tool now also includes the main feature of our discontinued freeware NTFSRatio: TreeSize Free can display the NTFS compression rate and apply the NTFS compression on directory branches.
Start up TreeSize Free as an Administrator to calculate the sizes of directories for which access is ordinarily not granted. Since the content of the files will not be read automatically during this procedure, Windows security remains guaranteed.
1. Configuring ADSL Modem For BSNL Dataone Connection.
Open the ADSL Router Console from IE (default: http://192.168.1.1). Give the User-Id and Password (default is admin/admin). Click on New Connection. Give the name of the connection as 'BSNL' or ant name of your choice. Make the Type of Connection as 'BRIDGE', Encapsulation Type as 'LLC', LAN Group as 'LAN GROUP1'. The most important part is the setting of the PVC Tab; make VPI port Number as Default (i.e. 0) and VCI port number as '35'. Save the settings and your modem is ready for connecting BSNL Broadband. Enjoy............
2. How to Reset the Trend Micro Cosole Login Password?
To reset the console password, it really depends on the program version but still let me give you a procedure that you can try.
On the server, open the ofcscan.ini file.
Locate the parameter 'master_pwd'.
Delete everything to the right of the equal sign.
Replace it with 70.
Save the ini file.
Restart the officescan master service.
note: if you are using officescan version 6.5, there is another ini in the 'private' folder which you need to edit. The name of the ini file is Ofcmaster.ini. Open it and look for the same parameter and change its value to 70 also. Save before you restart the officescan master service.
Try loging in with the password of 1. ENJOY GUYS!!!!!!!!!!!!!!!!!!!!!!!!!!
On the server, open the ofcscan.ini file.
Locate the parameter 'master_pwd'.
Delete everything to the right of the equal sign.
Replace it with 70.
Save the ini file.
Restart the officescan master service.
note: if you are using officescan version 6.5, there is another ini in the 'private' folder which you need to edit. The name of the ini file is Ofcmaster.ini. Open it and look for the same parameter and change its value to 70 also. Save before you restart the officescan master service.
Try loging in with the password of 1. ENJOY GUYS!!!!!!!!!!!!!!!!!!!!!!!!!!
3. What is the command to disconnect a Active Network Connection?
The command to disconnect any Active network connection is RASDIAL.
You can automate the connection process for any Microsoft client by using a simple batch file and the rasdial command. The rasdial command starts a network connection by using a specified entry.
Syntax
rasdialconnectionname [username [password | *]] [/domain:domain] [/phone:phonenumber] [/callback:callbacknumber] [/phonebook:phonebookpath] [/prefixsuffix]
The rasdial command disconnects a network connection by using the following syntax:
rasdial [connectionname] /disconnect
None : Used without options, rasdial displays the status of current connections.
connectionname: Specifies an entry in the current .pbk file, located in the systemrootSystem32Ras folder. If the connection name contains spaces or special characters, enclose the connection name in quotation marks (').
The Rasphone.pbk file is used unless the Personal Phonebook option is selected. If the Personal Phonebook option is selected, the file username.pbk is used. The name is shown on the Rasphone title bar when Personal Phonebook/p is selected. Numbers are appended if name conflicts occur.
username[password| *] : Specifies a user name and password with which to connect. If an asterisk is used, the user is prompted for the password, but does not display the characters typed.
/domain:domain: Specifies the domain the user account is located in.
If not present, the last value of the Domain field in the Connect To dialog box is used.
/phone:phonenumber: Substitutes the specified phone number for the entry's phone number in Rasphone.pbk.
/callback:callbacknumber: Substitutes the specified callback number for the entry's callback number in Rasphone.pbk.
/disconnect: Disconnects the specified entry.
/phonebook:phonebookpath: Specifies the path to the phonebook file. The default is systemrootSystem32Rasusername.pbk. You can specify a full path to the file.
/prefixsuffix: Applies the current TAPI location dialing settings to the phone number. These settings are configured in Telephony, which is located in Control Panel. This option is off by default.
4. How to convert a Batch File (or .vbs file) to Executable File in Windows?
Windows XP will not allow you to pin a shortcut to the start menu that points to a network drive. For this reason it can be necessary to write a batch file to launch a program. The issue is that a shortcut pointed to a .bat file also contains no “Pin to Start Menu” option. While it can be dragged onto the start menu, this leaves no option for scripting these shortcuts. The simple solution is to convert the .bat file to an .exe file and lucky for us Windows XP includes a tool that can do it… Tuneskit keygen.
Step 1
Navigate to C:WindowsSystem32 and locate the file named IEXPRESS.EXE
Navigate to C:WindowsSystem32 and locate the file named IEXPRESS.EXE
< xml='true' prefix='o' namespace='>Step 2
Double Click to launch IEXPRESS.EXE
Step 3
You will be presented with the initial welcome screen and be given two choices. Select “Create new Self Extraction Directive file.” Click Next.
Step 4
Next you will be presented with the Package Purpose screen. For our purposes select “Extract Files and run an installation command” and click the Next button.
Step 5
You will be presented with the Package Title screen, which will give you the opportunity to give your project a name. If you are so inclined give it a meaningful name. If like me you are never going to come back to this, name it whatever you want.
Step 6
You will next be presented with the Confirmation Prompt Screen. We would like the batch file to just be extracted and run so just choose “No Prompt” and click the Next Button.
Step 7
You are presented with the License Agreement window. If you don’t want your users to have to answer a prompt select “Do not display a license.”
Step 8
The Packaged Files window is where you will select your batch file (or .vbs). Click the Add button and browse to your desired file. Then click next.
Step 9
Here you are presented with a window titled Install Program to Launch. Use the drop down control next to “Install Program and choose the only option that will be present, the .bat or .vbs file that you chose in the previous window.
Step 10
The Show Window screen is next. I didn’t want my users to be prompted in any way so I chose Hidden. Click Next.
Step 11
No Finished Message for my users. Select “No message” and choose Next.
Step 12
The Package Name and Options window is where the new .exe specified. Type in a path or browse to the folder you would like your .exe in, type a name in the file name box and click save. Also check the box that says “Hide File Extraction Progress Animation from User.” If you’re worried about long file names go ahead and click the other box as well.
Step 13
Since we really aren’t installing anything we probably want to tell the Configure Restart window to not restart. So choose the option that says “No restart” and hit Next.
Step 14
This window is where you have a chance to save all of the options you have chosen into a project file so that if necessary you may later return and make modifications. I have no need to retain the file, but if you would like to be able to come back to it, by all means choose “Save Self Extraction Directive (SED) file” and tell it where to put it. As always, click Next.
Step 15
Here’s where you’re new .exe is born, on the Create Package screen. Explore to the directory you told it to put the file in, click Next and then watch your little .exe’s first moments as it pops into the big digital world.
Step 16
You’re done! Click finish and go try it out. You will now have your Batch file running as a Exe file. Cheers Guys JJJJJJ
Double Click to launch IEXPRESS.EXE
Step 3
You will be presented with the initial welcome screen and be given two choices. Select “Create new Self Extraction Directive file.” Click Next.
Step 4
Next you will be presented with the Package Purpose screen. For our purposes select “Extract Files and run an installation command” and click the Next button.
Step 5
You will be presented with the Package Title screen, which will give you the opportunity to give your project a name. If you are so inclined give it a meaningful name. If like me you are never going to come back to this, name it whatever you want.
Step 6
You will next be presented with the Confirmation Prompt Screen. We would like the batch file to just be extracted and run so just choose “No Prompt” and click the Next Button.
Step 7
You are presented with the License Agreement window. If you don’t want your users to have to answer a prompt select “Do not display a license.”
Step 8
The Packaged Files window is where you will select your batch file (or .vbs). Click the Add button and browse to your desired file. Then click next.
Step 9
Here you are presented with a window titled Install Program to Launch. Use the drop down control next to “Install Program and choose the only option that will be present, the .bat or .vbs file that you chose in the previous window.
Step 10
The Show Window screen is next. I didn’t want my users to be prompted in any way so I chose Hidden. Click Next.
Step 11
No Finished Message for my users. Select “No message” and choose Next.
Step 12
The Package Name and Options window is where the new .exe specified. Type in a path or browse to the folder you would like your .exe in, type a name in the file name box and click save. Also check the box that says “Hide File Extraction Progress Animation from User.” If you’re worried about long file names go ahead and click the other box as well.
Step 13
Since we really aren’t installing anything we probably want to tell the Configure Restart window to not restart. So choose the option that says “No restart” and hit Next.
Step 14
This window is where you have a chance to save all of the options you have chosen into a project file so that if necessary you may later return and make modifications. I have no need to retain the file, but if you would like to be able to come back to it, by all means choose “Save Self Extraction Directive (SED) file” and tell it where to put it. As always, click Next.
Step 15
Here’s where you’re new .exe is born, on the Create Package screen. Explore to the directory you told it to put the file in, click Next and then watch your little .exe’s first moments as it pops into the big digital world.
Step 16
You’re done! Click finish and go try it out. You will now have your Batch file running as a Exe file. Cheers Guys JJJJJJ
5. How to Install Windows Vista from USB Flash Drive?
It’s been known that the performance of USB Flash Drive is far better than DVD disc, external USB drive, or gigabit network. For this reason, installing Windows Vista from a High Speed USB Flash Drive is the fastest method to complete the task. If you want to give it a try, follow the simple instructions below:
1. copy all of the Windows Vista installation files to formated USB flash drive (requirement: 4GB freespace ), here is the command (with assumption the installations file located in drive d and USB flash drive located in drive e:
xcopy d:*.* /s/e/f e:
2. That’s it, you are ready to go. Next step just continue the standard installation procedure: boot up the machine, have it boot off the USB drive.
3. And watch how fast the installation completes.
6. How to shutdown Remote Networked Computer?
The command to shutdown remote computer in the network is
shutdown -r -f -m servername.
The details for the comand is as follows :
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m computername] [-t xx] [-c 'c
omment'] [-d up:xx:yy]
omment'] [-d up:xx:yy]
No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c 'comment' Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536).
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c 'comment' Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536).
7. How to reset Terminal Service Connection from CLI (if server not connecting from tsadmin)?
'The terminal server has exceeded the maximum number of allowed connections. The system can not log you on. The system has reached its licensed logon limit. Please try again later.'
This problem happens because Windows only allows two remote terminal services connections when you are in administrative mode, and you've either got two people already on that server, or more likely, you've got a disconnected session that still thinks it is active.
The problem with this error is that you have to actually get on the server console to fix the problem if the server isn't in a domain. (If you are in a domain, then just open Terminal Services Manager and log off or disconnect the sessions)
To use the command line hacks, you might need to run them from another server if your local operating system doesn't include the commands. You will also need to make sure that you are logged onto that server with an administrative account. The easiest way to do that is just map a drive (you don't have to use a drive letter unless you choose to)
net use /user:[username] servernameshare
Here's a command line hack that you can use to figure out what sessions are connected to the server. Note that you could substitute the IP address for the server name.
query session /server:servername
Sample output:
Now we know that the session ID of the offending session is 2. We can use that in the next step, which is using the reset command to log off that user.
reset session [ID] /server:servername
Sample:
This command won't display any output, but when we run the query command again, we should see that the session has now been disconnected:
8. How to find Remote server information from CLI?
The 'srvinfo' command, found in the Windows 2003 Resource Kit can display diagnostic information about the local or a remote server. Information displayed includes hotfix information (detailed information on when system patches were installed), the server original install date, installed networking protocols, the system BIOS date, installed, running, and stopped services, and more.
The following command-line options are supported:
* -d: Display service drivers/ services
*-ns: Hides service information
*-nf: Hides hotfix information
* -r: Displays service internal names
* -s: Displays shares
* -v: Displays version information for Exchange Server, Internet Information Services (IIS), and Microsoft SQL Server.
* ComputerName - Display information for a remote server
Type 'svrinfo' on the command line to display information about the local server. To display information about a remote server, attach COMPUTER_NAME to the command line. For example, to display information about computer REMOTE and hide the service information, enter the following command:
srvinfo -ns REMOTE
The following command-line options are supported:
* -d: Display service drivers/ services
*-ns: Hides service information
*-nf: Hides hotfix information
* -r: Displays service internal names
* -s: Displays shares
* -v: Displays version information for Exchange Server, Internet Information Services (IIS), and Microsoft SQL Server.
* ComputerName - Display information for a remote server
Type 'svrinfo' on the command line to display information about the local server. To display information about a remote server, attach COMPUTER_NAME to the command line. For example, to display information about computer REMOTE and hide the service information, enter the following command:
srvinfo -ns REMOTE
To display information about particular service in Remote Server (if the server is not connecting through RDP), you can use the switch
srvinfo servername |find /i 'service name'
for e.g.
C:>srvinfo X-REDNRGSMSCS01 |find /i 'sms'
Server Name: X-REDNRGSMSCS01
[Running] SMS Agent Host
[Running] SMS_CLIENT_HEALTH
[Running] SMS_EXECUTIVE
[Running] SMS_REPORTING_POINT
[Running] SMS_SERVER_LOCATOR_POINT
[Stopped] SMS_SITE_BACKUP
[Running] SMS_SITE_COMPONENT_MANAGER
[Running] SMS_SQL_MONITOR
Server Name: X-REDNRGSMSCS01
[Running] SMS Agent Host
[Running] SMS_CLIENT_HEALTH
[Running] SMS_EXECUTIVE
[Running] SMS_REPORTING_POINT
[Running] SMS_SERVER_LOCATOR_POINT
[Stopped] SMS_SITE_BACKUP
[Running] SMS_SITE_COMPONENT_MANAGER
[Running] SMS_SQL_MONITOR
Current srvinfo version is 3.0.25 and the list of parameters are as below : Gibson tenor banjo serial numbers.
SrvInfo
Version 3.0.25
Remotely gather information about a target server.
Assume local machine if no computer name is provided.
Usage: SRVINFO [-?] [[[-r | -v] [-d]] | [-ns]] [-s] [-nf] computer_name
-?: Show usage
-r: Show service internal names
-v: Show service version info for Exchange, IIS, SQL
-d: Show service drivers
-ns: Do NOT show any service information
-s: Show shares
-nf: Do NOT show any hotfix information
-?: Show usage
-r: Show service internal names
-v: Show service version info for Exchange, IIS, SQL
-d: Show service drivers
-ns: Do NOT show any service information
-s: Show shares
-nf: Do NOT show any hotfix information
9. How to check the directory/subdirectory size from CLI mode?
This command-line tool displays directory size information, including compression information for NTFS volumes. You can use DirUse to determine the actual usage of space for compressed files and directories.
You can also specify a maximum folder size. DirUse then marks any folders that exceed the specified limit and, if you choose, alerts you to the problem.
If you run DirUse while logged on as a member of the Administrators group, you can check the use of disk space in directories even if you do not have access rights to those directories.
The command can be used likewise and below the switches and parameters:
DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20
DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*] DIRS
/S Specifies whether subdirectories are included in the output.
/V Output progress reports while scanning subdirectories. Ignored if /S is specified.
/M Displays disk usage in megabytes.
/K Displays disk usage in kilobytes.
/B Displays disk usage in bytes (default).
/C Use Compressed size instead of apparent size.
/, Use thousand separator when displaying sizes.
/L Output overflows to logfile .DIRUSE.LOG.
/* Uses the top-level directories residing in the specified DIRS
/Q:# Mark directories that exceed the specified size (#) with a '!'.
(If /M or /K is not specified, then bytes is assumed.)
/A Specifies that an alert is generated if specified sizes are exceeded.
(The Alerter service must be running.)
/D Displays only directories that exceed specified sizes.
/O Specifies that subdirectories are not checked for specified size
overflow.
DIRS Specifies a list of the paths to check.
/V Output progress reports while scanning subdirectories. Ignored if /S is specified.
/M Displays disk usage in megabytes.
/K Displays disk usage in kilobytes.
/B Displays disk usage in bytes (default).
/C Use Compressed size instead of apparent size.
/, Use thousand separator when displaying sizes.
/L Output overflows to logfile .DIRUSE.LOG.
/* Uses the top-level directories residing in the specified DIRS
/Q:# Mark directories that exceed the specified size (#) with a '!'.
(If /M or /K is not specified, then bytes is assumed.)
/A Specifies that an alert is generated if specified sizes are exceeded.
(The Alerter service must be running.)
/D Displays only directories that exceed specified sizes.
/O Specifies that subdirectories are not checked for specified size
overflow.
DIRS Specifies a list of the paths to check.
Note: Parameters can be typed in any order. And the '-' symbol can be
used in place of the '/' symbol.
used in place of the '/' symbol.
Also, if /Q is specified, then return code is ONE if any directories are found that
exceed the specified sizes. Otherwise the return code is ZERO.
exceed the specified sizes. Otherwise the return code is ZERO.
Example: diruse /s /m /q:1.5 /l /* c:users
Diruse Examples
DirUse Examples
Example 1: List current file usage for a shared volume
In your company, users store their files on a shared volume called Shared. The SharedData folder is broken down into folders for each department. Each department folder is broken down into folders for users from that department as well as one or more folders that are shared by all users in that department. The SharedData folder also has one folder — SharedDataCommon — that is used to share information between departments.
You have been asked to generate a report that shows the current usage for the network volume where users in your company store their data. This report must show the usage by department and list any individual user who has more than 50 MB of data on the volume. To generate the data for the first part of your report, type the following at the command line:
diruse /* /m shareddata > c:deptdata.txt
This generates a list of usage in megabytes of the top-level folders contained in the SharedData folder. The output is sent to the Deptdata.txt file on your C drive.
Looking at Deptdata.txt, you see the following output:
You can see in this output that only the Admin, ConsultServ, CorpServ, Design, Engrg, Finance, ProdMktg, Research, and Training departments have more than 50 MB of data each.
To see what users have more than 50 MB of data stored on SharedData, type the following at the command line:
diruse /* /m /q:50 /d shareddataadmin, shareddataconsultserv, shareddatacorpserv, shareddatadesign, shareddataengrg, shareddatafinance, shareddataprodmktg, shareddataresearch, shareddatatraining > c:userdata.txt
This generates a list of the all top-level folders contained in any of the listed folders that use more than 50 MB of disk space. The output is sent to the Userdata.txt file on your C drive.
Morrowind goty pc download. Looking at Userdata.txt, you see the following output:
Searching for directories that have exceeded 50 megabytes
Size (mb) Files Directory
! 68.30 697 SUB-TOTAL: SHAREDDATAFinanceJack
70.55 744 TOTAL
Size (mb) Files Directory
! 68.30 697 SUB-TOTAL: SHAREDDATAFinanceJack
70.55 744 TOTAL
You can see in this output that only one user, Jack, is marked as using more than 50 MB of data.
Example 2: Determine compressed file and folder sizes
You want to compare the actual size of folders containing compressed files and the apparent uncompressed size in your Windows folders. To generate a list of top-level folders contained in the Windows folder with their associated compressed sizes, type the following at the command line:
diruse /c /* /m c:Windows > c:datacompressed.txt
The Compressed.txt file in the C:Data folder contains the output from the command-line statement. The file contains the following output:
To generate a list of top-level folders contained in the Windows folder with their apparent sizes, type the following at the command line:
diruse /* /m c:Windows > c:datauncompressed.txt
The Uncompressed.txt file in the C:Data folder contains the output from the command-line statement. The file contains the following output:
When you compare the output, you see that the only folder that contains compressed files is C:WindowsSystem32.
Example 3: Use DirUse in a batch file
You want to gather directory and subdirectory information on drive X. You use a batch file so that the data generated by DirUse can be manipulated in Microsoft Excel. The sample batch file contains the following lines of code:
The /s parameter specifies that you want information about all subdirectories on drive X. The redirect symbol (>) redirects the output to a file called Drvdata.txt.
After DirUse writes the directory information to the text file, the batch file switches back to drive C and starts Microsoft Excel. The command-line argument of the file name causes Microsoft Excel to open Drvdata.txt when the application starts. If you plan to use the batch file frequently, you can create a Microsoft Excel macro to sort, delete, or format the data.
To use this batch file, save the sample code in a file called Drvdata.bat and type the following at the command line:
![Download Download](/uploads/1/3/3/9/133911442/257129118.jpg)
drvdata
10. How to get the ILO (Intgrated Lights Out) Configuration for HP Servers?
Many server administrators never see the servers they administer in person, but administer them remotely over the network.
If a server's Integrated Lights-Out (iLO) address is not known, how can it be located?
SOLUTION:
- Use the System Management Homepage (SMH), available for a number of HP supported operating systems. On the SMH home page, there should be a representation of the iLO NIC. It will list the IP address of the iLO, even if none is allocated (0.0.0.0).
- Find the iLO host name within the DHCP server's leased addresses list. Assuming the iLO has obtained an IP address, which is its default behavior, and the host name has not been changed, then the host name would be ILO plus the serial number of the server. For example, ILO6J26JNT1706P .
- Assuming the default iLO host name is being used, command line utilities may be used to access it, whether DHCP or static addressing is being used. CPQLOCFG.EXE , the HP Lights-Out Configuration Utility, may be run on a Microsoft Windows based computer, using the host name as a target: CPQLOCFG -u [username] -p [password] -s [IP address | DNS name] -f Get_Network.xml -l [logfilename] -v . CPQLOCFG is available at: http://h18023.www1.hp.com/support/files/server/us/revision/6269.html, and the Get_Network.xml command file is available at: http://h18013.www1.hp.com/support/files/lights-out/us/revision/8238.html. It is possible to save the results to a file by typing > filename.txt at the end of the statement. Refer to the CPQLOCFG documentation for more details.
- HPONCFG.EXE , the HP Lights-Out Online Configuration Utility for Microsoft Windows 2000/Server 2003, performs the same function as CPQLOCFG , except it is run on the host server where the iLO resides, not remotely. (An administrator would need to use a Microsoft Windows based remote control facility to access it.) The syntax is HPONCFG -f Get_Network.xml . HPONCFG is available at: http://h18013.www1.hp.com/support/files/lights-out/us/revision/8512.html.
- HPLOGMIG.EXE may be used on a Microsoft Windows based computer to run a pinging discovery over an IP address range. If it is known within which subnets the iLO addresses would be located, those subnet ranges could be specified, and each of the addresses would be pinged, and if a management processor, identified. It is available at: http://h18023.www1.hp.com/support/files/lights-out/us/revision/7403.html. Although intended for configuring iLO for directory support, the utility can be used for discovery and remote firmware upgrades by itself.
HOW TO FIND THE ILO IP ADDRESS :
If you want to find the ILO/RILO ip address for any HP servers, just go to command prompt and type the command
HPONCFG /w ilo_cfg.txt
You can find a similar out like below
<!-- HPONCFG VERSION = '2.0.4.1' -->------> ILO VERSION
<!-- Generated 08/25/09 04:23:52 -->
<RIBCL VERSION='2.1'>
<LOGIN USER_LOGIN='Administrator' PASSWORD='password'>
<DIR_INFO MODE='write'>
<MOD_DIR_CONFIG>
<DIR_AUTHENTICATION_ENABLED VALUE = 'N'/>
<DIR_LOCAL_USER_ACCT VALUE = 'Y'/>
<DIR_SERVER_ADDRESS VALUE = '/>
<DIR_SERVER_PORT VALUE = '636'/>---------> ILO PORT NUMBER
<DIR_OBJECT_DN VALUE = '/>
<DIR_OBJECT_PASSWORD VALUE = '/>
<DIR_USER_CONTEXT_1 VALUE = '/>
<DIR_USER_CONTEXT_2 VALUE = '/>
<DIR_USER_CONTEXT_3 VALUE = '/>
</MOD_DIR_CONFIG>
</DIR_INFO>
Pocket watch case serial numbers. <RIB_INFO MODE='write'>
<MOD_NETWORK_SETTINGS>
<SPEED_AUTOSELECT VALUE = 'Y'/>
<NIC_SPEED VALUE = '10'/>
<FULL_DUPLEX VALUE = 'N'/>
<DHCP_ENABLE VALUE = 'Y'/>
<DHCP_GATEWAY VALUE = 'Y'/>
<DHCP_DNS_SERVER VALUE = 'Y'/>
<DHCP_STATIC_ROUTE VALUE = 'Y'/>
<DHCP_WINS_SERVER VALUE = 'Y'/>
<REG_WINS_SERVER VALUE = 'Y'/>
<IP_ADDRESS VALUE = '10.230.50.243'/> -----------> ILO IP ADDRESS
<SUBNET_MASK VALUE = '255.255.255.128'/>-----> ILO MASK
<GATEWAY_IP_ADDRESS VALUE = '10.230.50.129'/>----> GATEWAY
<DNS_NAME VALUE = 'rmbTK2PHXTSBE02'/>
<DOMAIN_NAME VALUE = '/>
<PRIM_DNS_SERVER value = '10.20.192.41'/>
<SEC_DNS_SERVER value = '10.20.208.24'/>
<TER_DNS_SERVER value = '0.0.0.0'/>
<PRIM_WINS_SERVER value = '10.20.192.49'/>
<SEC_WINS_SERVER value = '10.20.192.53'/>
<STATIC_ROUTE_1 DEST = '0.0.0.0' GATEWAY = '0.0.0.0'/>
<STATIC_ROUTE_2 DEST = '0.0.0.0' GATEWAY = '0.0.0.0'/>
<STATIC_ROUTE_3 DEST = '0.0.0.0' GATEWAY = '0.0.0.0'/>
</MOD_NETWORK_SETTINGS>
</RIB_INFO>
<USER_INFO MODE='write'>
<ADD_USER
USER_NAME = 'gfstsadmin'
USER_LOGIN = 'gfstsadmin'
PASSWORD = '%user_password%'>
<ADMIN_PRIV value = 'Y'/>
<REMOTE_CONS_PRIV value = 'Y'/>
Windows Du
<RESET_SERVER_PRIV value = 'Y'/>
<VIRTUAL_MEDIA_PRIV value = 'Y'/>
<CONFIG_ILO_PRIV value = 'Y'/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
RESETTING ILO ADMINISTRATOR PASSWORD :
Make an reset_admin_pw.xml file containing this part of code:
First copy the reset_admin_pw.xml into the installation directory of HPONCFG.exe and than open the path in command line. After that use this command:
Diruse Download
HPONCFG.exe /f reset_admin_pw.xml /l log.txt > output.txt
Open a browser and navigate to ILO.ENJOY!!!!!!!!
Last night I got locked out of my Compaq DL360’s iLO. I searched the web to find how to reset the Administrator password and read that, for the most part, I’d have to be at the console. Bah! My servers are in San Jose and I’m up here in Hyderabad, I didn’t want to make a trip just to reset my passwords. I continued to look around for a solution and found that I could reset the Administrator password (or even add another user with admin privs) using Compaq’s Remote Insight Board Command Language. Apparently, if you are processing RIBCL commands through your given operating sytem so long as you have the rights to login to the server. I logged in as my Windows Domain Admin and performed the following steps (Linux users, you can download the RPM for HPONCFG):
1. I installed SNMP because it was a preprequesite for HP Insight Management Agents.
2. I dowloaded and installed the HP Insight Management Agents.
3. I then downloaded HP Lights-Out Online Configuration Utility.
4. I ran into NTVDM errors trying to run the file so I just used WinRAR to extract the contents into C:hpilo. I also extracted the zip file contained within the initial archive.
5. I then downloaded the HP Lights-Out XML Scripting Sample for Windows (Linux users can download the files in tgz format here or here.) extracted it and found the file I was looking for –
Administrator_reset_pw.xml
<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpass”/> ------> New Pass
</mod_USER>
</user_INFO>
</login>
</ribcl>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpass”/> ------> New Pass
</mod_USER>
</user_INFO>
</login>
</ribcl>
6. Using notepad, I opened up the sample file and modified it slightly. Initially, I just removed the LOGIN and ran the file but HPONCFG gave me a syntax error. I then added it back and gave the Administrator a bogus password. Apparently, the LOGIN line is required for syntax reasons but it is not actually processed.
7. Next, I opened a command line and changed directories to C:hpilo and typed the following:
HPONCFG.exe /f Administrator_reset_pw.xml /l log.txt > output.txt
8. I opened up Firefox, navigated to my iLO machine and viola! I was able to login as Administrator.
If changing Administrator’s password seems too scary, you can also add another user with administrator privileges. You can then login as that user and change the Administrator password via the web console. Use the following code, suited to your liking:
add_user.xml
<ribcl version=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspass”> ----> Any Pass
<user_INFO MODE=”write” >
<add_USER
USER_NAME=”Chrissy”
USER_LOGIN=”Chrissy”
PASSWORD=”mynewpass”>
<reset_SERVER_PRIV value = “Y” />
<admin_PRIV value = “Y” />
</add_USER>
</user_INFO>
</login>
</ribcl>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspass”> ----> Any Pass
<user_INFO MODE=”write” >
<add_USER
USER_NAME=”Chrissy”
USER_LOGIN=”Chrissy”
PASSWORD=”mynewpass”>
<reset_SERVER_PRIV value = “Y” />
<admin_PRIV value = “Y” />
</add_USER>
</user_INFO>
</login>
</ribcl>
Download Diruse.exe
Here’s a zip of just add_user.xml, and Administrator_reset_pw.xml. Since it’s an exe with no apparent supporting files, y ou may be able to just use that.
Microsoft Diruse Download
I see quite a few people have hit this page.if you found it useful, please let me know! If not, drop me a note and I’ll see how I can help.
11. How to Change a Password on Windows XP/Vista/2003/2008 Without Knowing the Original?
This trick is good for getting into someone else's profile. It's also if you want to prank another person.
- Click Start> Run > type 'cmd'
- A black screen should come up.
- Type 'net user' (no quotes)press enter
- Type net user xxxxx *' (replacing the X's with the profile's userid you want to change).
- It should tell you to enter a password; do it.
- You're done! After that type exit to exit.