Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How to take into effect to a registry editing by command line script


  • Please log in to reply
6 replies to this topic

#1 abdulbadii

abdulbadii

  • Members
  • 29 posts
  • OFFLINE
  •  
  • Local time:04:24 PM

Posted 15 January 2018 - 08:50 AM

How to take into effect of a registry editing which modifies HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, by command line / script ?
anyone know how to take it into effect by restarting OS, or sign it out and login it back.. thanks in advance.


Edited by abdulbadii, 15 January 2018 - 08:55 AM.


BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,810 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:01:24 AM

Posted 15 January 2018 - 09:35 AM

Are you trying to make hidden files visible?

 

If you are, do the following.

 

Press Windows key + R, type regedit, then click/tap OK.

Navigate to the following location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

    Set the value for “Hidden” to “1” to show hidden files, folders, and drives.

    Set the value to “2” to not show hidden files, folders, and drives.

    Set the value for “ShowSuperHidden” to “1” to show protected operating system files.

    Set the value to “2” to not show protected operating system files.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 Kilroy

Kilroy

  • BC Advisor
  • 3,486 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:03:24 AM

Posted 15 January 2018 - 02:48 PM

What are you looking to accomplish?

 

Here is a page that describes some of the things you can do.  Normally you have a .REG file you want to use to edit the registry.  The .REG file can add and remove keys.



#4 jenae

jenae

  • Members
  • 933 posts
  • OFFLINE
  •  
  • Local time:08:24 PM

Posted 15 January 2018 - 06:11 PM

HI,as Kilroy said what are you looking to accomplish? You need to take care when modifying the registry. Please we can assist you if you give us more information. The HCKU hive controls settings for the logged on user, system wide changes are controlled through HKLM. Both have keys and sub keys relevant to this issue. Usually modifications require you to restart your computer to take effect, (must be restart not shutdown, due to possibility's fast start is enabled).



#5 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,810 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:01:24 AM

Posted 16 January 2018 - 09:41 AM

It is important that you understand that if an error or errors are made when editing the registry can result in your computer being inoperable.  Before editing the registry you should backup it up with a program like Tweaking.com's Registry Backup.  I would also suggest creating a new restore point as well.

 

To backup the registry please download and install Tweaking.com Registry Backup.

Play the video below for operating instructions.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#6 dhagerjohns

dhagerjohns

  • Members
  • 161 posts
  • OFFLINE
  •  

Posted 16 January 2018 - 10:18 AM

Here are all my settings by command line.  You would need to save them a .bat or .cmd and run as administrator.

Spoiler


#7 Kilroy

Kilroy

  • BC Advisor
  • 3,486 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Launderdale, MN
  • Local time:03:24 AM

Posted 16 January 2018 - 11:40 AM

dhagerjohns you could condense that down by putting all of the changes in a .REG file and importing it.


Edited by Kilroy, 16 January 2018 - 11:41 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users