How to enable or disable services?


This guide shows you how to enable and disable services in Linux. This is the command line method of enabling and disabling services. Some Linux distributions like Fedora, Ubuntu and so on do provide a GUI front-end as well.

In any Linux distribution, some services are enabled to start at boot up by default.

On my machine, I have PCMCIA, Cron, Postfix Mail Transport Agent ... just to name a few, which start during boot up.

You should run only those services that are absolutely necessary. Disable the rest, as they can be potential security risks and also waste hardware resources.

For example, my machine does not have any PCMCIA cards so I can safely disable it. Same is the case with Postfix which is also not used.

So how do you disable these services so that they are not started at boot time?

The answer to that depends on the type of Linux distribution you are using.

True, many Linux distributions including Ubuntu...

0 0

You can enable or disable a user account in Active Directory Domain Services (AD DS) by setting the appropriate constants in the userAccountControlattribute of the user account.

You can set these constants in the MapAttributesForExport method of the management agent rules extension. When the management agent is executed, the server calls the MapAttributesForExport method as part of the synchronization process.

UserAccountControl Constants

You can use the following constants with the userAccountControl attribute.

const long ADS_UF_SCRIPT = 0x0001; // The logon script will be executed. const long ADS_UF_ACCOUNTDISABLE = 0x0002; // Disable user account. const long ADS_UF_HOMEDIR_REQUIRED = 0x0008; // Requires a root directory. const long ADS_UF_LOCKOUT = 0x0010; // Account is locked out. const long ADS_UF_PASSWD_NOTREQD = 0x0020; // No password is required. const long ADS_UF_PASSWD_CANT_CHANGE = 0x0040; //...
0 0

How to Start or Disable Services in Windows 7


If you want to cut down the overhead of what is running in the background and speed Windows 7 up some, then only disable the services you do not use. If you disable a service that you need or use, then it could actually lower your computer's performance. The Services apply to all users on the computer.


Windows 7 Services Advice Guide:

The Windows 7 and Windows 7 SP1 Service Configurations by Black Viper site below will show you all of the default services and explain each service with different levels of recommendations for disabling the service or not. You will just need to know what you will or will not use on your computer.


It is highly recommended that you

create a restore point

before making changes to the services. This way if you make a mistake that cripples your computer, you can do a

0 0

If you’re trying to use your Google Account and see a message saying your browser's cookie functionality is turned off, it’s likely your browser's cookies are disabled. You’ll need to turn cookies on to use your Google Account.

How to turn on cookies Google Chrome Select the Chrome menu icon . Select Settings. Near the bottom of the page, select Show advanced settings. In the "Privacy" section, select Content settings. Select Allow local data to be set (recommended). Select Done.

Learn more about managing your cookies settings in Google Chrome, like how to block third-party cookies.

Other browsers

Please see your browser's help resources.

How to turn off cookies Google Chrome Select the Chrome menu icon . Select Settings. Near the bottom of the page, select Show advanced settings. In the "Privacy" section, select Content settings. Select Block sites from setting any data. Select Done. Other browsers

Please see your browser's help resources.


0 0

It’s not just your phone that can know where you are. Did you know that many laptops and desktops have location sensing built into the hardware? There is also software to allow location sensing. Windows 7 and 8 support location sensing but it is disabled by default. These days many applications like to use your location. In this tip, I’ll show how to turn location sensing on or off, depending on your preference. I will also show how to find out in Windows 7 if any application has been using this service to send out information about your location.

Enable or disable location sensing in Windows 7

Open the Start menu In the Search box, enter “sensor” (without quotes) In the Control Panel list, select "Enable location and other sensors" A list of installed sensors will be given. Enable or disable them as preferred by using the checkbox next to a sensor. An example is shown in the figure below. Click “Apply”

When a program or service requests...

0 0

Assume i have 3 services, A, B and C, the booting priority is A>B>C which means A is the first service to run while C is the last, in /etc/rc.d/rc3.d directory, it may looks like:

# ll /etc/rc.d/rc3.d/ lrwxrwxrwx. 1 root root 14 Mar 5 2013 S00service_A -> ../init.d/A lrwxrwxrwx. 1 root root 19 Feb 26 2013 S05service_B -> ../init.d/B lrwxrwxrwx. 1 root root 18 Feb 26 2013 S10service_C -> ../init.d/C

In service A, it will grep /proc/cmdline to find some special boot flag, if the flag is on A should disable service B and enable service C, if this flag is off then A should disable service C and enable service B. I tried call chkconfig B/C on/off in service A, but it doesn't work, anyone know the best way to do this...

0 0

How often you have witnessed blocked Pen drive or USB drive access in your work place or college or school? I believe many times; in fact every time you try to use the USB drive, you are not allowed, simply because the administrator has disabled USB drive detection on your Windows system. Again, how often has your data been stolen because someone connected an unauthorized USB to your computer and copied your files? Well, you don’t need to worry because the solution to disable or enable USB Ports is pretty simple.

Restrict access to USB drives

There are 5 ways an administrator can prevent using of USB Drives

They are:

Altering registry values for USB Mass Storage Devices. Disabling USB Ports from Device Manager. By Un-installing the USB Mass Storage Drivers Using third-party freeware Using Microsoft Fix It.

Lets us look at how we can fix these problems and enable USB on Windows 7 PC.

1. Enable or Disable USB Drives and Mass Storage Devices...

0 0

Ping is used to check if a remote machine is online or offline. It is a small network packet sent to the machine. If the machine is up, an answer will be sent. This can be used to scan an IP-range for reachable hosts for potential hackers. For security reason, you might needed to disable this ping service.

1. Go to



Administrative Tools


Windows Firewall with Advanced Security


Inbound Rules


File and Printer Sharing (Echo Request – ICMPv4-IN)


2. Right-click on the rule File and Printer Sharing (Echo Request – ICMPv4-IN) and select

Enable Rule


3. Now, right-click on the same rule and click



4. In General tab, under the section Action, select the option

Block the connection

and click Apply button.

Thats all, you can try a ping command from other remote machine and you could see the response as "

Request timed out


To enable ping service, you...

0 0

There are tons of apps which use Location Services on iPad 2. Now, if you want to enable or disable some of the apps to access location base information then do some settings by following the steps below on your iPad 2.

Enable or Disable Location Services for Apps on iPad 2

On Home screen of your iPad 2 tap “Settings”

In left side bar tap on “Location Services”,

Then in right panel just toggle the ON/OFF slider followed by each app to enable/disable Location Services for that app

Note: You can also enable/disable Location Services at once for all apps just moving the Location Services slider to ON/OFF state.

Note: To save battery on your iPad 2 it is recommended to disable Location Services for apps if its not in...

0 0

This post will show you how to enable or disable a service to start on boot, on a RHEL or CentOS 7.

Check if the service starts on boot

You manage your services on RHEL/CentOS 7 through systemctl, the systemd service manager.

To check if a service starts on boot, run the systemctl status command on your service and check for the "Loaded" line.

$ systemctl status httpd httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled) ...

The last word, either enabled or disabled, will tell you if the service starts on boot. In the case above, the Apache2 webserver "httpd", it's Enabled.

Disabling a service on boot in CentOS 7

To disable, it's simply a matter of running systemctl disable on the desired service.

$ systemctl disable httpd rm '/etc/systemd/system/' $ systemctl status httpd httpd.service - The Apache HTTP Server Loaded: loaded...
0 0

‘Windows Search’ helps to find files, programs and emails easily on the computer. To use this, we just need to click on start button and start typing the search words in the search box. This feature is enabled by Windows Search service, which indexes the files on the computer for a faster search experience.

If you are not going to use Windows search feature, then you can disable the service permanently. Open administrator command prompt and run the below command.

C:\WINDOWS\system32>sc config WSearch start= disabled [SC] ChangeServiceConfig SUCCESS C:\WINDOWS\system32>

To enable windows search, we can run the below command.

C:\WINDOWS\system32>sc config WSearch start= auto [SC] ChangeServiceConfig SUCCESS C:\WINDOWS\system32>

Disable windows search for specific items

Windows search can index files, emails in Outlook and items and also browsing history from Internet explorer. Search for these items can be configured separately.

Click on start...
0 0

How to Start, Stop, & Disable Services in Windows 8 and 8.1

A service is an application type that runs in the system background without a user interface and is similar to a UNIX daemon process. Services provide core operating system features, such as Web serving, event logging, file serving, printing, cryptography, and error reporting.

This tutorial will show you how to start, stop, and disable services in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1.

You must be signed in as an administrator to be able to do the steps in this tutorial.


If you stop, start, or restart a service, any dependent services are also affected. Starting a service does not automatically restart its dependent services. Changing the default service settings may prevent key services from running correctly. It is especially important to use caution when changing the Startup type setting of services that are configured to start automatically. Some...
0 0

Currently there are actually three different ways for software to be started as a service in Ubuntu, SysV, Upstart and systemd. A service is defined here as a program run by the system in the background, as opposed to one started and run directly by the user.


The traditional way to start services in Linux was to place a script in /etc/init.d, and then use the update-rc.d command (or in RedHat based distros, chkconfig) to enable or disable it.

This command uses some mildly complicated logic to create symlinks in /etc/rc#.d, that control the order of starting services. If you run ls /etc/rc2.d you can see the order that services will be killed with a file name like K##xxxx and started with file names S##xxxx. The ## in S##xxxx means a "start order" for service xxxx. Conversely, the ## in K##xxxx means the kill order for service xxxx.

One major issue with SysV was that when booting the system, everything had to be done in serial, one thing after...

0 0
0 0
19 Nov 2015 by Eric Siron 0 Hyper-V Tutorials

By now, you’ve likely heard variations of the term “enlightened” used in conjunction with virtual machines. This term, and its relatives, mean that the virtual machine in question has at least some capability to directly interact with the hypervisor. The benefits of such enlightenments are an enhanced experience, often related to performance.

Ordinarily, these improvements are presented via drivers in the guest. The Hyper-V Integration Services take this concept a step further to provide a number of additional features. Whereas basic enlightments are standard driver packs, the Integration Services require a little something more. These are delivered in the form of services for Windows guests and daemons for Linux guests.

As with basic enlightenments, the Integration Services interact with the hypervisor and management operating system through drivers:

In a physical system, the purpose of a driver is to move...

0 0

Enable/Disable Web Services on your printer

You need to enable web services on your printer to use web-connected features like ePrint, Print Apps, and Scheduled Print. If you skipped enabling web services during your initial setup of your device, or if you are having issues using web services, use the steps below to enable or remove and then re-enable web services. In some cases removing and re-enabling web services on your printer can resolve web services connectivity issues for your printer.

When you enable Web Services the Web Services info sheet with your printer’s claiming code should print within a few minutes. If the Web Services info sheet does not print, try removing and re-enabling Web Services. If it continues to not print, see the Web Services connectivity troubleshooting here.

Any time you remove web services your printer is removed from your HP ePrintCenter account (if you had added it there), and ePrint and Print App settings are cleared,...

0 0


Gengis here, I just bought this beautiful machine here in Montreal. It does great job printing copying and the rest... but hte eprint function seems to be unreachable.

I am working on this since over 8 hours and this is driving me mad - I spoke to Mamadu from HP Cust. Service - he couldn't find the core of my problem.

Here are my specs:

1) Cable Modem SurfBoard SB5101 - serviced through

2) Linksys WRT54GP2

3) The Printer LaserJet Pro CM1415fnw color MFP

4) 2 lap tops and my Iphone

I keep on getting the same thing as Jolig

I've tried

but no success

I've downloaded and installed the latest firmware

But still no success

normaly I have success online but not today !

Could someone please help me there

Should I do something on my router or my modem ?...

0 0

In the Report Manager interface, you can't directly enable or disable a parameter with another parameter (or any code within the report.)

But you can work around this by making the options in the second parameter dynamic, based on the first parameter.

For example, in a calorie report, your first parameter might have a hard coded list of options:

First Parameter: Dessert Choice:

Sundae Cake Ice Cream Cone

A data set would use that parameter:

IF @DessertChoice = 'Sundae' Begin Select 'Hot Fudge' As Subtype Union all Select 'Caramel' END ELSE IF @DessertChoice = 'Cake' BEGIN Select 'Chocolate' As Subtype Union all Select 'Angel Food' END ELSE Select 'No Options' as Subtype

Use this intermediate data set as the available parameters for the second parameter.

You can also use a data set to set the default value for the second parameter, so the user does not need to select a parameter if there is only one option.


0 0

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

Exchange Web Services virtual directories help you manage calendar sharing and other functionality that's useful for your end users and server applications. An Exchange Web Services virtual directory is created by default on each Exchange computer that's running the Client Access server role. SSL is enabled by default on Exchange Web Services virtual directories. For more information about Exchange Web Services virtual directories, see Understanding Exchange Web Services Virtual Directories.

Looking for other management tasks related to Exchange Web Services virtual directories? Check out the Exchange Web Services virtual directory cmdlets referenced in the Client Access Cmdlets topic.

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange Web Services permissions" entry in the Client...

0 0

If you want to enable or disable administrative shares, do the very simple step by step below :
This step by step will take the following effect :

enable C$, D$, E$ or disable C$, D$, E$ (root of each partition) enable ADMIN$ or disable ADMIN$ (%WINDIR%) enable IPC$ or disable IPC$ enable PRINT$ or disable PRINT$ enable NETLOGON to use the administrative shares

Requirements : User with administrator rights

Step by step :

Start > Run > type “regedit” (without the quotes) > press Enter Browse to HKLM > System > CurrentControlSet > Services > lanmanserver > parameters

To enable administrative shares :

Change the value of AutoShareServer to 1 Change the value of AutoShareWks to 1

To disable administrative shares :

Change the value of AutoShareServer to 0 Change the value of AutoShareWks to 0

If you didn’t find the AutoShareServer and AutoShareWks, you need to create one by doing the following :

Right click on empty space on the...
0 0