Backtrack:  
 
showing posts tagged with 'windows'
edited by on September 3rd 2013, at 10:21

You can clear the WINS cache (NBT) by using the command prompt in a similar fashion as clearing the DNS cache:

nbtstat -R

Note that this only clears the cache. Normally you would want to repopulate it by running a new discovery (reregistration) on the network, like so:

nbtstat -RR
edited by on August 23rd 2013, at 09:23
Since Windows 2008 and certain versions of 2003, automounting of iSCSI volumes is enabled by default. While this is fine for most setups, it is sometimes required that the volumes on your iSCSI targets are not automatically mounted when the server starts up (e.g. on a VMware backup server where you don't want to mount VMFS volumes).

There are several ways to disable automount.

Open an elevated command prompt and run either:

mountvol /N

or

diskpart automount disable

This will turn off automount so volumes will not be mounted automatically on a next reboot.

You can verify (and set) the automount status through the registry. Look at the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe  ...
edited by on June 6th 2013, at 11:00

When a backup is still indicated to run but isn't really (e.g. after a server crash or media failure), you can try to stop the backup by running the stop command using wbadmin (from an elevated command prompt):

wbadmin stop job

However, this sometimes does not work and the command hangs indefinitely. In this case, you can still stop the backup by stopping the Block Level Backup Engine Service service. If the service does not stop, use Task Manager to kill the process wbengine.exe, which does the same thing.

edited by on April 29th 2013, at 14:19
When migrating from McAfee to another antivirus, you need to uninstall McAfee Enterprise. When you have not installed it using GPO, it may become quite the task if you have a lot of clients to uninstall the product from. If you have a Windows Domain (optionally using GPO), you can do the uninstall via a logon script.

The installation can be performed by manually uninstalling the product using msiexec. This initiates a proper uninstallation procedure, and will result in a silent uninstall of McAfee Enterprise. Depending on the version you're using, adjust the GUID you see here:

VirusScan Enterprise 8.8:
msiexec /x {CE15D1B6-19B6-4D4D-8F43-CF5D2C3356FF} REMOVE=ALL REBOOT=R /q



VirusScan En  ...
edited by on April 29th 2013, at 09:52
Perhaps a silly post, but since the removal of the start menu in Windows 8, there are no more direct ways to shut down your computer. Right now, you have to go through the Charms menu → Settings → Power, and then choose to shut down or restart your computer, making it more of a hassle to turn it off (even worse than pressing Start to stop your computer).
I've gathered several methods and workaround to make the shutdown/restart options a bit more accessible. These are listed in this article. A lot of things I got from other posts on the internet, others I figured out myself.

Like I said earlier, the current way to exit Windows.

From your desktop, call up the Charms menu; that's th  ...
edited by on April 26th 2013, at 09:44
By default, the Start Screen only shows pinned applications. In order to see all applications, there's no direct way to do so. You can start typing something in the Start Screen, then clearing the search box, will provide you with access to the entire start menu, but it's not very convenient. An easier method would be to just have direct access to the "all apps" menu by using a shortcut (or tile if you will).

To do so, create a shortcut (or tile) pointing to:

%windir%\explorer.exe shell:::{2559a1f8-21d7-11d4-bdaf-00c04f60b9f0}

Place it anywhere you want. When hitting it, it will automatically bring you to the All apps menu. Pinning it to your task bar "sort" of simulat  ...
edited by on April 24th 2013, at 10:18
When attempting to open (not save) an attachment in Outlook, you may get an error similar to:

Message
Can't create file.

This is because Outlook's Temp folder is full. Outlook uses a temporary folder for storing attachments prior to opening them, similar to Internet Explorer does. Unfortunately, this folder can become quite large, causing these kind of error messages. Additionally, there's a 100-file limit on attachments which have the same name: e.g. when opening 100 times an attachment with the same name, opening the 101th attachment will fail with the above error.

The only solution is to clean the folder. There are some manual ways to do it, but I found a tool on the internet that does  ...
edited by on April 19th 2013, at 13:19

The (rather verbose) logs for the Windows SBS 2008 and 2011 POP3 Connector are located in the folder:

C:\Program Files\Windows Small Business Server\Logs\pop3connector
edited by on April 19th 2013, at 10:23
To make your custom cmdlets (functions) available in your PowerShell sessions, there are a few methods.

To do a one-time import of functions in your current session, store the functions in a PS1-file and save it somewhere. Then, in your session run the following:

. "path-to-file"

Notice the dot and a space behind it. This method, called "dotting" does a one-time import in the current session. This is useful for when you have functions that you don't use often, and don't want them to be available at all times.

An alternative method is to save the functions as a PSM1-file (extension .psm1) to create a module file, then use Import-Module to import your functions.

Import  ...
edited by on April 18th 2013, at 11:39

If your to-do bar shows up empty, or only displays a Loading... message, try to start Outlook with the parameter via Start → Run:

outlook.exe /resettodobar
edited by on April 10th 2013, at 15:51
A very quick install guide to installing the 2X Application Server.

Install RDS roles and set up RDS licensing on your server (i.e. you need a working RDS/TS set up on your server).

Download and install the 2X Application Server.

Publish your applications.

Starting from 2008, configure the firewall so connections to port 80/tcp are accepted.

The same pointers to installing the 2X Cloud Portal. I assume 2X Application Server is already installed.

Install the following roles:IIS and dependencies

Application Development → ASP, ASP.NET 3.5 ASP.NET 4.5

IIS Management Scripts & Tools



Download and install the 2x Cloud Portal. Select the right

Disable caching in IIS: in IIS Man  ...
edited by on April 5th 2013, at 16:14

To change a user's (login's) password via Transact-SQL, use this:

ALTER LOGIN User WITH 
     PASSWORD = 'new-password' 
     OLD_PASSWORD = 'old-password';
GO
edited by on April 5th 2013, at 09:08
Microsoft still does not enable NTP time sync by default on their servers. You can very easily manually enable it using the Windows Time Service, which supports time synchronisation from an NTP time server.

Open up an elevated command prompt on your server to begin.

To specify one or more NTP time servers:

w32tm /config /syncfromflags:MANUAL /manualpeerlist:0.europe.pool.ntp.org

Time sync does not automatically start, so you have to restart Windows Time Service:

net stop w32timenet start w32time

To query the status of the time sync:

w32tm /query /peers

You should get some output like this:

#Peers: 1Peer: 0.europe.pool.ntp.orgState: ActiveTime Remaining: 57.2511002sMode: 1 (Symmetric  ...
edited by on April 4th 2013, at 16:15
The Cisco VPN client v5.0 does not work out-of-the-box on Windows 7 and 8. Starting the VPN will result in an error:

Error
Reason 442: Failed to enable Virtual Adapter

This is because of a malfunctioning installer, creating an invalid connection to the Cisco VPN Adapter. To resolve, follow the steps below.

Open regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CVirtA.

Look for the DisplayName value and change it to remove all leading characters up to and including %;:For x86, the value change from something like @oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter to Cisco Systems VPN Adapter

For x64, the value would change from something like @oem8.inf,%CVirtA_D  ...
edited by on April 3rd 2013, at 10:15
Currently, vCenter Server 5.1 is not supported on Windows Server 2012. Trying to install usually results in several errors, but they can be resolved with some workarounds and things to consider. This post is a gathering of (some of) those things.

First of, be sure to install .NET 3.5 using the Server Manager. It can be found as a feature. The installation delivered in the vCenter installation cannot be installed.

It's best to install the required components (SSO and Inventory Service) separately to ensure the installation of the different components goes smoothly. You will have to type in and remember the SSO passwords though.

Upon installation of the vCenter Server, it will insta  ...
edited by on April 2nd 2013, at 13:01
The Windows Recovery console allows you to boot into a CLI which you can use to resolve issues when Windows no longer boots. Normally, you would start the console from the installation CD/DVD, but you can also install it so the installation media is no longer required. Instead, you get an additional option in the boot menu where you can select it.

To install it, insert the installation media, open up a command prompt and run these:

x:cd \i386winnt32.exe /cmdcons

This will install the recovery console. If you get an error about a too new version, you may have to slipstream the latest service pack into your installation media. You can also run the installer from a local path (i.e. copy t  ...
edited by on March 29th 2013, at 12:08
By default, Azure blocks all access to your SQL Azure database, unless you specifically add firewall rules for your IP. In some cases you may need access from any IP in the world (e.g. when you want to use Remote Desktop Manager through Azure and require access from any IP). In this case, you have to adjust the firewall so access from all IP's are allowed. Here's how.

Warning
Allowing public access to your SQL database effectively opens up access from anywhere, increasing the risk of unauthorized access. Do not use this with in a production environment, or with sensitive data. Change the login and password to your database to something very complex.
In case of Remote Desktop Manager, enable  ...
edited by on March 27th 2013, at 16:31
Occassionally, Windows 7 has a tendency to automatically create an excessive amount of various tunnel adapters, ranging from isatap, 6to4 and Teredo. The result is a slowdown during startup because of all the interfaces, and ifconfig's output gets cluttered.

You can manually remove the interfaces through Device Manager. Start it up (run devmgmt.msc), then turn on hidden devices:



Under Network adapters, you'll find the whole list of adapters, starting with Microsoft 6to4 Adapter or Microsoft ISATAP Adapter, followed by a number. You can manually delete ("uninstall") all but the unnumbered adapters.

There are also ways to automatically uninstall these adapters, which is recommen  ...
edited by on March 25th 2013, at 12:54

When attempting to send and receive e-mail in Outlook 2010, you may get the error:

Error
Outlook data file cannot be accessed (0x8004010F)

This occurs when the Outlook profile is somehow corrupted.

You can attempt to resolve the issue by re-setting the delivery location in your Accounts, but sometimes this does not work, and the delivery location remains unset. In this case, you have to create a new Outlook profile, recreate your e-mail accounts in it, set the delivery location and reopen any other Outlook data files.

edited by on March 22nd 2013, at 14:36
If you've lost the password to the Trend Micro OfficeScan web console, you can attempt to reset it to something known by editing a certain file using notepad.

Find the file C:\Program Files\Trend Micro\Officescan\PCCSRV\Private\ofcserver.ini. Open it with notepad and look for the parameter master_pwd. Change its value so the parameter reads:

master_pwd="!CRYPT!523F7DC2E525044E2800FCDEA7E5D78B70C0A4165387060525E3EE66D5D2D2F460EA361E712B5F871FD473C7A6C"

Using this hash changes the root password to trendmicro. Restart the OfficeScan Master service (via Services) to apply the new password.

With newer versions (10.0), you may also have to edit the file C:\Program Files\Trend Micro\O  ...
showing posts tagged with 'windows'