Vous êtes sur la page 1sur 43

Type gpedit.

msc in Windows Start Menu Search Bar, hit Enter, to open the Group Policy Editor
> User Configuration. Expand Administrative Templates > Click Control Panel > Show only
specified Control Panel Applets > Properties. A dialog box will open. Click on Enable.Nov 1,
2013

Show only specified control panel applets


User Configuration\Administrative Templates\Control Panel

Description

Hides all Control Panel items and folders except those specified in this policy.

This policy removes all Control Panel items (such as Network) and folders (such as Fonts) from
the Control Panel window and the Start menu. It removes Control Panel items you have added
to your system, as well the Control Panel items included in Windows 2000. The only items
displayed in Control Panel are those you specify in this policy.

To display a Control Panel item, type the file name of the item, such as Ncpa.cpl (for Network).
To display a folder, type the folder name, such as Fonts. If you do not specify any items or
folders, the Control Panel window is empty.

Note

This policy affects the Start menu and Control Panel window only. It does not prevent users
from running any Control Panel items.

If both the Hide specified control panel applets policy and the Show only specified control
panel applets policy are enabled, the Show only specified control panel applets policy is
ignored.

Tip

To find the file name of a Control Panel item, search for files with the .cpl file name extension in
the Systemroot \System32 directory.

by Walter Glenn on October 26th, 2016


The Windows Control Panel offers up a number of settings that you might not want some users
messing around with. Here’s how to hide specific Control Panel apps in Windows 7, 8, and 10.

RELATED ARTICLE
How to Disable the Control Panel and Settings Interface in Windows

Why bother doing this? You might share a computer and not want some users having access to
some settings. Or you might have a computer in your business that is available to guests and
customers that you want to lock down a bit. Of course, you could also go all in and disable the
Control Panel and Settings interface completely. But if you don’t want to go that far, hiding
items from the Control Panel is an easy way to protect specific settings from being changed. If
you have a Pro or Enterprise edition of Windows, you can use the Local Group Policy Editor to
make the change. Users of any edition of Windows can also make a quick edit to the Registry.

Home Users: Hide Control Panel Items By Editing the Registry

If you have Windows 7, 8, or 10 Home, you will have to edit the Windows Registry to make
these changes. You can also do it this way if you have Windows Pro or Enterprise, but just feel
more comfortable working in the Registry. (If you have Pro or Enterprise, though, we
recommend using the easier Local Group Policy Editor, as described in the next section.)

Standard warning: Registry Editor is a powerful tool and misusing it can render your system
unstable or even inoperable. This is a pretty simple hack and as long as you stick to the
instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before,
consider reading about how to use the Registry Editor before you get started. And definitely back
up the Registry (and your computer!) before making changes.

RELATED ARTICLES
Learning to Use the Registry Editor Like a Pro

How to Backup and Restore the Windows Registry

Before you get started editing the Registry, you’ll need to log on as the user you want to make
changes for, and then edit the Registry while logged in to their account. If you have multiple
users for whom you want to changes for, you’ll have to repeat the process for each user.

After logging on, open the Registry Editor by hitting Start and typing “regedit.” Press Enter to
open Registry Editor and give it permission to make changes to your PC.
In the Registry Editor, use the left sidebar to navigate to the following key:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
Next, you’ll need to make sure that a subkey named Explorer exists inside the Policies key. If
you already see the Explorer key, you’re good to go on to the next step. If you don’t see it, you’ll
need to create one by right-clicking the Policies key and choosing New > Key. Name the new
key “Explorer.”

From this point, you can go one of two ways. You can either hide specific items from the Control
Panel by creating a disallow list, or hide all items except the ones you specify by creating
a restricted list. Technically, you could create both a disallow and a restricted list, but that gets
complicated fast. The disallow list would always take precedence and the two lists would always
be competing. So, we recommend choosing just one. Which method you choose is up to you, and
should really just be based on how many items you want to hide from the Control Panel.

Next, you’re going to create a new value inside the Explorer key. Right-click the Explorer key
and choose New > DWORD (32-bit) Value. If you’re hiding specific items by creating a
disallow list, name the new key DisallowCPL . If you’re hiding all items except the ones you
specific by creating a restrict list, name the new value RestrictCPL instead.

Double-click the new value you created to open its properties window. Change the value from 0
to 1 in the “Value data” box and then click “OK.” This turns the setting on.

Now that you’ve created the setting and enabled it, your next step is to create a list of items.
Right-click the Explorer key again and this time choose New > Key. If you’re disallowing
items, name the new key DisallowCPL and if you’re restricting items, name the new key
RestrictCPL instead.
Inside whichever key you created, you’re going to build your list of items by creating a new
string value for each one. In this example, we’re going to disallow the Sync Center Control Panel
app by adding a string value for it to our new DisallowCPL key. If you’re restricting items,
you’d add it to the RestrictCPL key you created instead. Right-click the DisallowCPL key and
choose New > String Value. Name the new string value with the full name of the Control Panel
item.

Double-click the new value to open its properties dialog and type the same full Control Panel
item name in the “Value data” box that you used to name the value. (You’ll need to switch your
Control Panel over to one of the icon views instead of the default Category view in the upper
right-hand corner of the Control Panel window so that you can see the full name of each item.)

That’s all you have to do to disallow or restrict a Control Panel item. You can test your changes
by opening up the Control Panel window–no need to restart Windows or anything. If you’re
creating a disallow list, you should see that the item for which you created the value is now gone
from the Control Panel window. If you’re creating a restrict list, the item for which you created
the value will be the only thing you see in the Control Panel window until you add more items to
the list. In our example below, the Sync Center item is now hidden.

If at any time you want to remove an item from the list, all you have to do is go back into
Registry Editor and delete the value you created for that item. If you’d like to turn off the setting,
just change the DisallowCPL or RestrictCPL value you created from 1 back to 0. This disables
the feature, but leaves the list you created intact in case you want to turn the feature back on
again.

Pro and Enterprise Users: Hide Control Panel Items with Local Group Policy Editor

If you’re using Windows Pro or Enterprise, the easiest way to hide Control Panel items is by
using the Local Group Policy Editor. It also gives you a bit more power over which users have
this restriction. If you’re restricting access to items for only some user accounts on a PC, you’ll
need to do a little extra setup by first creating a policy object for those users. You can read all
about that in our guide to applying local Group Policy tweaks to specific users.

You should also be aware that group policy is a pretty powerful tool, so it’s worth taking some
time to learn what it can do. Also, if you’re on a company network, do everyone a favor and
check with your admin first. If your work computer is part of a domain, it’s also likely that it’s
part of a domain group policy that will supersede the local group policy, anyway.

RELATED ARTICLES

How to Apply Local Group Policy Tweaks to Specific Users


Using Group Policy Editor to Tweak Your PC

Start by finding the MSC file you created for controlling policies for those particular users.
Double-click to open it and allow it to make changes to your PC. In this example, we’re using
one we created for applying policy to all non-administrative user accounts.

In the Group Policy window for those users, on the left-hand side, drill down to User
Configuration > Administrative Templates > Control Panel. Again, you can approach this two
ways from here. If you want to hide specific items from the Control Panel, look for the “Hide
specified Control Panel items” setting and double-click it to open its properties dialog. If you
want to hide all items except for the ones you specify, double-click the “Show only specified
Control Panel items” setting instead. In our example, we’re going to be hiding specific items, but
the process is identical for both methods.

In the setting’s properties window, click the “Enabled” option and then click the “Show” button.
In the “Show Contents” window, click each line in the list and type the name of the Control
Panel item you want hide or allow, depending on which setting you’re using. (You’ll need to
switch your Control Panel over to one of the icon views instead of the default Category view in
the upper right-hand corner of the Control Panel window so that you can see the full name of
each item.) When you’re done building your list, click “OK.”
You can now exit the Local Group Policy window. To test your changes, sign in as one of the
affected user accounts and see what’s available in the Control Panel window. If you want to
disable your changes, just head back into the Local Group Policy editor by double-clicking your
MSC file again. This time, change the “Hide specified Control Panel items” or “Show only
specified Control Panel items” options to “Disabled” or “Not Configured.” This will turn the
setting off entirely. Just be aware that turning off the setting will also reset your list of apps, so if
you want to turn it on again, you’ll need to retype that list.

 Active networks not showing

Hi!

Good day to all! I just want to ask for your help in solving this problem I encountered on my laptop. As
shown in the attachments, I am connected to a wireless network but the connection is not showing on
the Network and Sharing Center active networks. Also, I am unable to change my Network Location
from Public to Private as there is no link on the Homegroup page. I upgraded from Win 8.1 to Win 10
and already updated wifi drivers. Please help and TYIA!
My Computer
Quote
 
Legacy7070

Junior Member

Posts : 2

Windows 10

08 Jan 2016 #2

I am having the exact same issue. It's keeping windows update from starting as well

My Computer
Quote

Railtech

Member

Posts : 169

Win 10 Rel 1607

09 Jan 2016 #3

You should remove the existing connection and create a new connection which will allow you to specify
the connection type.

To remove the existing connection click the start button and choose Settings, then choose Network and
Internet, then choose Manage WiFi settings. At the bottom of the resulting window you will see all
Manage known networks. Select the connection you are having trouble with by click on that connection
and choose forget which will remove that connection from the list.

You cna now setup the connection again in the Network and Sharing Center with the desired settings.

How do I renew the IP address of my


computer (Windows XP, Vista, 7, 8,10,
Mac)?
This Article Applies to:
If you have configured your computer to Obtain an IP address automatically, sometimes such as after
you change the IP address of your network gateway like router, you need renew the IP address of your
computer to access the router.

Choose your computer’s operating system.

For Windows XP

Step 1

Click Start->Run, type cmd and press Enter.


Step 2

Type ipconfig /release at the prompt window, press Enter, it will release the current IP configuration.

Step 3

Type ipconfig /renew at the prompt window, press Enter, wait for a while, the DHCP server will assign a
new IP address for your computer.
For Windows Vista& Windows 7

Step 1

Click Start on the task bar, type cmd into the search box and press Enter.

Step 2

Type ipconfig /release at the prompt window, press Enter, it will release the current IP configuration.
Step 3

Type ipconfig /renew at the prompt window, wait for a while, the DHCP server will assign a new IP address
for your computer.

For Windows 8 & Windows 8.1&10

Step 1

Press windows key and X key at the same time. Then click at Command Prompt.
Step 2

Type ipconfig /release at the Command Prompt window, press Enter, it will release the current IP
configuration.
Step 3

Type ipconfig /renew at the Command Prompt window, wait for a while, the DHCP server will assign a new
IP address for your computer.

For MAC OS

Step 1

Click APPLE button and go to System Preferences….


Step 2

Click Network.

Step 3
Click on Wi-Fi or Ethernet (Depends on which one is used) in the left side box, and click Advanced on the
right side corner.

Step 4

In the top options, select TCP/IP. By default setting, Configure IPv4 is Using DHCP, you can see Renew
DHCP Leasebutton. Click it to renew the IP address.
How to Change Your Computer’s IP Address From the
Command Prompt
by Walter Glenn on October 19th, 2016

It’s easy enough to change an IP address on your PC using Control Panel, but did you
know you can also do it from the Command Prompt?
Changing your IP address with the Control Panel interface isn’t difficult, but it does
require clicking through a number of different windows and dialog boxes. If you’re a fan
of the Command Prompt, though, you can get it done more quickly using
the netshcommand, which is just one of the great network utilities built into Windows.

The netsh command allows you to configure just about any aspect of your network
connections in Windows. To work with it, you’ll need to open Command Prompt with
administrative privileges. In Windows 10 or 8.1, right-click the Start menu (or
press Windows+X on your keyboard) and choose “Command Prompt (Admin).” In
previous versions of Windows, search Start for “command prompt” and then right-click
the result and choose “Run as Administrator.”

RELATED ARTICLES

How to Find Your Private and Public IP Addresses

8 Common Network Utilities Explained

View Your Network Information

Before you change your IP address and related information, you’ll need to find the full
name of the network for the interface you want to change. To do this, type the following
command:

netsh interface ipv4 show config


RELATED ARTICLE

How to Enable CTRL+C / Ctrl+V for Pasting in the Windows Command Prompt

Scroll down until you see the interface you’re looking for. In our example, we’re going to
modify the Wi-Fi interface, which on our machine is just named “Wi-Fi.” You’ll also see
other default names that Windows assigns to interfaces, such as “Local Area
Connection,” “Local Area Connection* 2,” and “Ethernet.” Just find the one you’re
looking for and make note of the exact name. You can also copy and paste the name to
Notepad and then back into Command Prompt later to make things easier.

Change Your IP Address, Subnet Mask, and Default Gateway

With the interface name in hand, you’re ready to change the IP Address, subnet mask,
and gateway. To do this, you’ll issue a command using the following syntax:
netsh interface ipv4 set address name="YOUR INTERFACE NAME" static IP_ADDRESS
SUBNET_MASK GATEWAY

So, for example, your command might look something like the following:

netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8


255.255.255.0 192.168.3.1

where the info is replaced by whatever you want to use. In our example, the command
does the following:

 Uses the interface name “Wi-Fi”

 Sets the IP address to 192.168.3.1

 Sets the subnet mask to 255.255.255.0

 Sets the default gateway to 192.168.3.1

And if you’re using a static IP address but want to switch to using an IP address
assigned automatically by a DHCP server–such as your router–you can use the
following command instead:

netsh interface ipv4 set address name=”YOUR INTERFACE NAME” source=dhcp

Change Your DNS Settings


RELATED ARTICLE

The Ultimate Guide to Changing Your DNS Server

You can also use the netsh command to change the DNS servers used by a network
interface. Third-party DNS servers–like Google Public DNS andOpenDNS–can be faster
and more reliable than the DNS servers provided by your ISP. Whatever your reason for
changing your DNS server, you can do it either at the router so it affects all the devices
that get their information from the router or at the individual device. If you want to
change the DNS servers for just one PC, it’s easy to do with the netsh command.

You’ll need to use the command twice: once to set your primary DNS server and once
to set your secondary, or backup, DNS server. To set your primary DNS server, use the
following syntax:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER

So, for example, your command might look something like the following (in which we set
it to Google’s primary public DNS server, 8.8.8.8):

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.8.8

To set your secondary DNS server, you’ll use a very similar command:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER
index=2

So, continuing our example, you might set your secondary DNS as the Google Public
DNS secondary server, which is 8.8.4.4:

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.4.4 index=2

And just like with the IP address, you can also change it so that the network interface
grabs its DNS settings automatically from a DHCP server instead. Just use the following
command:

netsh interface ipv4 set dnsservers name"YOUR INTERFACE NAME" source=dhcp


And there you have it. Whether you like typing at the command prompt better or just
want to impress your coworkers, now you know all the command line magic you need
for changing your IP address settings.

How to change IP address from command


prompt [Solved/Closed]
Ask a question nareen123 - Last answered on Nov 28, 2012 at 12:53 AM by netguy2000

Hello,

Is there any way to change IP address of computer from Command prompt?

I use WinXP as OS and I would like to know if I can change IP from Command prompt

Please help me out.

 Ipconfig set ip
 Dos command to set ip address
 How to hack ip config
 Windows - Change IP via the command prompt
 Change ip address using command prompt
 Command Prompt to Find IP Address
 How to change MAC address from command prompt?
 Send message through command prompt with ip
HELPFUL
+161

2xod.com Jul 20, 2008 at 05:51 PM

Of course you can change the IP from the command prompt.

The command is:


to change IP and default gateway:
netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0
192.168.0.254 1

to change DNS:
netsh int ip set dns "local area connection" static 192.168.0.254 primary
This is assuming 3 things.
1) The network adapter you're trying to change the IP for is "local area connection". It
could also be "local area connection 2" or "wireless network connection". Look in your
control panel for the correct name
2) The IP you want to set is 192.168.0.101, change this to whatever IP to want to use.
3) The default gateway and dns are the same IP. If you are using some kind of router
they usually are. Change this to match your network config found with the command
ipconfig /all

You will need to run both commands to change the IP.

Step 1: Introduction:
Hello! Hackers
In this tutorial I will tell you how to hack windows 7 administrator
password. However you already know (I think)
Specifically, it is used in school, computer labs or other workplaces,
where, administrator is locked with a password, while you can only use standard
user or guest.
Step 2: Start That PC:
 Turn on the UPS and the CPU, tap F8 continuously on the boot screen to
get some windows start-up options .
 Choose "Start windows normally" option and turn the UPS off immediately.
 Then turn on the PC again, let it load.
 After that you will be prompted with two options in the boot screen (again),
select the first option - "Launch Start-up Repair(recommended)"
 Let it load and Scan for issues.
 After 5 min, It will ask you to "restore defaults", select "Cancel" option.
 Let it continue...
Step 3: Wait for About 15-20 Minutes:
Now this is where the tricky part comes:

 After 20 min, an error report screen will pop-up, asking to send information
or not.
 Ignore it, click on "View Problem Details" arrow, scroll down to the end of
the report, then click a link stating X:\windows\ something...something (the
link starts with an"X")
 Another Window will pop-up, and will look like a notepad (it is a notepad)
 Click File on the Menu-Bar, then select Open, and another window will pop-
up (that's just too many windows!)
 Navigate to C: drive (or whatever drive on which windows is installed), click
Windows, then System32, after that click on the arrow beside the "File
Type" option and select "all files"
 Then search for a file named "sethc"(this is the shortcut to stickey keys),
rename it to something else (Eg:abc)
 Search for cmd, make its copy and rename the copy as "sethc"
--------------------------------------ITS DONE!!!---------------------------------------------
(Almost)

 Close everything, restart the PC, go to the log-in screen, press shift 5
times, until a cmd (command prompt) pops-up.
 Type in "net user administrator /active:yes", and this will activate the
default administrator account of the PC.
 Change/delete/manage/reset passwords from there.
 Or you can directly change passwords from cmd, type "net user
(admin/any admin account's name) and then after a space put an
asterix.
---------------------------------------HACKED------------------------------------------------

Step 4: The End:


I know that many of you may know this vulnerability in Windows 7, I just wanted
that a tutorial like this should be in Null Byte.

Unfortunately, this vulnerability been overcame in Windows 8 :(


Thank You,
F.E.A.R.

Many people familiar with prior versions of Windows are curious what happened to the
built-in Administrator account that was always created by default. Does this account still
exist, and how can you access it?

The account is created in Windows 10, 8, 7, or Vista, but since it’s not enabled you can’t
use it. If you are troubleshooting something that needs to run as administrator, you can
enable it with a simple command.

Warning: The built-in Administrator account has a lot more privileges than a regular
administrator account—privileges that can easily get you into trouble if you use it
regularly. We recommend only enabling the built-in Administrator account if you are
certain you need it to troubleshoot a specific problem and then disabling it when you are
done. If you’re unsure whether you need it, you probably shouldn’t use it at all.

Enable Built-in Administrator Account in Windows

First you’ll need to open a command prompt in administrator mode by right-clicking and
choosing “Run as administrator” (or use the Ctrl+Shift+Enter shortcut from the search
box).

Note that this works the same in all versions of Windows. Just search for cmd and then
right-click on the command prompt icon in the Start menu or Start screen.
If you are in Windows 8.x or 10 you can right-click on the Start button and choose to
open a command prompt that way.

Now type the following command:

net user administrator /active:yes


You should see a message that the command completed successfully. Log out, and
you’ll now see the Administrator account as a choice. (Note that this screenshot is from
Vista, but this works on Windows 7 and Windows 8 and Windows 10)

You’ll note that there’s no password for this account, so if you want to leave it enabled
you should change the password.

Disable Built-in Administrator Account

Make sure you are logged on as your regular user account, and then open an
administrator mode command prompt as above. Type the following command:

net user administrator /active:no

The administrator account will now be disabled, and shouldn’t show up on the login
screen anymore.
Q:How to Get Full Administrator
Rights in Windows 7?
Whenever I attempt to do the following process :

1. Click Start.
2. Click Computer (you can also found this icon on the desktop).
3. Right click on the Hard Disk icon where your OS is installed on and click Properties.
4. Click the Security tab.
5. Click the Advanced tab.
6. Click the Change Permissions button located after the Permission Entries list.
7. A new window will appear on your screen. Such a window contains a list of all the user
accounts available on your computer.
8. Select the user account you want to give total control over your Windows 7 and click
the Edit button.
9. Now, tick the checkbox labeled “Total Control” and press OK.
10. Done!
I get a list of errors saying C:\Pagefile.sys , C:\Program Files (access denied), C:\Program Files
(x86) Access denied, C:\Windows Access denied, C:\ access denied, UNABLE TO SAVE
PERMISSIONS, ACCESS IS DENIED.

I am the only user on this computer so I am not sure why I cannot have full access to my
own system.

Please help so I don't have to try to re-install windows completely because if it comes to
that, im going to scrap windows for all it's problems and go linux.

Stop CMD from always opening with administrator privileges


Ask Question

up No matter how I open it, cmd.exe always opens with admin privileges. How can I open it
vote6do without? Is there some registry setting missing? Even if I open it directly from the run
wn vote favorite
dialog or by double clicking in the system32 folder it still opens with admin privs.

3 Thanks.

windows-7 cmd admin

shareimprove this question asked Dec 19 '11 at 11:17


edwardmlyte
4,420194577

Don't use a user that has admin privileges – a_horse_with_no_name Dec 19 '11 at 11:18

add a comment

6 Answers
activeoldest votes

up Found out I was missing a registry key. In


vote3do HKEY_CLASSES_ROOT\Directory\shell\cmd I was missing the String Value
wn vote "Extended". Added this back in and restarted the machine got rid of the defaulting to
admin privileges.
EDIT: I had UAC turned off for my profile (to stop incessant "are you sure you want to
open this .exe" warnings), and turning that back on has stopped cmd always running with
greater privileges.
shareimprove this answer edited Mar 21 at 10:00 answered Dec 19 '11 at 11:52

edwardmlyte
4,420194577

3 How in the world would registry entries go "missing"? Wait, I guess you already answered that question. You wouldn'
even know this was missing unless you spent time mucking about in the registry, and that explains what happened to it
in the first place... – Cody Gray♦ Dec 19 '11 at 12:00

Pretty much yeah. I wasn't 100% though as its been months since I'd altered that. Sorry. – edwardmlyteDec 19 '11 at
16:35

add a comment
up After some unclear actions (switch UAC on/off ?) I ended up in the same situation as
vote1do described above:
wn vote
 Cmd.exe always starts in Adminstration mode.
 Linking in VS failed with the message: Project : error PRJ0003 : Error spawning
'C:\windows\system32\cmd.exe'.
The Properties | Compatibility tab is greyed out, so switching this off seems impossible
(Compatibility modes cannot be set on this program because it is part of this version of
Windows).

To recover from this situation you have to edit the registry to remove the
RUNASADMIN preferences that is associated with cmd.exe.

The 'RUNASADMIN' preference is stored in these registry keys:

HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags\Layers
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags\Layers

Delete the values named c:\windows\system32\cmd.exe and you are back in business !

Kees

Vous aimerez peut-être aussi