Jason_S
asked on
Importing Registry through a Batch file.
How can I import a registry file(.REG) within a batch file?
I have a registry entry that I need to enter onto all systems in our LAN, and need to have this run in the login script.
I have a registry entry that I need to enter onto all systems in our LAN, and need to have this run in the login script.
Jason,
P. Jansen again. In a batch file you can import the .reg file by using regedit.exe.
The command would be:
regedit /s xxxx.reg
The /s option makes the command silent, the user won't even know it's imported!
Good luck,
Peter
P. Jansen again. In a batch file you can import the .reg file by using regedit.exe.
The command would be:
regedit /s xxxx.reg
The /s option makes the command silent, the user won't even know it's imported!
Good luck,
Peter
very true, too-- he will still need to add that file then to his login script for the workstations to use. Either way silent or not, the user cannot control it from happening.
stevemiller
stevemiller
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Jason,
I hate to admit, but I really don't know... (snif)
If you want to do some manipulating of registry entries you should consider using Kixtart. It's a great login script processor to make mappings, read/write ini files, use Windows variables like Loginname, Computername, read or write registry keys, etc.
It's freeware (from Microsoft) and you van find it at http://netnet.net/~swilson/kix
Good luck
Peter Jansen
(P.Jansen@Triple-n.nl)
I hate to admit, but I really don't know... (snif)
If you want to do some manipulating of registry entries you should consider using Kixtart. It's a great login script processor to make mappings, read/write ini files, use Windows variables like Loginname, Computername, read or write registry keys, etc.
It's freeware (from Microsoft) and you van find it at http://netnet.net/~swilson/kix
Good luck
Peter Jansen
(P.Jansen@Triple-n.nl)
simply specify in the login scripts that each workstation run the REG file from the path you specify in the script.
When a workstation logs in, the REG file will run from a network path you specify.
stevemiller