Jump to content











Photo
- - - - -

Installing automated remote access in Macrium or Win10 PE

remote access pe

  • Please log in to reply
7 replies to this topic

#1 getnikkoo

getnikkoo
  • Members
  • 8 posts
  •  
    India

Posted 12 December 2017 - 04:03 PM

Hi

 

I have learned and created many PE from reboot.pro

 

Now i want to access my created PE (win10PE if possible) from a remote location when its booted, i can manage networking stuff VPN,DDNS and all.

 

I just can't figure how to create a fully automated remote acess to live os, like it can be accessed once it booted.

My requirements are like a live remote ghost server or RIS/WDS at a remote site(location).

 

can any one please help, thanks in advance.



#2 getnikkoo

getnikkoo
  • Members
  • 8 posts
  •  
    India

Posted 18 December 2017 - 11:26 PM

Can any one please help me, in setting up unattended remote access in Win PE, I tried it my self but can't figure it out, I want to access WinPE via remote(team viewer, RDP,VNC ammyy admin), once its booted on system at remote location, without any user interaction, can any one please help?



#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 19 December 2017 - 10:31 AM

Old versions of Team Viewer worked just fine:

https://www.andysblo...-remote-support

(German you may want to use Google translate or similar)

 

Newer versions have an issue with Admin (vs. System) account:

https://community.te...WinPE/td-p/2143

 

That can be solved using a trick or two:

goo.gl/Lb6Trg

 

UltaVNC has an option that allows to disabloe MS logon, so it should work just fine if you set it correctly:

https://www.symantec...ontrol-ultravnc

 

And there are seemingly working plugins for both UltraVNC and RealVNC for Win10PE:

goo.gl/jKT7hX

 

So WHAT is the problem? :unsure: (besides your lack of Google-Fu :w00t: :ph34r:)

 

:duff:

Wonko


  • getnikkoo likes this

#4 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 21 December 2017 - 12:45 PM

I am using tightvnc (32bits and 64bits) for years and did not have issues so far.

All it is really is two files : tvnserver.exe and screenhooks32.dll and a command line start tvnserver -run .

 

I merge the below reg file on each winpe startup so that VNC is all set (not asking for password, listening on all nic's, etc).

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\TightVNC]

[HKEY_CURRENT_USER\Software\TightVNC\Server]
"ExtraPorts"=""
"QueryTimeout"=dword:0000001e
"QueryAcceptOnTimeout"=dword:00000000
"LocalInputPriorityTimeout"=dword:00000003
"LocalInputPriority"=dword:00000000
"BlockRemoteInput"=dword:00000000
"BlockLocalInput"=dword:00000000
"IpAccessControl"=""
"RfbPort"=dword:0000170c
"HttpPort"=dword:000016a8
"DisconnectAction"=dword:00000000
"AcceptRfbConnections"=dword:00000001
"UseVncAuthentication"=dword:00000000
"UseControlAuthentication"=dword:00000000
"RepeatControlAuthentication"=dword:00000000
"LoopbackOnly"=dword:00000000
"AcceptHttpConnections"=dword:00000001
"LogLevel"=dword:00000000
"EnableFileTransfers"=dword:00000001
"RemoveWallpaper"=dword:00000001
"UseMirrorDriver"=dword:00000001
"EnableUrlParams"=dword:00000001
"AlwaysShared"=dword:00000000
"NeverShared"=dword:00000000
"DisconnectClients"=dword:00000001
"PollingInterval"=dword:000003e8
"AllowLoopback"=dword:00000000
"VideoRecognitionInterval"=dword:00000bb8
"GrabTransparentWindows"=dword:00000001
"SaveLogToAllUsersPath"=dword:00000000
"RunControlInterface"=dword:00000001
"VideoClasses"=""

  • getnikkoo likes this

#5 getnikkoo

getnikkoo
  • Members
  • 8 posts
  •  
    India

Posted 21 December 2017 - 04:44 PM

@Wonko the Sane

 

Sry for late reply but, i won't be running PE on my machine so team viewer, i don't know how to access without password but i am still looking on links you gave me, i googled a lot and the answer i got was RAT(remote access tools), which is very new for me, i want it to give me remote access after booting without any human interaction. i am going to run PE on a SBC(single board computer) without any screen/display

 

thanks will try your links and reply soon



#6 getnikkoo

getnikkoo
  • Members
  • 8 posts
  •  
    India

Posted 21 December 2017 - 04:50 PM

thanks @erwan.l, i am trying to implement what you just told me, although editing registry in a PE is something i have never done before, i am trying to edit from win builder, before creating a PE, but i would appreciate if you could give me any link to do the same


Edited by getnikkoo, 21 December 2017 - 04:55 PM.


#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 21 December 2017 - 06:22 PM

Well that is a different question, that more or less revolves around:

How do I automatically run a script or command when booting a PE?

 

Which, more or less is answered by getting familiar with WinPeshl.ini, startnet.cmd, possibly autorun.cmd, and wpeinit/unattend.xml.

 

They are all more or less (in slightly different ways with slightly different timing/sequence) methods that allow to automatically run *something* when you boot your PE.

 

Choosing which one to use depends on a number of factors, including the exact way you build (or want to build) the PE.

 

Usually WinPEshl.ini entries under [LaunchApps] is good enough.

 

Here you can find a couple useful related threads:

http://www.msfn.org/...ni-not-running/

http://reboot.pro/to...eshlini-syntax/

 

You want (if you are going to follow erwan.l suggestion) to add first a reg.exe (or regedit) command to merge the .reg file and then the command to start tvnserver.

 

:duff:

Wonko


  • getnikkoo likes this

#8 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 21 December 2017 - 06:40 PM

thanks @erwan.l, i am trying to implement what you just told me, although editing registry in a PE is something i have never done before, i am trying to edit from win builder, before creating a PE, but i would appreciate if you could give me any link to do the same

 

my winpeshl.ini

[LaunchApps]
%SYSTEMDRIVE%\Windows\system32\startnet.cmd
%SYSTEMDRIVE%\extra\extra.bat
;tinyshell
%SYSTEMDRIVE%\windows\tinyshell.exe

my extra.cmd

@echo off
call %systemdrive%\extra\stop_firewall.bat
reg import %systemdrive%\extra\tightvnc\vnc_nopassword.reg
cd %systemdrive%\extra\tightvnc
call run.bat

my stop_firewall.bat

wpeutil disablefirewall

and my run.bat (to actually launch tightvnc)

start tvnserver -run

Now, how do you convert this into a winpebuilder script .... I dont have any idea / skills there :


  • getnikkoo likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users