+ Post New Thread
Results 1 to 3 of 3
Windows Server 2008 R2 Thread, Importing a reg file in Technical; I have a older app that I publish with Citrix. When the student logged into server 2003 a login script ...
  1. #1

    Join Date
    Apr 2009
    Location
    ALBANY
    Posts
    40
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Importing a reg file

    I have a older app that I publish with Citrix. When the student logged into server 2003 a login script runs and sets a bunch of paths and other variables. 1 is no longer working
    reg add "HKEY_CURRENT_USER\Environment /v sas.user /t REG_EXPAND_SZ /d %username% /f

    It never gets loaded into the registry on the new server 2008R2 boxes. IF I login and then run the line from a command prompt it creates the reg entry.
    I was told to create a .reg file and try that for Vista and up but I am having trouble with that as well. I keep getting the reg entry created but instead of the username I just get asian characters. Here i the reg file I created

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Environment]
    "sas.user"=hex(2):25,75,73,65,72,6e,61,6d,65,2 5

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,807
    Thank Post
    517
    Thanked 2,469 Times in 1,913 Posts
    Blog Entries
    24
    Rep Power
    835
    Have you tried using Group Policy Preferences to do this?

  3. #3

    Join Date
    Apr 2009
    Location
    ALBANY
    Posts
    40
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yeah I have tried in GPP as well. I have not checked if it is being created but am being told it is not working

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 20th May 2010, 12:03 PM
  2. Replies: 1
    Last Post: 8th February 2009, 03:43 PM
  3. Import a text file into a live web page
    By mrlegs in forum Web Development
    Replies: 9
    Last Post: 29th January 2008, 02:56 PM
  4. deploy a reg file
    By alonebfg in forum Windows
    Replies: 12
    Last Post: 7th November 2006, 09:19 AM
  5. Loading .reg files in a startup script
    By Ric_ in forum Windows
    Replies: 7
    Last Post: 27th September 2005, 04:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •