Tag Archives: Command Prompt

Can’t Install Windows Updates: Error Code 80248015 – KB10391424


Description:  Trying to install Windows Updates but receive an error code 80248015

This problem may occur if the Windows Update, Software distribution folder has been corrupted

Common customer description: Why can’t I install Windows Updates?

I get this error 80248015 when trying to install Windows Updates

Probing questions: When did this issue start to happen?

Steps to isolate: Verify that you cannot install any Windows Updates

Check the Software Distribution folder to see if there is anything missing or that it stopped writing to the folder at a certain time

Steps to resolve:

1. Verify that the time, date/year & time-zone are set correctly

2. Open Command Prompt as  administrator

3. Type in ” net stop WuAuServ ” (without the quotes) and press Enter.

  • Note: Please look at the cmd window and make sure it says that it was successfully stopped before we try to rename the folder

4. Go to C:Windows

  • Look for SoftwareDistribution folder

5. Right-click on the folder, select “Rename”

  • Folder should be called SoftwareDistribution.old

6. Still in Administrator: Command Prompt window, type the command ” net start WuAuServ ” (without the quotes) in the opened window to restart the Windows Updates service.

  • Note: Please look at the cmd window and make sure it says that it was successfully started.
  • Please note that the folder will be re-created the next time we visit the Windows Update site.

7. Try downloading and installing the updates now

8. If the issue is resolved and you can successfully download and install updates, you can safely delete the SoftwareDistribution.old directory to recover disk space.


Additional considerations: Refer to article: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/cant-install-windows-updates-error-code-80248015/61f1309b-90f3-4c5f-bcc3-63440155577a

If this does not correct the issue, search the issue some more. If it seems like you can’t find anything, consult with a Tier 2 tech about it.

The server service was unable to recreate the share – KB1039892


Description:  Alert that appear when a folder gets moved or deleted

Common customer description: Customer doesn’t call in for this – usually they are unaware about this

Probing questions: Was a folder recently moved or deleted?

Steps to isolate: Check the alert for the command to delete or re-create the folder

Steps to resolve:

1. The alert will be something like this shown below

Unable to recreate the share

2. Open Command Prompt as Administrator or Windows PowerShell as Administrator

3. Type in the command “net share [Folder in question] /delete”

  • This example would be net share Hawaii Donor Charts /delete

4. It should come back with the folder has been successfully deleted


  • If it errors out, check the spelling
  • If it still errors out, the folder could be possible deleted already. Clear the alert and see if it comes back later

5. Close the ticket

Additional considerations: If the alert comes back later and you still can’t delete the folder with the command, consult with a Tier 2 tech.

Backup Exec Job Failed: Writer status failed – KB10391039


Description:  Received an alert that the backup failed due to the writer status — Backup job had an issue with one of the writers during the job

Common customer description: Backups failed last night

Received an email that my backup job failed

Probing questions: Was the server rebooted during the backup job?

Were there any network issues?

Steps to isolate: Use command prompt to check the writers

Look at previous tickets to make sure the server wasn’t rebooted

Steps to resolve:

1. Determine if they have Backup Monitoring (This should always be the first step)

  • Backup Monitoring = Not billable
  • No Backup Monitoring = Billable (need approval first)

2. Check the Backup Job Log — it will tell you which writer had an issue

Writer error

3. Open command prompt

4. Type in this command vssadmin list writers —- it will populate all the writers with their statuses


writer list

5. If the command comes back with no errors, the backup job had an issue at  that time and can be re-tried on it regular schedule.

  • If the job won’t happen for a couple of days, re-try the backup job if it will not interfere with their work day (will cause the network to be slow)

What if one or more of the writers show a failed state?

  • If a writer shows a failed state, there are two options you can do:

1. Restart the service for the writer. This article will help figure out which services you need to restart (https://support.software.dell.com/appassure/kb/129774)

2. Reboot the server

Normally, you could restart the service and the writer will return to normal but some require a server reboot to fix

6. Monitor the backups for about a week. We want to make sure that the backups can consistently run successfully and/or complete with exceptions (exceptions can be for many reasons) during that week. If the backups fail within that week period, work on the backups again and continue to monitor the backups for another week (again we need to have a week of consistent successful backups)

7. If the backups completed successful for a week, you can close the ticket

  • If you billed the customer for the changes (no backup monitoring), put the ticket to “To Be Billed” instead of “Closed”

Additional considerations: Refer to Symantec’s article about this: http://www.symantec.com/business/support/index?page=content&id=TECH27875.

If the writer has consistent errors, call Symantec at 1-888-780-7962 (Press 2 then 1)

Common Command Line Commands – KB1039998


Common Command Line Commands
* Any of these commands can also use the switch /? for help inside Command Line. *
** Not all of these commands need to be run in an Administrator Command Line, but it is suggested to always run CMD as Admin. **
*** There may be additional switches for these commands. These are just the most commonly used switches. ***
Start Command Prompt – Start -> in search field, type “cmd” without quotes -> right click and click Run as Administrator

1. Ping – Sends a request packet to the target host and waits for a response. It will then display the response in the Command Line window. Usage:

  • ping IpAddress
  • ping ComputerName.DomainName.Local – Does not always need to have .DomainName.Local. If there are issues with pinging via ComputerName, try the Fully Qualified Domain Name.
  • ping ComputerNameOrIpAddress -t – Sends a continuous ping to the device until you cancel it with CTRL+C.
  • ping ComputerNameOrIpAddress -4 – If pings are coming back using IPv6, use the -4 switch to only get IPv4 addresses back.

2. IP Config – Gathers IP information of the device running the command. Common switches are:

  • ipconfig – Displays IP address, subnet mask, and default gateway for each adapter.
  • ipconfig /all – Displays the full TCP/IP configuration for all adapters.
  • ipconfig /flushdns – Clears the DNS resolver cache.
  • ipconfig /registerdns – Initiates manual registration for DNS names.
  • ipconfig /release – Messages the DHCP server to release the IP address configuration. Check with Tier 2 before using this command. You will lose all communication to the computer this is run on.
  • ipconfig /renew – Messages the DHCP to renew IP address configuration.

3. System File Checker – Scans for corruptions in system files and restores corrupted or missing files. Usage:

  • sfc /scannow

4. QWinsta – Displays information about Terminal Sessions. Look for the username of the account that you need to log off and keep in mind the ID of the user. Usage:

  • qwinsta -server ServerNameOrIpAddress

5. RWinsta – Sends commands to the remote session. Use the ID number in order to log off the user that the ID number belongs to. Usage:

  • rwinsta -server ComputerNameOrIpAddress IdNumber

6. NSLookup – Tests and troubleshoots DNS servers. Usage:

  • nslookup – Displays information about the Default DNS server.
  • set type=mx – After you use nslookup, you can specify which records you are looking for. After you set the type, enter the domain name.

7. Telnet – Text oriented communication using a virtual terminal connection. Usage:

  • telnet IpAddressDomainNameOrComputerName PortNumber – telnet smtp.google.com 25. This will test the connection from your computer to smtp.google.com on port 25.

8. System Info – Displays the system’s information in Command Line. Usage:

  • systeminfo | more – You can view system uptime, Operating system, and System Manufacturer.

9. Check Disk – Creates and displays a status report for a disk. Usage:

  • chkdsk (/f /r) – Do not use parenthisis. Chkdsk by itself will display the status report. Using /f will fix errors on the disk. Using /r will locate bad sectors and recover readable data. Both switches will require the computer to be rebooted and will run before boot. This will require approval before using these switches.

10. Shutdown – Initiates a shutdown command. Usage:

  • shutdown.exe /m ComputerNameOrIpAddress /f /r /t 0 /d p:0:0 – Shuts the computer down and forces (/f) the logoff and a reboot (/r) instantly (specified by /t TimeInSeconds) while sending a report to the system (/d p:0:0) saying it is a planned shutdown. You only need to specify /m ComputerNameOrIpAddress if you are attempting to shut down a remote computer.

11. Net Stat – Displays incoming and outgoing connections. Usage:

  • netstat -an – The -a switch displays all active connections and ports on which the computer is listening. The -n switch displays active connections.
  • netstat -an | find “PortNumber” – Finds all connections that are using the specified port.

12. NBT Stat – Helps troubleshoot NetBIOS name resolution problems. Usage:

  • nbtstat -an IpAddress – Useful tool if you know the IP address of a computer but not the name. This will  return the name and MAC address of the device.

13. Change Directory – Changes the directory of the Command Line to wherever you specify. Usage:

  • DriveLetter: – If you need to change the Command Line to a different drive, use this command.    Example:      c:     will change it to the C: drive.
  • cd c:usersUserName – Changes the Command Line to c:usersUserName.

14. Trace Route – Displays the route information and transit delays to a specific address. Usage:

  • tracert DomainNameOrIpAddress – You will see a list of hops that it takes to get to the destination. If anything fails, you will see where in the route it is failing.

15. Task List – Displays all processes the computer is currently running. Usage:

  • tasklist – Displays process name, process ID, session name, session number, and memory usage. You will only need to look at the process name (Image Name) and process ID (PID).

16. Task Kill – Kills whichever task you specify. Usage:

  • taskkill /switch – /PID PID specifies which process ID you want to kill. /IM ImageName specificies which image name you want to kill. Examples:
    taskkill /pid 2000
    taskkill /im chrome.exe

17. W32TM – Diagnose, view, and change Windows Time information.

  • w32tm /config /update – Updates current time configuration if there were any changes made.
  • w32tm /resync – Resynchronizes computer’s time as soon as possible.
  • To change Windows Time Server, on PDC, run w32tm /config /syncfromflags:manual /manualpeerlist:0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org. You will then need to run w32tm /config /update on the PDC and any device that needs time updated, or you can reboot the machines.

18. Remote Desktop Connection – Connects your computer to a remote computer. Usage:

  • mstsc /switch – Mstsc will start remote desktop. If you add any switches, they can help with the look/layout of the connection window. /F (full screen) is the most common switch. /Console can be used if you cannot connect normally.
  • Example: mstsc /f /console

19. Net Start and Net Stop – Starts or stops services by service name. Usage:

  • netstart ServiceName – Starts service.
  • netstop ServiceName – Stops service.
  • && – Runs multiple commands as soon as possible without delay. Example: net stop explorer.exe && net start explorer.exe.

20. VSS Admin – Manages the Volume Shadow Copy Service. Usage:

  • vssadmin list writers – Lists all subscribed volume shadow copy writers on the system. This can be helpful when troubleshooting backups issues.

Task Killing a Service that is Stuck on Stopping/Starting with Command Prompt – KB1039927


Description:  Trying to stop or start a service but the service is stuck on “Starting” or “Stopping”

Common customer description: Why is one of my Windows services stuck on “Starting” or “Stopping”?

Probing questions: Was your computer and/or server rebooted recently?

Did you try stopping or restarting a service?

Steps to isolate: Check previous tickets

Check system info

Steps to resolve:

1. Connect to the server and go to Windows Services

2. Find the service that is stuck on “Starting” or “Stopping”

3. Right click on the service and go to properties

4. Find the service name and make a note of it

Service name

5. Start Command Prompt as Administrator

cmd admin

6. Type in this command: sc queryex [service name]

  • In this case the service name is spooler

sc queryex

7. Press enter now find the PID for the service

  • For the Print Spooler, the PID is 1552


8. Next type in this command, taskkill /f /pid [PID of the service]

  • For this example, it would be: taskkill /f /pid 1552

task kill

9. Press enter, if it worked you should see this



Additional considerations: If the command came back with an error, check to make sure that the spelling is correct for the commands. Check to make sure that the PID is also correct. Sometimes it will seem like it didn’t work and you will see the start button again to start the service.

If none of these work, the next step would be to reboot the server. Call the customer to schedule a reboot of the server.

If you need additional help, consult with a Tier 2 tech

Instructions on how to get computer name for Windows XP, Vista and Windows 7 KB1039390


Instructions on how to get computer name for Windows XP, Vista and Windows 7:

First open a command prompt by opening a “Run” box and type in cmd.  Then in the command prompt type in hostname.  What reports below that line will be the computers name.  If that doesn’t work use the articles below.

Windows XP
1. Go to Start, Settings, Control Panel.


2. Double-click on the System icon.


3. Click on the Computer Name tab.


4. Highlight the text to the right of Full computer name and copy it by pressing Ctrl-C
(or right-click in the highlighted area and select ‘Copy’).


5. Paste the text by pressing Ctrl-V (or right-click anywhere in a text box and select ‘Paste’).

Windows Vista
1. Click on the Windows Vista Start button on the lower left corner of your computer screen:


2. Click on the Control Panel menu item:


3. Click on the System and Maintenance link:


4. Click on the System link:


5. You will find the computer name on the System screen:


Windows 7
Hit start
Right click on “Computer”


Select “Properties” with a left click
You will find the computer name on the System screen where you see the red box