Questions tagged [windows-registry]

The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components as well as the applications running on the platform.

397 questions
2
votes
2 answers

Running "regedit "filename" to import .reg file from powershell

I'm trying to import a registry file by running regedit. The problem is that the powershell script has to run from a 32 bit executable, but I want to run the 64 bit regedit. Any ideas on how I can force the use of the 64 bit regedit?
Kyle
  • 193
  • 1
  • 5
  • 14
2
votes
1 answer

Windows ADSI , WMI and Registry. How Do They All Relate With Each Other?

I have a work task which involves setting up Windows XP machines. I'm not a Windows user normally which is why I ask this question. The tasks involved in setting up one of these machines involve setting network addresses, users and specific 'Group…
D-Dᴙum
  • 153
  • 1
  • 1
  • 9
2
votes
1 answer

Can I use group policy to set the permissions on registry keys?

I know that I can use group policy preferences to set registry key values on a Windows 7 computer. But is it possible to apply registry key permissions using group policy? Note: I've seen this post about writing scripts using SubInAcl but was trying…
2
votes
1 answer

HKEY_USERS entry for service account

I've created a service account for a scheduled task on our 2008R2 server. The task runs a PowerShell script, which will, among other things, download an archive from a Linux server every time it is run using PuTTY's PSCP. However, it does not work,…
carlpett
  • 896
  • 8
  • 17
  • 28
2
votes
1 answer

domain user disabling screensaver

I have the following situation: Due to security reasons the screensaver is activated after 10 minutes, and immediately locks the screen. There are GPOs preventing the user from changing the screensaver parameters and the background image. In order…
2
votes
1 answer

Win7 - registry hack domain profile to local profile location

With Windows XP, if I wanted to add a user logging in locally on their computer to a domain and keep their local profile, I could change the profile location in the registry for the domain profile to point at the local profile. I did this by…
2
votes
2 answers

Registry keys unavailable to application being run from a service

We are writting a custom windows service application. The service is set to allow interaction with the desktop, and the service application will need to execute another "normal" application. The service is setup to start and run with a normal…
Richard West
  • 2,968
  • 12
  • 42
  • 49
2
votes
2 answers

How to set permissions on registry keys from the command line?

There used to be the tool Regini.exe from the Windows 2000 Resource Kit to do this, but it is no longer supported by Microsoft. Reg.exe can't do it either. Any ideas?
2
votes
2 answers

How can I script an HKCU setting for a handful of users on a specific server who don't have profiles?

Here's what I would do manually: Log onto a server with Account1 to create its Windows profile. Start Internet Explorer. Click Tools > Internet Options > Advanced > Uncheck "Check for publisher's certificate revocation" and click OK. This updates…
Jim
  • 1,555
  • 7
  • 25
  • 30
2
votes
3 answers

HKEY_CLASSES_ROOT does not contain contents of HKEY_CURRENT_USER

I have an MSI installer which registers an ActiveX component. The registration info is written to the HKEY_CURRENT_USER hive, and all works fine and dandy. For one user, however, IE is behaving as though the component is not registered. I've looked…
RB.
  • 382
  • 2
  • 8
  • 19
2
votes
3 answers

Where in the registry can I find the OS Name for Windows 2003?

I need to be able to read the registry and find the Edition of Windows 2003. I can find the edition of Windows 2008 and Windows 2008 R2 by looking into: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\@ProductName and I see something…
QuietLeni
  • 31
  • 1
  • 5
2
votes
3 answers

How do you add a batch of registry entries to group policy?

For example I want to add Google Search as the default search service to IE. The seven registry entries are below. Do I really have to enter each one individually under User Configuration > Preferences > Windows Settings > Registry? Is there an…
GollyJer
  • 665
  • 3
  • 11
  • 22
2
votes
1 answer

Active Directory Claims based Authentication error in SharePoint

I am trying to log into a new SharePoint application, which has it's authentication method set to Claims based authentication (CBA). The user I am logging in with is Site collection admin. When trying to log in I get the access denied page. When…
2
votes
3 answers

How to edit registry hives without live running

I have a windows Vista system that had the underlying disk partitions changed. The number and logical location of the partitions didn't change as far as I can tell). When it boots up it says I need to restart immediately and then when I've…
PaoloFCantoni
  • 123
  • 2
  • 6
2
votes
3 answers

Change group policy settings for accounts?

I am wondering if there is a way to change the group policy settings for accounts without using the GUI tools (GPMC or the GPO editor MMC snap in). In other words can I can change these settings via a registry change or by using a tool like…
Robert MacLean
  • 2,186
  • 5
  • 28
  • 44